Claude · JSON Structure

Claude Messages Tool Choice Structure

Type: object Properties: 3
Artificial IntelligenceChatbotConversational AIGenerative AILarge Language ModelsMachine LearningNatural Language Processing

ToolChoice is a JSON Structure definition published by Claude, describing 3 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

type name disable_parallel_tool_use

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "ToolChoice",
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "disable_parallel_tool_use": {
      "type": "boolean"
    }
  }
}