Reference · 23 Built-in Tools

Claude Code Tools

Every built-in tool Claude Code uses to read, edit, search, and manage your codebase. 23 tools across 6 categories — with real examples for each.

File Operations

Tools for reading, writing, searching, and editing files across your entire codebase. These are the most frequently used tools in any Claude Code session.

Execution

Run shell commands directly from Claude Code to build, test, deploy, and manage your development environment.

Web

Fetch live information from the internet — documentation, search results, API references, and more.

Agent & Task Management

Spawn sub-agents for parallel work, create task lists to track progress on complex projects, and manage background operations.

Team Collaboration

Create multi-agent teams where specialized Claude Code agents work together on different parts of a project simultaneously.

Planning & Interaction

Tools for designing implementation plans, gathering input, and invoking specialized workflows before writing code.

Frequently Asked Questions

Common questions about Claude Code's built-in tools.

What tools does Claude Code have?

Claude Code has 23 built-in tools spanning file operations, shell execution, web research, task management, multi-agent collaboration, and planning. Each tool is purpose-built for a specific part of the development workflow — from reading and editing files to spawning parallel sub-agents for complex tasks.

Which Claude Code tools need permission?

Tools that modify files or execute code require your approval: Bash, Edit, Write, NotebookEdit, WebFetch, WebSearch, and Skill. Read-only tools like Read, Grep, Glob, and all Task management tools run without prompting. You can customize permission rules in your project settings.

Can Claude Code search the web?

Yes. Claude Code has two web tools: WebSearch for running searches and getting results from across the internet, and WebFetch for loading and extracting content from specific URLs. Both are useful for checking documentation, finding recent library updates, or researching solutions to problems.

How does Claude Code edit files?

Claude Code uses the Edit tool for targeted changes — it finds an exact string in the file and replaces it with new text, leaving everything else untouched. For creating new files, it uses Write. It always reads a file first to understand the current state before making any changes.

What are Claude Code sub-agents?

Sub-agents are independent Claude Code instances spawned via the Task tool. Each runs in its own context window and can work in parallel. They're useful for parallelizing research, exploring large codebases, or working on independent parts of a project simultaneously without cluttering the main conversation.

How can I monitor what Claude Code tools are doing?

You can use krabb to log every tool call Claude Code makes. It records WebFetch, WebSearch, Bash, Read, Write, and Edit calls to a local SQLite database, and provides a dashboard at localhost:4242 for live monitoring. Install it with pip install krabb && krabb init.

Claude Code also supports MCP (Model Context Protocol) servers for custom tools beyond what's listed here. Want to monitor what these tools are actually doing? Try krabb.