Skip to content

Tool names below come from packages/core/src/tools/definitions/base-declarations.ts and packages/core/src/tools/tool-names.ts. Use these exact names in policy rules, tools.allowed, tools.confirmationRequired, and tools.exclude.

NamePurposePlan Mode
list_directoryList a directory's entries.Yes
globMatch files against glob patterns.Yes
grep_searchSearch file contents with ripgrep or the fallback matcher.Yes
read_fileRead a file, optionally by line range.Yes
read_many_filesRead several files in one call.No

Editing ​

NamePurposePlan Mode
write_fileCreate or overwrite a file.No
replaceReplace text within a file.No
apply_patchApply structured multi-file patches.No

Shell and background processes ​

NamePurposePlan Mode
run_shell_commandExecute a shell command.No
executeCodemode composite execution tool.No
list_background_processesList running background shells.No
read_background_outputRead output from a background shell.No

Planning, tasks, and coordination ​

NamePurposePlan Mode
enter_plan_mode / exit_plan_modeSwitch Plan Mode on and off.No
write_todosMaintain a structured task list.No
update_topicNarrate topic and progress updates.Yes
complete_taskMark a delegated task complete.No
ask_userAsk a clarifying question.Yes
invoke_agentInvoke a subagent.No

Task tracker tools ​

Available when the tracker feature is enabled:

  • tracker_create_task
  • tracker_update_task
  • tracker_get_task
  • tracker_list_tasks
  • tracker_add_dependency
  • tracker_visualize

Web, skills, memory, and docs ​

NamePurposePlan Mode
google_web_searchSearch the web.Yes
web_fetchFetch and summarize a URL.No
session_searchSearch prior local sessions.No
get_internal_docsRead bundled documentation when a docs root is found.Yes
activate_skillLoad a skill's full instructions.Yes
NamePurposePlan Mode
list_mcp_resourcesEnumerate MCP resources.Yes
read_mcp_resourceRead an MCP resource.Yes

Tools contributed by MCP servers are named with a server prefix. Use /mcp list and /mcp schema to discover them in a running session.

Additional Plan Mode tools ​

The Plan Mode prompt also includes the agent-side tools codebase_investigator and cli_help, filtered by what is enabled in the current configuration.

Key parameters ​

Tool names and parameter constants are registered in packages/core/src/tools/definitions/base-declarations.ts; authoritative descriptions are in definitions/model-family-sets/default.ts.

ToolNotable parameters
grep_searchpattern, include_pattern, exclude_pattern, names_only, max_matches_per_file, total_max_matches, fixed_strings, context, after, before, no_ignore
read_filefile_path, start_line, end_line
run_shell_commandcommand, is_background, additional_permissions
replacefile_path, instruction, old_string, new_string, allow_multiple
apply_patchpatch_text
executecode
session_searchlimit
read_many_filesinclude, exclude, recursive, useDefaultExcludes
get_internal_docspath
activate_skillname
ask_userquestions with question, header, type, options, multiSelect, placeholder
enter_plan_modereason
exit_plan_modeplan_filename
update_topictitle, summary, strategic_intent
web_fetchprompt
google_web_searchquery
write_todostodos with description and status

Restricting tools ​

json
{
  "tools": {
    "allowed": ["read_file", "glob", "grep_search"],
    "confirmationRequired": ["run_shell_command", "apply_patch"],
    "exclude": ["google_web_search"],
    "core": ["list_directory", "glob", "grep_search", "read_file"]
  }
}

Precedence notes:

  • confirmationRequired takes precedence over allowed.
  • Policy rules evaluated by the core policy engine take precedence over simple allowlists. See Policy evaluation.
  • useWriteTodos controls availability of write_todos.
  • advanced and admin settings can further restrict tools.

Inspecting tools at runtime ​

text
/tools list
/tools desc

Use /policies list to see which rules are currently active.

Next steps ​

See Built-in tools (guide) for configuration examples and Tool execution for the full execution pipeline.

Built with VitePress. Powered by NVIDIA NIM.