liveBook · Manning

Tool use

As explained in Claude at Work

Tool use is an AI technique in which a model invokes external capabilities such as web search or script execution.

Tool use lets Claude search the web or run scripts to help answer a prompt or produce requested work. In Claude Code, a single turn can combine repository searches, file edits, builds, and tests; the model runs in the cloud while tools run on your machine. section 1.1 section 5.1

Treat access as consequential. Claude Code can access files and tools you permit, but it has no physical sandbox to prevent unwanted behavior. Review permission requests and check the resulting work. section 5.1

Investigate an error

Give Claude Code an error message and ask it to investigate. It can search the repository for where the message is produced, trace the call stack and relevant data, then edit files and run the build or tests. section 5.1

Figure 5.1 Claude Code runs inside your repository with no sandbox. The permissions model asks your consent to access files and run tools, but there is no physical backstop to prevent unwanted behavior.
CH05 F01 Stoneman

Use the figure to see how repository access and consent-based permissions coexist with the absence of a physical sandbox. section 5.1

Figure 1.2 How context builds over the turns of a conversation. The input grows cumulatively and there can be huge jumps from tool use when Claude is researching file content or web pages.
CH01 F03 Stoneman

Use the figure to understand how research through tools can add substantially to conversation context. section 1.4.1

How Claude at Work covers it

How deep it goes
Describes iterative tool-assisted responses and multi-call coding turns, but does not detail tool implementations.
Examples
Uses web searches, scripts, repository searches, file edits, builds, and tests as concrete tool actions.
What you can do after
Apply it via Claude Code to investigate an error, edit files, and run builds or tests in one turn.
How it connects
Connects tool use with prompting, agentic coding, code search, scripts, and context windows.

Also explained in

Compare how 18 books explain tool use →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Claude at Work. The section links point to the parts of the book it draws on.