@@ -5112,7 +5112,7 @@ class RunStepDeltaToolCall(_Model):
51125112 RunStepDeltaCodeInterpreterToolCall, RunStepDeltaConnectedAgentToolCall,
51135113 RunStepDeltaDeepResearchToolCall, RunStepDeltaMicrosoftFabricToolCall,
51145114 RunStepDeltaFileSearchToolCall, RunStepDeltaFunctionToolCall, RunStepDeltaMcpToolCall,
5115- RunStepDeltaOpenAPIToolCall
5115+ RunStepDeltaOpenAPIToolCall, RunStepDeltaSharepointToolCall
51165116
51175117 :ivar index: The index of the tool call detail in the run step's tool_calls array. Required.
51185118 :vartype index: int
@@ -6071,6 +6071,46 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
60716071 super ().__init__ (* args , type = "openapi" , ** kwargs )
60726072
60736073
6074+ class RunStepDeltaSharepointToolCall (RunStepDeltaToolCall , discriminator = "sharepoint_grounding" ):
6075+ """Represents the SharePoint tool call in a streaming run step.
6076+
6077+ :ivar index: The index of the tool call detail in the run step's tool_calls array. Required.
6078+ :vartype index: int
6079+ :ivar id: The ID of the tool call, used when submitting outputs to the run. Required.
6080+ :vartype id: str
6081+ :ivar type: The object type, which is always 'sharepoint_grounding'. Required. Default value is
6082+ "sharepoint_grounding".
6083+ :vartype type: str
6084+ :ivar sharepoint_grounding: SharePoint tool input and output. Required.
6085+ :vartype sharepoint_grounding: dict[str, str]
6086+ """
6087+
6088+ type : Literal ["sharepoint_grounding" ] = rest_discriminator (name = "type" , visibility = ["read" , "create" , "update" , "delete" , "query" ]) # type: ignore
6089+ """The object type, which is always 'sharepoint_grounding'. Required. Default value is
6090+ \" sharepoint_grounding\" ."""
6091+ sharepoint_grounding : Dict [str , str ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
6092+ """SharePoint tool input and output. Required."""
6093+
6094+ @overload
6095+ def __init__ (
6096+ self ,
6097+ * ,
6098+ index : int ,
6099+ id : str , # pylint: disable=redefined-builtin
6100+ sharepoint_grounding : Dict [str , str ],
6101+ ) -> None : ...
6102+
6103+ @overload
6104+ def __init__ (self , mapping : Mapping [str , Any ]) -> None :
6105+ """
6106+ :param mapping: raw JSON to initialize the model.
6107+ :type mapping: Mapping[str, Any]
6108+ """
6109+
6110+ def __init__ (self , * args : Any , ** kwargs : Any ) -> None :
6111+ super ().__init__ (* args , type = "sharepoint_grounding" , ** kwargs )
6112+
6113+
60746114class RunStepDeltaToolCallObject (RunStepDeltaDetail , discriminator = "tool_calls" ):
60756115 """Represents an invocation of tool calls as part of a streaming run step.
60766116
@@ -6601,7 +6641,7 @@ class RunStepSharepointToolCall(RunStepToolCall, discriminator="sharepoint_groun
66016641 :ivar type: The object type, which is always 'sharepoint_grounding'. Required. Default value is
66026642 "sharepoint_grounding".
66036643 :vartype type: str
6604- :ivar share_point: Reserved for future use . Required.
6644+ :ivar share_point: SharePoint tool input and output . Required.
66056645 :vartype share_point: dict[str, str]
66066646 """
66076647
@@ -6611,7 +6651,7 @@ class RunStepSharepointToolCall(RunStepToolCall, discriminator="sharepoint_groun
66116651 share_point : Dict [str , str ] = rest_field (
66126652 name = "sharepoint_grounding" , visibility = ["read" , "create" , "update" , "delete" , "query" ]
66136653 )
6614- """Reserved for future use . Required."""
6654+ """SharePoint tool input and output . Required."""
66156655
66166656 @overload
66176657 def __init__ (
0 commit comments