Expand description
Tool name constants to avoid hardcoding strings throughout the codebase
Constants§
- AGENT
- 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. - ANSWER_
SESSION - APPLY_
PATCH - ASK_
QUESTIONS - ASK_
SESSION - ASK_
USER_ QUESTION - BASH_
ALIAS - CLOSE_
AGENT - CLOSE_
PTY_ SESSION - CODE_
SEARCH - COMPUTER_
USE - CONTAINER_
EXEC_ ALIAS - COPY_
FILE - CREATE_
FILE - CREATE_
PTY_ SESSION - CRON
- CRON_
CREATE - CRON_
DELETE - CRON_
LIST - DELETE_
FILE - EDIT_
FILE - EXECUTE_
CODE - EXEC_
ALIAS - EXEC_
COMMAND - EXEC_
PTY_ CMD - FETCH
- FETCH_
URL - FILE_OP
- GET_
ERRORS - GET_
GOAL - 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_
SESSIONS - LIST_
SKILLS - LOAD_
SKILL - LOAD_
SKILL_ RESOURCE - MATRIX
- MCP
- MCP_
CONNECT_ SERVER - MCP_
DISCONNECT_ SERVER - MCP_
GET_ TOOL_ DETAILS - MCP_
LIST_ SERVERS - MCP_
SEARCH_ TOOLS - MEMORY
- MOVE_
FILE - READ_
FILE - READ_
PTY_ SESSION - RECORD_
DECISION - REPO_
BROWSER_ LIST_ FILES - REPO_
BROWSER_ READ_ FILE - REPO_
BROWSER_ WRITE_ FILE - REQUEST_
USER_ INPUT - RESIZE_
PTY_ SESSION - RESUME_
AGENT - RUN_
PTY_ CMD - SEARCH_
REPLACE - SEARCH_
TOOLS - SEND_
INPUT - SEND_
PTY_ INPUT - SHELL
- SPAWN_
AGENT - SPAWN_
BACKGROUND_ SUBPROCESS - START_
PLANNING - TASK_
TRACKER - THINK
- UNIFIED_
EXEC - UNIFIED_
FILE - UNIFIED_
SEARCH - UPDATE_
GOAL - WAIT_
AGENT - WEB_
FETCH - WEB_
SEARCH - WILDCARD_
ALL - Wildcard (not a real tool name — exempt from the canonical-name shape).
- WRITE_
FILE - WRITE_
STDIN
Functions§
- canonical_
command_ session_ tool_ name - Canonical command-session tool name for a possibly-aliased tool name.
- is_
command_ session_ tool - Returns
trueiftool_nameis any alias of the unified command-session tool. - is_
workflow_ coordination_ tool - Returns
truefor workflow-coordination tools that bypass the full-auto allow-list (seeALWAYS_AVAILABLE_WORKFLOW_TOOLS).