Skip to content
AgenticAIWiki
  1. Learn
  2. Part 7. Tool design and MCP
  3. Chapter 37

Built-in tools

5 lessons · 24 min

Built-in tools working on a repo

Full screen
Claude Codeagent loopGlobfiles by nameGrepsearch contentsReadlines of a fileEditexact replaceWritewhole fileBashrun commandstext> The parseDate test is failing. Fix it.repo/ src/ dates.ts orders.ts tests/ dates.test.ts orders.test.ts package.json

Swipe to change step

Step 1 of 9. A test for parseDate is failing. Claude Code has six built-in tools to work on the repo. Watch which one it uses for each job. Claude Code (agent loop), highlighted. Glob (files by name). Grep (search contents). Read (lines of a file). Edit (exact replace). Write (whole file). Bash (run commands). arrow from Claude Code to Glob. arrow from Claude Code to Grep. arrow from Claude Code to Read. arrow from Claude Code to Edit. arrow from Claude Code to Write. arrow from Claude Code to Bash.

In this chapter

  1. 37.1File tools: Read, Write, Edit5 min read
  2. 37.2Bash, Grep and Glob5 min read
  3. 37.3Server tools: web search and code execution5 min read
  4. 37.4Computer use3 min read
  5. 37.5Sandboxed code execution: containers and hosted sandboxes6 min read

Chapter check

Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.

Loading check…