Core System
Tool System
45 tools, 3 execution modes — AI's Swiss Army knife
~7 min read
0+
Built-in tools
0
Categories
0
Implementation LOC
Imagine Claude is a handyman and the tool system is its toolbox.
When you say 'help me fix this bug', Claude opens the toolbox: uses search tools to find relevant code, file read tools to view content, edit tools to modify code, and Bash to run tests. It picks the right tools in the right order.
Even smarter: it can search multiple files simultaneously (parallel), but must modify files one at a time (serial) to avoid messing things up.
Tool Catalog #
Hover to see what each tool does
Shell Execution
3File Operations
6Search & Discovery
3Web Access
2Agent & Coordination
6Task Management
7MCP Protocol
4Configuration & IDE
11Execution Flow #
A tool call's complete journey from parsing to result
Parse tool_use
Input Validation
Permission Check
Execute Tool
PostToolUse Hook
Return Result
Scheduling Strategy #
Read parallel, write serial — click Run to see it in action
Tool Scheduling Simulator
Phase 1 — Read Operations (Parallel)
Phase 2 — Write Operations (Serial)
Core Code #
Simplified tool scheduling implementation
All tools are registered in a single array. Feature flags like feature('X') are evaluated at bundle time — disabled tools are stripped from production. Runtime checks (process.env) gate internal-only tools.
Related Pages
← → arrow keys to navigate