MCP: send_for_review(markdown, id, title?) — one call to send a plan for review #111

Closed
opened 2026-11-27 20:51:12 +00:00 by jfro · 0 comments
Owner

Part of 1.10 (agent listings). Builds on the plan-review loop shipped in v1.9.0 (#99, #102-#104).

  • New write tool send_for_review(markdown, id, title?): typesets the markdown with the plan-review layout (#102), files it in the review folder, sets external_ref = id. Sending the same id again replaces that document (new version) rather than duplicating it.
  • Returns the document id, version, and full https url (structuredContent + text), so the agent can watch for it coming back.
  • Coming back stays the existing rm-analyzer://changes subscription (and list_changes); webhook unchanged. Document how an agent watches for the reviewed doc in the tool description / docs.
  • title defaults from the markdown's first heading, else the id.

Done: tests (new doc, resend same id → replace, missing/invalid args); mix precommit clean; CI green.

Part of 1.10 (agent listings). Builds on the plan-review loop shipped in v1.9.0 (#99, #102-#104). - New write tool `send_for_review(markdown, id, title?)`: typesets the markdown with the plan-review layout (#102), files it in the review folder, sets `external_ref` = id. Sending the same id again replaces that document (new version) rather than duplicating it. - Returns the document id, version, and full https url (structuredContent + text), so the agent can watch for it coming back. - Coming back stays the existing `rm-analyzer://changes` subscription (and list_changes); webhook unchanged. Document how an agent watches for the reviewed doc in the tool description / docs. - title defaults from the markdown's first heading, else the id. Done: tests (new doc, resend same id → replace, missing/invalid args); `mix precommit` clean; CI green.
jfro closed this issue 2026-11-27 21:33:27 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/rm-analyzer#111
No description provided.