REFERENCE
Tool reference
The exact tools the model sees, their inputs and limits. Use these names in rules and hooks.
| Tool | Runs | Inputs | Limits |
|---|---|---|---|
read | together | path, offset?, limit? | 2,000 lines / 50 KB; images to 2,000 px |
write | alone | path, content | snapshot first |
edit | alone | path, edits[{old, new, replace_all?}] | all or nothing; each old must match once. Also reads old_string/new_string, and a single old/new beside path |
apply_patch | alone | patch | OpenAI models only, instead of edit |
bash | alone | command, yield_ms?, session_id?, stdin? | runs with bash where it is installed, else sh; 2,000 lines / 50 KB of tail; rest to a file. With both command and session_id, a running session wins and the command is not run |
grep | together | pattern, path?, glob?, mode? | respects ignore files |
glob | together | pattern, path? | newest first |
web_fetch | together | url | 15,000 characters, head and tail |
recall | together | words, project, dates | prompts, replies, tool calls only |
task | together | prompt, agent?, model? | depth 1, four at once |
mcp_search, mcp_call | mcp_search together, mcp_call alone | query / server, tool, args | mcp_search never asks; mcp_call asks unless a rule allows it |
The tool list is fixed for the life of a session.