Tools Reference

Complete reference of all acs_* MCP tools, organized by category with their access levels. All tools are prefixed with acs_* when called by agents.

Core Tools (Level 1)
ToolDescription
create_workCreate a new task with similar-task warnings
claim_workClaim a task — returns guidance packet
release_workRelease a task — returns feedback prompt
lock_fileLock a file before editing
unlock_fileUnlock a file (single or all for a task)
get_present_statusSee what all agents are working on
get_locked_filesSee all currently locked files
list_tasksList tasks with optional status filter
sleepPut agent to sleep until a task arrives
wakeManually wake a sleeping agent
helpComprehensive reference of all MCP tools
Knowledge Tools (Level 1)
ToolDescription
save_memorySave an eternal truth as knowledge memory
query_memoriesSearch and list memories with optional filters and hybrid search
set_memory_statusUpdate a memory's status (approve/reject/stale/deprecated)
generate_guidance_packetGet structured guidance for a scope path
Cognition Tools (Level 1-2)
ToolLevelDescription
cognition_get1Get the full spec for a module
cognition_search1Full-text search across cognition specs
cognition_list1List all cognition specs
cognition_list_undocumented1Scan for modules without specs
cognition_propose2Propose a new spec or update existing
cognition_approve2Approve a proposed spec
cognition_reject2Soft-reject a proposed spec
Diagnostic Tools (Level 1)
ToolDescription
config_lookupLook up opencode/ACS configuration settings
connection_diagnosticCheck if external services are reachable
query_memoriesHybrid search (semantic + FTS) across memories
memory_health_checkCheck health of the memory system
get_logsRetrieve application logs with filtering
Error Trace Tools (Level 3)
ToolDescription
list_error_tracesList persistent error traces with filters
ack_error_traceAcknowledge an error trace (being investigated)
resolve_error_traceMark an error trace as resolved
create_task_from_error_traceCreate investigation task from error
Advanced Tools (Level 3, Admin)
ToolLevelDescription
write_tool1Register a new MCP tool dynamically
refresh_tools1Force reload tool definitions
list_orgs1List all organizations from configured apps
time3Get or set ACS time offset (testing)
exec_command1Execute a shell command (restricted by ALLOWED_COMMANDS)
app_configure1Add or update a configured external app at runtime
app_list1List all configured external apps
app_remove1Remove a configured external app
sleep1Put agent to sleep until a task arrives
wake1Manually wake a sleeping agent

Adding Custom Tools

Tools are defined in YAML files. Create {app}.yaml and hot-reload:

YAML
app: my_app
tools:
  - name: my_tool
    description: "Description of my tool"
    handler: ""
    endpoint: "http://my-service:8080/api/my-tool"
    category: custom
    level: 1
    inputSchema:
      type: object
      properties:
        param1:
          type: string
          description: "..."

Then call acs_refresh_tools() to load without restart.

---