Built-in tools reference
All 61 built-in tool names, grouped by job with mode, approval, output, and limit boundaries.
On this page
Names are TOOL_REGISTRY keys. Ask/Plan hide mutating tools; see modes. MCP server tools are extra and Agent-only. web_fetch and web_search are legacy transcript bodies only — they are not in this list.
Every call is schema-validated. Renderer transcripts can contain a preview while full output remains in run storage. Tool approval applies after mode filtering; a hidden or mode-denied tool cannot be enabled by an approval.
Files
read— file or shallow directory listing under the workspace root (text). Windowless reads are capped at 2000 lines; zoom via startLine/endLine.edit— create/overwrite with contents, or apply a unified difflist_dir— one directory level with sizesstr_replace— replace exact text in one filedelete— delete a workspace file or directory (recursive for a non-empty directory)edit_notebook— insert or uniquely replace one cell in a nbformat v4 .ipynb (no kernel)lsp— language-server hover, completions, diagnostics, definition, or rename when a server is on PATH
Search
search— filename or content substring (first hit per file). Defaults to 40 hits; pass maxResults to widen.glob— workspace-relative glob paths. Defaults to 100 paths; pass maxResults to widen.grep— regex with matching lines. Defaults to 60 results; pass maxResults to widen.codebase_search— semantic search over the local code index (not memory RAG)
Browser
Embedded agent browser. Page text is untrusted. After navigate/search/mutations, snapshot before using @eN refs.
browser_searchbrowser_navigatebrowser_snapshotbrowser_clickbrowser_typebrowser_scrollbrowser_fillbrowser_tabsbrowser_backbrowser_forwardbrowser_wait_for_selectorbrowser_wait_for_urlbrowser_press_keybrowser_select_optionbrowser_hoverbrowser_wait_for_textbrowser_handle_dialog
Terminal and diagnostics
terminal— shell command (builds/CLI, not file inspection)diagnostics— typecheck or lint (configured command, package script, or tsc/eslint)run_tests— workspace test script or an optional sandboxed command
Git
git_statusgit_diffgit_commit— Agent-only; optional push; stages files this run changedgit_apply— apply a unified diff with git applygithub_pr_create— Agent-only; gh pr create (draft default)github_pr_review— Agent-only; approve / request-changes / commentgithub_issue— Agent-only; list or create
Memory
memory_listmemory_readmemory_write
See Memory files.
Skill
Skill— load an enabled Marketplace skill (SKILL.md) or a plugin-rule id, or a relative file under a skill
MCP meta
These are built-ins about connected servers, not the servers’ own tools.
mcp_list_toolsrequest_mcp_toolsrelease_mcp_toolsmcp_list_resourcesmcp_read_resourcemcp_list_promptsmcp_get_prompt
Questions, todos, modes
ask_question— typed form in the transcript; blocks until answer, skip, or timeouttodo_write— this run’s task listcreate_plan— write plan.md and contract.mdcreate_goal— start or replace this chat’s long-lived goalupdate_goal— mark the goal complete or resume it after a user pauseswitch_mode— only present when Automatic mode switching is on
Instances
Root run only (depth 1). Git worktrees isolate writes; without a worktree, path_scope is required.
spawn_agent_instanceawait_agent_instancepull_agent_instancemerge_agent_instancecancel_agent_instance