{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ToolChoice",
"title": "ToolChoice",
"type": "object",
"description": "How the model should use the provided tools.",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"description": "The type of tool choice. \"auto\" lets the model decide, \"any\" forces tool use, \"tool\" forces a specific tool, \"none\" disables tools.",
"enum": [
"auto",
"any",
"tool",
"none"
],
"example": "auto"
},
"name": {
"type": "string",
"description": "The name of the tool to use. Required when type is \"tool\".",
"example": "Example Title"
},
"disable_parallel_tool_use": {
"type": "boolean",
"description": "Whether to disable parallel tool use.",
"example": true
}
}
}