Expand description
MCP tool schemas — the inputSchema JSON advertised to the client, one
const per tool.
Split out of main.rs (audit step 17,
docs/reports/REPORT_DRY_AND_MODULARITY_AUDIT_2026_09_06.md). This is
pure data: every const is byte-identical to the one it replaced, and the
declaration order is unchanged, so the tool list this crate advertises is
the same. Keeping it out of main.rs means a schema edit no longer
shows up as a diff against the file that also holds the dispatcher.
Adding a tool: add the const here and to ADVERTISED, then handle it
in a family under tools/.
Constants§
- ADVERTISED 🔒
- Every tool
tools/listadvertises, in order. One list, so a test can check exactly what agents are shown. - AGENTS_
TOOL 🔒 - Agents: the other agents, what they are doing, opening them, and the caller’s own history (docs/specs/SPEC_MUXAPI_TOOL_CONSOLIDATION_2026_10_15.md §4.2, slice S4).
- APP_
TOOL 🔒 - App: this AgentMux itself;
upgraderestarts every agent, so it is a tool of its own a harness can gate (like Stop). - BROWSER_
TOOL 🔒 - CALENDAR_
TOOL 🔒 - DESKTOP_
TOOL 🔒 - Desktop: look at and control a native app, with the user’s consent for each app (docs/specs/SPEC_DESKTOP_DRIVING_2026_10_20.md). Off until the user turns it on; the description stays short because every agent is shown it.
- DRIVE_
TOOL 🔒 - DRONE_
TOOL 🔒 - Drone: the person’s automations on this computer, for an agent to read and fire (docs/specs/SPEC_DRONE_REAL_WORLD_JOBS_2026_11_11.md §6.5). Short: every agent is shown it.
- GMAIL_
TOOL 🔒 - GOOGLE_
TOOL 🔒 - GRANTED 🔒
- Tools shown only to an agent with a grant on their Google service: srv’s
/api/v1/google/self/servicessays which, when the agent’s MCP starts. - IDENTITY_
TOOL 🔒 - Identity: an agent’s presets and linked provider accounts.
- MEMORY_
TOOL 🔒 - MESSAGE_
TOOL 🔒 - Message: one agent, many, or a repository’s coordination channel
(SPEC_AGENT_COORDINATION_CHANNEL_2026_10_15.md, srv’s
/api/v1/coord/posts).broadcastloops the same signed single-target deliverysenduses, once per target, in this process: srv mints, stores and serves each agent’s keys, and this process signs with its copy when it has one (else the message goes unsigned), never in a server-side batch. - PANE_
TOOL 🔒 - Pane: your place in the UI and the panes you show the user (docs/specs/SPEC_MUXAPI_TOOL_CONSOLIDATION_2026_10_15.md §4.2, slice S4).
- PRESENCE_
TOOL 🔒 - REGISTER_
DEV_ 🔒SERVER_ TOOL - SCHEDULE_
TOOL 🔒 - SENSITIVE_
TOOL 🔒 - Sensitive: the operations too sweeping for one agent’s say-so (docs/specs/SPEC_SUPER_AGENT_2026_10_25.md). The description stays short because every agent is shown it.
- SKILLS_
TOOL 🔒 - Skills: the skill catalog, for an agent that manages it.
- STOP_
TOOL 🔒 - Stop: the actions that end work, kept in their own tool so a harness can
ask before them (docs/specs/SPEC_MUXAPI_TOOL_CONSOLIDATION_2026_10_15.md
§4.1 rule 6).
selfis docs/specs/SPEC_AGENT_SELF_QUIT_2026_09_24.md §6.2: the caller’s own block is the only one it can reach, and stop_tool refuses a target given with it. - TASKS_
TOOL 🔒 - TERMINAL_
TOOL 🔒 - UI_TOOL 🔒
- VAULT_
TOOL 🔒 - Vault: the person’s secrets, which an agent names but never reads (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §5.4).
- WIDGET_
TOOL 🔒 - Widget: custom panes an agent builds for the user (host agents only).
- ZOOM_
TOOL 🔒 - Zoom: read and set the zoom of the panes in the agent’s own tab and of its own window’s chrome (docs/specs/SPEC_MUXAPI_ZOOM_2026_11_24.md). Short: every agent is shown it.
Functions§
- advertised_
tools 🔒 ADVERTISEDparsed for thetools/listanswer.- tools_
for 🔒 ADVERTISED, and theGRANTEDtools ofservices.