Microsoft Azure · Schema
Tool calls
Details of the tool call.
API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1
Properties
| Name | Type | Description |
|---|---|---|
| type | string | Always `tool_calls`. |
| tool_calls | array | An array of tool calls the run step was involved in. These can be associated with one of three types of tools: `code_interpreter`, `retrieval`, or `function`. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/runStepDetailsToolCallsObject",
"title": "Tool calls",
"type": "object",
"description": "Details of the tool call.",
"properties": {
"type": {
"description": "Always `tool_calls`.",
"type": "string",
"enum": [
"tool_calls"
],
"x-ms-enum": {
"name": "RunStepDetailsToolCallsObjectType",
"modelAsString": true,
"values": [
{
"value": "tool_calls"
}
]
}
},
"tool_calls": {
"type": "array",
"description": "An array of tool calls the run step was involved in. These can be associated with one of three types of tools: `code_interpreter`, `retrieval`, or `function`.\n",
"items": {
"type": "object",
"oneOf": [
{
"$ref": "#/components/schemas/runStepDetailsToolCallsCodeObject"
},
{
"$ref": "#/components/schemas/runStepDetailsToolCallsRetrievalObject"
},
{
"$ref": "#/components/schemas/runStepDetailsToolCallsFunctionObject"
}
]
}
}
},
"required": [
"type",
"tool_calls"
]
}