@@ -4425,15 +4425,16 @@ class RunStepBingCustomSearchToolCall(RunStepToolCall, discriminator="bing_custo
4425
4425
:ivar type: The object type, which is always 'bing_custom_search'. Required. Default value is
4426
4426
"bing_custom_search".
4427
4427
:vartype type: str
4428
- :ivar bing_custom_search: Reserved for future use. Required.
4428
+ :ivar bing_custom_search: The dictionary with request and response from Custom Bing Grounding
4429
+ search tool. Required.
4429
4430
:vartype bing_custom_search: dict[str, str]
4430
4431
"""
4431
4432
4432
4433
type : Literal ["bing_custom_search" ] = rest_discriminator (name = "type" , visibility = ["read" , "create" , "update" , "delete" , "query" ]) # type: ignore
4433
4434
"""The object type, which is always 'bing_custom_search'. Required. Default value is
4434
4435
\" bing_custom_search\" ."""
4435
4436
bing_custom_search : Dict [str , str ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
4436
- """Reserved for future use . Required."""
4437
+ """The dictionary with request and response from Custom Bing Grounding search tool . Required."""
4437
4438
4438
4439
@overload
4439
4440
def __init__ (
@@ -4465,15 +4466,16 @@ class RunStepBingGroundingToolCall(RunStepToolCall, discriminator="bing_groundin
4465
4466
:ivar type: The object type, which is always 'bing_grounding'. Required. Default value is
4466
4467
"bing_grounding".
4467
4468
:vartype type: str
4468
- :ivar bing_grounding: Reserved for future use. Required.
4469
+ :ivar bing_grounding: The dictionary with request and response from Bing Grounding search tool.
4470
+ Required.
4469
4471
:vartype bing_grounding: dict[str, str]
4470
4472
"""
4471
4473
4472
4474
type : Literal ["bing_grounding" ] = rest_discriminator (name = "type" , visibility = ["read" , "create" , "update" , "delete" , "query" ]) # type: ignore
4473
4475
"""The object type, which is always 'bing_grounding'. Required. Default value is
4474
4476
\" bing_grounding\" ."""
4475
4477
bing_grounding : Dict [str , str ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
4476
- """Reserved for future use . Required."""
4478
+ """The dictionary with request and response from Bing Grounding search tool . Required."""
4477
4479
4478
4480
@overload
4479
4481
def __init__ (
@@ -4985,10 +4987,11 @@ class RunStepDeltaToolCall(_Model):
4985
4987
call details.
4986
4988
4987
4989
You probably want to use the sub-classes and not this class directly. Known sub-classes are:
4988
- RunStepDeltaAzureAISearchToolCall, RunStepDeltaBingGroundingToolCall,
4989
- RunStepDeltaCodeInterpreterToolCall, RunStepDeltaConnectedAgentToolCall,
4990
- RunStepDeltaDeepResearchToolCall, RunStepDeltaFileSearchToolCall, RunStepDeltaFunctionToolCall,
4991
- RunStepDeltaMcpToolCall, RunStepDeltaOpenAPIToolCall
4990
+ RunStepDeltaAzureAISearchToolCall, RunStepDeltaCustomBingGroundingToolCall,
4991
+ RunStepDeltaBingGroundingToolCall, RunStepDeltaCodeInterpreterToolCall,
4992
+ RunStepDeltaConnectedAgentToolCall, RunStepDeltaDeepResearchToolCall,
4993
+ RunStepDeltaFileSearchToolCall, RunStepDeltaFunctionToolCall, RunStepDeltaMcpToolCall,
4994
+ RunStepDeltaOpenAPIToolCall
4992
4995
4993
4996
:ivar index: The index of the tool call detail in the run step's tool_calls array. Required.
4994
4997
:vartype index: int
@@ -5078,15 +5081,16 @@ class RunStepDeltaBingGroundingToolCall(RunStepDeltaToolCall, discriminator="bin
5078
5081
:ivar type: The object type, which is always "bing_grounding". Required. Default value is
5079
5082
"bing_grounding".
5080
5083
:vartype type: str
5081
- :ivar bing_grounding: Reserved for future use. Required.
5084
+ :ivar bing_grounding: The dictionary with request and response from Bing Grounding search tool.
5085
+ Required.
5082
5086
:vartype bing_grounding: dict[str, str]
5083
5087
"""
5084
5088
5085
5089
type : Literal ["bing_grounding" ] = rest_discriminator (name = "type" , visibility = ["read" , "create" , "update" , "delete" , "query" ]) # type: ignore
5086
5090
"""The object type, which is always \" bing_grounding\" . Required. Default value is
5087
5091
\" bing_grounding\" ."""
5088
5092
bing_grounding : Dict [str , str ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
5089
- """Reserved for future use . Required."""
5093
+ """The dictionary with request and response from Bing Grounding search tool . Required."""
5090
5094
5091
5095
@overload
5092
5096
def __init__ (
@@ -5418,6 +5422,47 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
5418
5422
super ().__init__ (* args , type = "connected_agent" , ** kwargs )
5419
5423
5420
5424
5425
+ class RunStepDeltaCustomBingGroundingToolCall (RunStepDeltaToolCall , discriminator = "bing_custom_search" ):
5426
+ """Represents the Custom Bing Grounding tool call in a streaming run step.
5427
+
5428
+ :ivar index: The index of the tool call detail in the run step's tool_calls array. Required.
5429
+ :vartype index: int
5430
+ :ivar id: The ID of the tool call, used when submitting outputs to the run. Required.
5431
+ :vartype id: str
5432
+ :ivar type: The object type, which is always 'bing_custom_search'. Required. Default value is
5433
+ "bing_custom_search".
5434
+ :vartype type: str
5435
+ :ivar bing_custom_search: The dictionary with request and response from Custom Bing Grounding
5436
+ search tool. Required.
5437
+ :vartype bing_custom_search: dict[str, str]
5438
+ """
5439
+
5440
+ type : Literal ["bing_custom_search" ] = rest_discriminator (name = "type" , visibility = ["read" , "create" , "update" , "delete" , "query" ]) # type: ignore
5441
+ """The object type, which is always 'bing_custom_search'. Required. Default value is
5442
+ \" bing_custom_search\" ."""
5443
+ bing_custom_search : Dict [str , str ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
5444
+ """The dictionary with request and response from Custom Bing Grounding search tool. Required."""
5445
+
5446
+ @overload
5447
+ def __init__ (
5448
+ self ,
5449
+ * ,
5450
+ index : int ,
5451
+ id : str , # pylint: disable=redefined-builtin
5452
+ bing_custom_search : Dict [str , str ],
5453
+ ) -> None : ...
5454
+
5455
+ @overload
5456
+ def __init__ (self , mapping : Mapping [str , Any ]) -> None :
5457
+ """
5458
+ :param mapping: raw JSON to initialize the model.
5459
+ :type mapping: Mapping[str, Any]
5460
+ """
5461
+
5462
+ def __init__ (self , * args : Any , ** kwargs : Any ) -> None :
5463
+ super ().__init__ (* args , type = "bing_custom_search" , ** kwargs )
5464
+
5465
+
5421
5466
class RunStepDeltaDeepResearchToolCall (RunStepDeltaToolCall , discriminator = "deep_research" ):
5422
5467
"""Represents the Deep research in a streaming run step.
5423
5468
0 commit comments