Claude Code — Tool Definitions (JSON Schema)

Tool Schema ✦ Curated & attributed Intermediate

Machine-readable JSON array of Claude Code's 15 tool definitions, each with a descriptive prose blurb and an input_schema. Tools include Task (subagent launcher with general-purpose/statusline-setup/output-style-setup types), Bash (with embedded git-commit and PR-creation playbooks), Glob, Grep, LS, ExitPlanMode, Read, Edit, MultiEdit, Write, NotebookEdit, WebFetch, TodoWrite, WebSearch, BashOutput, and KillBash.

What makes this prompt notable

  • The Bash tool description embeds entire git-commit and gh-pr-create workflows including HEREDOC-formatted commit messages and Co-Authored-By trailers
  • Task tool enumerates three subagent types with explicit allowed-tool lists and 'when NOT to use' guidance
  • Bash description forbids find/grep/cat/ls and redirects to Grep/Glob/Read, escalating to 'ALWAYS USE ripgrep at rg first' if grep is unavoidable
  • Includes MultiEdit with atomic sequential-edit semantics absent from the 2.0 prompt

Discussion (0)

Sign in to join the discussion.
Related

More in Tool & Function Schemas

AU
Augment Code
tool schema

Augment Code — Tool Schemas (Claude Sonnet 4)

JSON tool-definition file for the Augment Agent (Claude Sonnet 4 variant) defining ~22 tools: file editing (str-replace-editor with line-numbered mult…

tool schema definition constraint setting in descriptions enum constraints
229 5.4k 2.3k words
LE
Leap.new
tool schema

Leap.new — Tool Schema Definitions (JSON)

JSON tool/function schema file defining ten code-generation tools for the Leap.new app builder, including create_artifact, define_backend_service, cre…

JSON Schema tool definitions enum constraints nested object schemas
228 6.5k 1.4k words
TR
Traycer AI
tool schema

Traycer AI — Plan Mode Tool Schemas

Tool schemas for Traycer's Plan mode, layering exploration tools (list_dir, file_search, grep_search, read_file, LSP navigation, get_diagnostics) with…

tool-use protocol structured JSON schema multi-agent orchestration
216 5k 1.4k words