Claude Code Built-in Tools
Glob, Grep, Read, Write, Edit and Bash.
Why Built-in Tools Matter
Claude Code ships with a small, powerful set of built-in tools that let the model explore and edit a codebase directly: Glob, Grep, Read, Write, Edit, and Bash.
As an architect, your job is not just to know what each tool does, but to know which tool to reach for at each step of an investigation. Picking the right one keeps context lean and the agent fast.
Glob— find files by name patternGrep— search file contentsRead— load one fileWrite— create a fileEdit— make a precise changeBash— run a shell command
Glob — Find Files by Pattern
Glob locates files by their name or path pattern, not their contents. It is the fastest way to answer "where are the X files?"
Patterns use standard glob syntax: ** matches any depth of directories, * matches within a segment. Reach for Glob before reading anything — it narrows a huge tree down to the handful of files worth opening.
# Find every React test file anywhere in the repo
Glob: **/*.test.tsx
# Find all config files at the project root
Glob: *.config.jsAll lessons in this course
- How Many Tools Per Agent
- tool_choice: auto / any / forced
- Claude Code Built-in Tools
- Incremental Investigation Pattern