Skip to content

v0.9.97 — operator-query MCP tools (call_open_queries + call_answer_query)

Choose a tag to compare

@ope-olatunji ope-olatunji released this 21 May 03:05
· 42 commits to main since this release

Added — operator-query MCP/OpenClaw tools

Closes the routing gap where agents had no way to read open
operator-queries from a live phone call or inject the operator's
answer back into the realtime bridge. Previously agents flailed
through 6 nonexistent tool names (call_answer, phone_answer_query,
answer_ask_operator, ask_operator_reply, submit_result,
telegram_poll) before giving up.

New MCP tools (under the phone set):

  • call_open_queries({ id? }) — GET /api/agenticmail/calls/:id/operator-queries. If id is omitted, scans active missions and returns all open queries across them.
  • call_answer_query({ id, queryId, answer }) — POST /api/agenticmail/calls/:id/operator-queries/:queryId/answer with { answer }. The realtime bridge picks up the answered query within ~1s and feeds the text back into the model's conversation as a tool result.

OpenClaw counterparts — agenticmail_call_open_queries and agenticmail_call_answer_query with identical parameter shapes, advertised in openclaw.plugin.json.

Subagent template fix — packages/claudecode/src/subagent-template.ts referenced a tool name that never existed (answer_operator_query). Replaced with the real names so generated subagent .md files point dispatchers at the working tools.

Bumps

  • @agenticmail/mcp 0.9.25 → 0.9.26
  • @agenticmail/openclaw 0.5.69 → 0.5.70 (plugin manifest 0.5.67 → 0.5.68)
  • @agenticmail/claudecode 0.2.30 → 0.2.31
  • @agenticmail/cli 0.9.96 → 0.9.97

Tool surface: 100 MCP tools / 89 OpenClaw tools. Tool-count
references updated across README.md, AGENTS.md, packages/mcp/README.md,
packages/api/src/index.ts banner, and the catalog tests.