Skip to content

ToolItem ​

Type: object

FieldRequiredTypeDescription and constraints
tool_callYesToolCall
typeYesstringconst: "tool_call"
default: "tool_call"

JSON Schema ​

json
{
  "properties": {
    "tool_call": {
      "$ref": "#/components/schemas/ToolCall"
    },
    "type": {
      "const": "tool_call",
      "default": "tool_call",
      "title": "Type",
      "type": "string"
    }
  },
  "required": [
    "tool_call",
    "type"
  ],
  "title": "ToolItem",
  "type": "object"
}

All schemas · HTTP API