Reference Docs
Quick lookup tables for tools, SDK options, message types, and other key concepts. Click on any tool name for detailed information.
Built-In Tools Catalog
| Tool | Category | Purpose |
|---|---|---|
| Read | File I/O | Read file contents |
| Write | File I/O | Create new files |
| Edit | File I/O | Modify files precisely |
| Bash | Execution | Run shell commands, git, scripts |
| Monitor | Execution | Watch background process output |
| Glob | Search | Find files by pattern (e.g., src/**/*.py) |
| Grep | Search | Search file contents with regex |
| WebSearch | Web | Search the internet |
| WebFetch | Web | Fetch and parse web pages |
| AskUserQuestion | Input | Prompt user with multiple choice |
| Agent | Orchestration | Spawn subagents |
| Skill | Orchestration | Call custom skills |
ClaudeAgentOptions Fields
| Option | Type | Default | Purpose |
|---|---|---|---|
| allowed_tools | list[str] | None | Pre-approve tools (no permission prompt) |
| disallowed_tools | list[str] | None | Block specific tools |
| max_turns | int | ∞ | Max iterations before stopping |
| max_budget_usd | float | None | Stop if cost exceeds limit |
| effort | str | high | Reasoning depth: low/medium/high/xhigh/max |
| model | str | sonnet | Model to use (opus, sonnet, haiku) |
| permission_mode | str | default | How to handle unlisted tools |
| resume | str | None | Resume previous session by ID |
Permission Modes
Ask user for permission on tools not in allowed_tools
Deny permission automatically (no prompt)
Auto-approve file edits (Read/Write/Edit only)
Show plan before executing edits
Auto-approve all tools (use with caution!)
Message Types
initSession started with metadata and session ID
Claude decided to use tools or respond
Tool results being sent back to Claude
success/error_*Final completion with result or error code
10 Excellent Use Cases for Claude Code Agents
Discover powerful ways to apply Claude Code agents to automate your development workflow. Click on any use case for detailed information.
Automated Code Review
Click to see benefits, tools, and examples
Bug Detection & Fixing
Click to see benefits, tools, and examples
Test Automation
Click to see benefits, tools, and examples
Documentation Generation
Click to see benefits, tools, and examples
Performance Optimization
Click to see benefits, tools, and examples
Database Migrations
Click to see benefits, tools, and examples
API Generation
Click to see benefits, tools, and examples
Security Scanning
Click to see benefits, tools, and examples
Log Analysis
Click to see benefits, tools, and examples
Build & Deployment
Click to see benefits, tools, and examples