Claude · Schema

Tool

Definition of a tool that the model can use.

Artificial IntelligenceChatbotConversational AIGenerative AILarge Language ModelsMachine LearningNatural Language Processing

Properties

Name Type Description
name string The name of the tool. Must match the regex ^[a-zA-Z0-9_-]{1,64}$.
description string A detailed description of what the tool does, when it should be used, and what each parameter means.
input_schema object JSON Schema object defining the expected parameters for the tool.
type string The type of tool. Omit for custom tools. Use specific type strings for server tools like web_search_20260209, code_execution_20260120, text_editor_20250728, etc.
View JSON Schema on GitHub