跳转到内容

ops ToolSet

On-demand Habitat ToolSet for Habitat process operations: health, status, sanitized runtime config, and partner-confirmed config patch / restart. Load with:

toolset_load(["ops"])
ToolPurpose
ops_healthProcess health (status, version, started_at)
ops_statusFull service snapshot (memory, PG/Redis, MCP/ACP, conversation counts)
ops_config_getRuntime config with secrets masked as ***; optional section
ops_config_patchDeep-merge a runtime config section; requires confirm: true after partner clarify approval
ops_restartSchedule Habitat restart; requires confirm: true after partner clarify approval
  1. Call ToolSet clarify to ask the partner whether to patch config or restart.
  2. After approval, call ops_config_patch / ops_restart with confirm: true.
  3. Without confirm: true, the write tool returns an error (no awaiting state machine inside ops).
DoDo not
Inspect status / masked config when diagnosing HabitatExpect secrets in tool results (always ***)
Patch non-secret runtime sections after clarifyPatch database / http / redis (bootstrap; YAML cold-start)
Restart after clarify when a setting requires rebootWrite MCP env / headers or secret keys via LLM tools
Use Habitat settings UI / vault for credentialsUse ops for cron (use ToolSet cron)
Read product docs via freeanima_docs (ops/ prefix)Expose this ToolSet on Habitat /mcp

ops is not in the default conversation toolsets; load it when needed.