# Claude Code Built-in Tool

> One of the actions Claude Code gives Claude, like Read or Bash.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** Claude Code tools, Claude Code tool names, ToolName(specifier)

## Think of it like

It is like the tools in a toolbox. Each one does one job.

## Definition

A built-in tool is one of the actions Claude Code gives Claude, such as Read, Edit, Bash or WebSearch. Claude picks which tool to use for each step. You only name a tool when you set rules for it. The same form, a tool name with an optional pattern in brackets, works in permission rules, in the --allowedTools flag, in skills and in hooks. Some tools ask before they run, such as Bash and Edit. Others, such as Read and Grep, do not.

## Example

Jack wants Claude to run his tests without asking each time. He adds Bash(npm test) to his allowed tools, and every other command still asks.

## Example code

```bash
claude --allowedTools "Read" "Bash(npm test)"
```

Let two tools run without asking.

## Why it matters

Knowing the tool names is how you decide what Claude may do on its own.

## Common mistake

Thinking you must tell Claude which tool to use. It picks the tool itself. You only name tools to set rules.

## Three principles

- **Actions for Claude.** Read, Edit, Bash and more.
- **Claude picks.** You set the rules.
- **One rule form.** Name(pattern).

## Related terms

- [Tool Use (Function Calling)](https://learn.benibix.com/term/ai/tool-use)
- [Permission Rule](https://learn.benibix.com/term/ai/permission-rule)
- [Claude Code](https://learn.benibix.com/term/ai/claude-code)
- [Agent Harness](https://learn.benibix.com/term/ai/agent-harness)

## Taught in

- [Claude Code File Tools](https://learn.benibix.com/learn/ai-claude-code/claude-code-file-tools): Claude Code, 9/16

![Claude in the middle, with its tool groups around it: files, shell, web, agents, session, schedule, MCP and output.](https://learn.benibix.com/diagrams/ct-built-in-tools.svg)

---

Source: https://learn.benibix.com/term/ai/claude-code-built-in-tool
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
