Skip to content

Tools are the primitives the agent uses to inspect and change a workspace. Built-in tool names are declared in packages/core/src/tools/definitions/base-declarations.ts and packages/core/src/tools/tool-names.ts.

Tool namePurpose
list_directoryList files and directories.
globFind files by glob pattern.
grep_searchSearch file contents with ripgrep (or the fallback matcher).
read_fileRead a file, optionally with line ranges.
read_many_filesRead multiple files in one call.
write_fileCreate or overwrite a file.
replaceReplace text in a file.
apply_patchApply structured multi-file patches.

Shell and background processes ​

Tool namePurpose
run_shell_commandExecute a shell command.
list_background_processesEnumerate running background shells.
read_background_outputRead output from a background shell.
executeCodemode execution tool for composite operations.

Shell behavior is configurable through tools.shell: enableInteractiveShell (node-pty), pager, showColor, inactivityTimeout, backgroundCompletionBehavior, and enableShellOutputEfficiency.

Web and external context ​

Tool namePurpose
google_web_searchWeb search.
web_fetchFetch and summarize a URL.
session_searchSearch prior local sessions.
get_internal_docsRead M31A's own bundled documentation when a docs root is available.

get_internal_docs locates a documentation root by looking for docs/sidebar.json and serves Markdown files to the agent.

Planning and coordination ​

Tool namePurpose
enter_plan_mode / exit_plan_modeSwitch Plan Mode on and off.
write_todosMaintain a structured task list (useWriteTodos).
update_topicNarrate topic and update progress.
complete_taskMark a delegated task complete.
ask_userAsk the user a clarifying question.
invoke_agentInvoke a subagent.

Task tracker (experimental) ​

tracker_create_task, tracker_update_task, tracker_get_task, tracker_list_tasks, tracker_add_dependency, and tracker_visualize are available when the task tracker is enabled.

Skills and MCP ​

Tool namePurpose
activate_skillLoad an agent skill on demand.
list_mcp_resourcesList resources exposed by MCP servers.
read_mcp_resourceRead a specific MCP resource.

Tools contributed by MCP servers are prefixed with the server name. See MCP.

Tool discovery and restrictions ​

  • tools.allowed bypasses confirmation for named tools.
  • tools.confirmationRequired forces confirmation even for otherwise allowed tools.
  • tools.exclude removes tools from discovery.
  • tools.core restricts the built-in tool set.
  • tools.useRipgrep selects ripgrep for content search.
  • tools.truncateToolOutputThreshold caps displayed output (default 40000 characters).
  • tools.disableLLMCorrection controls retry behavior for failed edit tools.

Use /tools list and /tools desc in the CLI to see the tools available in the current session. See Approval modes for how tool calls are authorized.

Built with VitePress. Powered by NVIDIA NIM.