{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ToolUseBlock",
  "title": "ToolUseBlock",
  "additionalProperties": false,
  "type": "object",
  "required": [
    "type",
    "id",
    "name",
    "input"
  ],
  "description": "A tool use content block generated by the model.",
  "properties": {
    "type": {
      "const": "tool_use",
      "type": "string",
      "description": "The block type, always `tool_use`."
    },
    "id": {
      "type": "string",
      "description": "A unique identifier for this tool call. Use this as `tool_use_id` in the matching tool result."
    },
    "name": {
      "type": "string",
      "description": "The name of the tool being called."
    },
    "input": {
      "type": "object",
      "additionalProperties": true,
      "description": "The arguments passed to the tool, matching the tool's `input_schema`."
    }
  }
}