03
LAYER 03 / 06

Tools

Tools are how Claude Code interacts with your codebase. Reading files, editing code, running commands, searching patterns, fetching web content — each is a specialized tool with its own execution pipeline, permission checks, and result handling.

AT A GLANCE
40+
Agent Tools
[ DETAILS ]
Zod
Input Validation
[ DETAILS ]
512K+
Lines of Code
[ DETAILS ]

Built-in Tools

Execution Pipeline

📨Tool Request
🪝PreToolUse Hook
🔐Permission Check
📦Sandbox Execute
🪝PostToolUse Hook
Return Result