@@ -5112,7 +5112,7 @@ class RunStepDeltaToolCall(_Model):
5112
5112
RunStepDeltaCodeInterpreterToolCall, RunStepDeltaConnectedAgentToolCall,
5113
5113
RunStepDeltaDeepResearchToolCall, RunStepDeltaMicrosoftFabricToolCall,
5114
5114
RunStepDeltaFileSearchToolCall, RunStepDeltaFunctionToolCall, RunStepDeltaMcpToolCall,
5115
- RunStepDeltaOpenAPIToolCall
5115
+ RunStepDeltaOpenAPIToolCall, RunStepDeltaSharepointToolCall
5116
5116
5117
5117
:ivar index: The index of the tool call detail in the run step's tool_calls array. Required.
5118
5118
:vartype index: int
@@ -6071,6 +6071,46 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
6071
6071
super ().__init__ (* args , type = "openapi" , ** kwargs )
6072
6072
6073
6073
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
+
6074
6114
class RunStepDeltaToolCallObject (RunStepDeltaDetail , discriminator = "tool_calls" ):
6075
6115
"""Represents an invocation of tool calls as part of a streaming run step.
6076
6116
@@ -6601,7 +6641,7 @@ class RunStepSharepointToolCall(RunStepToolCall, discriminator="sharepoint_groun
6601
6641
:ivar type: The object type, which is always 'sharepoint_grounding'. Required. Default value is
6602
6642
"sharepoint_grounding".
6603
6643
:vartype type: str
6604
- :ivar share_point: Reserved for future use . Required.
6644
+ :ivar share_point: SharePoint tool input and output . Required.
6605
6645
:vartype share_point: dict[str, str]
6606
6646
"""
6607
6647
@@ -6611,7 +6651,7 @@ class RunStepSharepointToolCall(RunStepToolCall, discriminator="sharepoint_groun
6611
6651
share_point : Dict [str , str ] = rest_field (
6612
6652
name = "sharepoint_grounding" , visibility = ["read" , "create" , "update" , "delete" , "query" ]
6613
6653
)
6614
- """Reserved for future use . Required."""
6654
+ """SharePoint tool input and output . Required."""
6615
6655
6616
6656
@overload
6617
6657
def __init__ (
0 commit comments