Expand description
Tool name constants to avoid hardcoding strings throughout the codebase
Constants§
- AGENT
- Unified subagent lifecycle tool (action: spawn | spawn_subprocess |
send_input | resume | wait | close).
wait_agent/close_agentare now aliases routed toagent(action=‘wait’/‘close’);LIFECYCLE_CLEANUP_TOOLSstill lists their names so the policy layer keeps treating them as always-allowed cleanup calls regardless of the active primary agent’s restricted tool policy. - ALWAYS_
AVAILABLE_ WORKFLOW_ TOOLS - Workflow-coordination tools that must remain available regardless of the
[automation.full_auto].allowed_toolsallow-list, so planning, checklist, and interview coordination keep working in Auto mode and other full-auto runs. These are control-plane (not execution blast radius):task_trackerowns only its session tracker file,start_planningonly flips the planning-workflow state, andrequest_user_inputstill resolves through the interactive-session gate at execution time. Callers must pass the canonical tool name (seecanonical_tool_name); matching is exact. - APPLY_
PATCH - Canonical patch application tool exposed to the model.
- ASK_
QUESTIONS - Legacy alias routed to
request_user_input. - ASK_
USER_ QUESTION - Legacy alias routed to
request_user_input(deprecated tabbed shape). - CLOSE_
AGENT - Close a delegated child agent.
- CLOSE_
PTY_ SESSION - CODE_
SEARCH - Advanced bounded syntactic code search tool for VTCode-specific profiles.
- COPY_
FILE - CREATE_
FILE - CREATE_
PTY_ SESSION - CRON
- Unified scheduled-prompt tool (action: create | list | delete).
- CRON_
CREATE - Legacy alias for
cronaction=create. - CRON_
DELETE - Delete a session-scoped scheduled task by id.
- CRON_
LIST - List session-scoped scheduled tasks.
- DEFUDDLE_
FETCH - Defuddle-backed markdown extraction for a single URL. The hosted
defuddle.md/{link}service is rate-limited, so this tool is hard-capped at one call per tool instance (treat one tool instance as one session). - DELETE_
FILE - EDIT_
FILE - EXECUTE_
CODE - EXEC_
COMMAND - Canonical shell execution tool exposed to the model.
- EXEC_
PTY_ CMD - FETCH
- FETCH_
URL - FILE_OP
- GET_
ERRORS - GREP
- GREP_
FILE - LIFECYCLE_
CLEANUP_ TOOLS - Cleanup-only child-agent tools that must remain available regardless of the active primary agent’s tool policy, so restricted primaries can still join or close already-running child work. Add new lifecycle-only cleanup tools here.
- LIST
- LIST_
FILES - LIST_
PTY_ SESSIONS - LIST_
SKILLS - List all available skills (local and dormant system utilities)
- LOAD_
SKILL - Load a skill’s instructions and activate its tools
- LOAD_
SKILL_ RESOURCE - Load resources from a skill (scripts, templates, docs)
- MATRIX
- Durable scheduler control for coordinators and assignment-owned worker reports.
- MCP
- Unified MCP tool (action: search_tools | get_tool_details | list_servers |
connect | disconnect).
connect/disconnectare config-gated lifecycle ops evaluated under the action-qualified policy keysmcp:connect/mcp:disconnect(default Prompt) so they keep their human-in-the-loop confirmation even though the basemcptool isToolPolicy::Allow. - MCP_
CONNECT_ SERVER - MCP_
DISCONNECT_ SERVER - MCP_
GET_ TOOL_ DETAILS - MCP_
LIST_ SERVERS - MCP_
SEARCH_ TOOLS - MEMORY
- Canonical memory tool name for Anthropic native memory sessions.
- MOVE_
FILE - READ_
FILE - READ_
PTY_ SESSION - RECORD_
DECISION - Optional public rationale recording within the canonical current task.
- REQUEST_
USER_ INPUT - Canonical HITL tool name for structured user input.
- RESIZE_
PTY_ SESSION - RESUME_
AGENT - Resume a delegated child agent without sending a message.
- RUN_
PTY_ CMD - SEARCH_
REPLACE - SEARCH_
TOOLS - SEND_
INPUT - Send follow-up input to a delegated child agent.
- SEND_
PTY_ INPUT - SHELL
- SPAWN_
AGENT - Spawn a delegated child agent.
- SPAWN_
BACKGROUND_ SUBPROCESS - Launch a managed background subprocess that hosts a background-enabled subagent.
- START_
PLANNING - Start planning - enables read-only tools and planning workflow.
- TASK_
TRACKER - Task tracker / plan manager - tracks checklist progress during complex tasks.
- THINK
- UNIFIED_
EXEC - Internal shell execution and code execution dispatcher retained behind public tools.
- UNIFIED_
FILE - Internal file operations dispatcher retained behind public tools.
- UNIFIED_
SEARCH - Internal search and discovery dispatcher retained behind public tools.
- WAIT_
AGENT - Wait for one or more delegated child agents to finish.
- WEB_
FETCH - WEB_
SEARCH - WILDCARD_
ALL - WRITE_
FILE - WRITE_
STDIN - Canonical stdin writer for active execution sessions.
Functions§
- is_
workflow_ coordination_ tool - Returns
truefor workflow-coordination tools that bypass the full-auto allow-list (seeALWAYS_AVAILABLE_WORKFLOW_TOOLS).