Tools reference - Claude Code Docs
Documentation Index Fetch the complete documentation index at: /docs/llms.txt Use this file to discover all available pages before exploring further. Skip to main content Assistant Responses are generated using AI and may contain mistakes. Claude Code has access to a set of built-in tools that help it understand and modify your codebase. The tool names are the exact strings you use in permission rules , subagent tool lists , and hook matchers .
To control which tools Claude can use and when it asks first, configure permission rules in your settings, hooks , or a subagent’s tool list . See Configure tools with permission rules and hooks for each place that accepts a tool name. To add custom tools, connect an MCP server . To extend Claude with reusable prompt-based workflows, write a skill , which runs through the existing Skill tool rather than adding a new tool entry.
In auto mode , a classifier decides most permission prompts instead of you. The Permission required column shows whether the tool prompts in Manual mode for paths inside the working directory. File-access tools marked No, including Read , Grep , and Glob , still prompt for paths outside the working directory and additional directories , apart from files Claude Code itself needs. Bash is marked Yes but runs a built-in set of read-only commands without prompting.
Tool Description Permission required Agent Spawns a subagent with its own context window to handle a task. With agent teams enabled, a call that carries a name can launch a teammate instead. See Agent tool behavior No Artifact Publishes an HTML or Markdown file to claude.ai as an artifact : a private, interactive page. You can share it with a public link, or inside your organization on Team and Enterprise plans, where public sharing requires an Owner to enable it .
Requires a Pro, Max, Ultra, Team, or Enterprise plan and /login authentication; see Availability Yes AskUserQuestion Asks multiple-choice questions to gather requirements or clarify ambiguity. Questions stay open until you answer them by default. See AskUserQuestion tool behavior No Bash Executes shell commands in your environment. See Bash tool behavior Yes CronCreate Schedules a recurring or one-shot prompt within the current session.
See session-scoped scheduled tasks No CronDelete Cancels a session-scoped scheduled task by ID No CronList Lists all session-scoped scheduled tasks No Edit Makes targeted edits to specific files. See Edit tool behavior Yes EndConversation Ends the session, in rare cases of sustained abusive input or when you ask Claude to end the session and then confirm. See EndConversation tool behavior No EnterPlanMode Switches to plan mode to design an approach before coding No EnterWorktree Creates an isolated git worktree and switches into it, or switches into an existing worktree.
See EnterWorktree tool behavior Some worktrees ExitPlanMode Presents a plan for approval and exits plan mode Yes ExitWorktree Exits a worktree session and returns to the original directory. Not available to subagents that already run in their own working directory, such as with isolation: worktree . Removed or refused once permissions.blockWritesOutsideWorkingDirectories is on No Glob Finds files based on pattern matching.
Absent by default on macOS, Linux, and WSL. See Glob tool behavior No Grep Searches for patterns in file contents. Absent by default on macOS, Linux, and WSL. See Grep tool behavior No ListAgents Lists the agents Claude can message with SendMessage : subagents in the session, agent team teammates, your other local Claude Code sessions, and, while this session is connected to Remote Control , your cloud sessions and your Remote Control sessions on other machines.
Backs the /list-agents command. See cross-session messaging . Requires Claude Code v2.1.224 or later, and appears only in sessions where cross-session messaging is enabled . Teammate rows and the first line showing this session’s own name require v2.1.239 or later No ListMcpResourcesTool Lists resources exposed by connected MCP servers , leaving out MCP Apps UI resources , which are pages for a host application to render No ListPlugins Lists the plugins enabled for your claude.ai account .
Requires a cloud session or the desktop app . Not available on third-party providers No ListSkills Lists the skills enabled for your claude.ai account . Available in the same sessions as ListPlugins No LSP Code intelligence via language servers: jump to definitions, find references, report type errors and warnings. See LSP tool behavior No Monitor Runs a command in the background and feeds each output line back to Claude, so it can react to log entries, file changes, or polled status mid-conversation.
Can also open a WebSocket and treat each incoming message as an event. See Monitor tool Yes NotebookEdit Modifies Jupyter notebook cells. See NotebookEdit tool behavior Yes PowerShell Executes PowerShell commands natively. See PowerShell tool for availability Yes propose_skills Shows a card of proposed skills for you to review and save to your claude.ai account. Available in some cloud sessions, such as cloud Cowork sessions No PushNotification Sends a desktop notification from a local session, and a phone push with Remote Control or in a cloud session .
Push delivery runs through Anthropic-hosted infrastructure, which is not accessible from Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry No Read Reads the contents of files. See Read tool behavior No ReadMcpResourceTool Reads a specific MCP resource by URI No RemoteTrigger Creates, updates, runs, and lists cloud scheduled tasks , formerly routines, on claude.ai. Backs the /schedule command.
The RemoteTrigger input reference documents every action and the organization policies that remove the tool. Cloud scheduled tasks live on claude.ai and require a Pro, Max, Ultra, Team, or Enterprise plan. This tool is therefore not accessible from Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry No ReportFindings Reports code-review findings as a structured list, with a file, summary, and failure scenario per finding, so Claude Code can render them instead of printing them as text.
Claude calls it when active code-review instructions tell it to. A finding can also carry an optional category slug, such as correctness or test-coverage , shown next to the file location in the rendered list No ScheduleWakeup Reschedules the next iteration of a self-paced /loop . Claude calls this at the end of each iteration to pick when the next one runs, between one minute and one hour out; you don’t call it directly.
To end the loop instead, Claude calls it with stop: true , which cancels the pending wakeup. The pending wakeup appears in session_crons in Stop hook input No SearchPlugins Searches your claude.ai plugin catalog. Available in the same sessions as ListPlugins No SearchSkills Searches claude.ai skills. Available in the same sessions as ListPlugins No SendFeedback Drafts a feedback report about Claude Code, covering a product problem or Claude’s own behavior in the session, and queues it on your machine for you to review.
Claude Code sends nothing until you choose to send the draft. See SendFeedback tool behavior . Requires Claude Code v2.1.238 or later No SendMessage Sends a message to another agent: an agent team teammate, a subagent it resumes by agent ID or name, or one of your other Claude Code sessions, on this machine or beyond it. Messaging other sessions requires Claude Code v2.1.224 or later. Cross-session messaging covers which sessions Claude can reach, what a message looks like when it arrives , and how Claude gets a notice when another session goes idle .
Claude can include an optional summary input, typically 5-10 words, that Claude Code shows as a one-line preview. When Claude omits it on a plain-text message , Claude Code uses the first line of the message as the su
The rest of this page is on the live site.