🧩tools Option
Also known as Agent SDK available tools, tools preset, Claude Agent SDK tools
The option that sets which built-in tools are there at all.
Think of it like
It is like choosing which tools go in the toolbox at all.
Example
Mia's agent should only use her own database tools. She passes tools: [], so no built-in tool is there to tempt it.
Why it matters
A tool Claude cannot see is one it cannot misuse. It also costs no space in the context.
Definition
Example code
typescript
tools: ["Read", "Grep", "Glob"]Common mistake
Key takeaways
- 1Decides what exists. Not approval.
- 2Empty list. MCP tools only.
- 3Preset for the full set. claude_code.