peer_export
Render agreed plans, critique histories, or dev handoffs to Markdown files, enabling agents to share decisions and resume implementation work.
Instructions
Render and optionally write the converged plan, full critique history, or latest dev handoff to a Markdown file (default: <project_path>/PLAN.md or HANDOFF.md).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "peer_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "plan" (default) exports the agreed/latest plan with metadata; "full" includes the full numbered critique transcript; "handoff" exports the latest dev handoff. | |
| room | No | Optional explicit room name override (e.g. "auth-refactor"). If omitted, derived from project_path or falls back to "default". | |
| write | No | Whether to write the rendered Markdown to output_path (default: true when a target path is resolved; set false to return Markdown only). | |
| output_path | No | Optional target .md/.markdown path (absolute, or relative to project_path). Defaults to <project_path>/PLAN.md (or HANDOFF.md for mode="handoff"). | |
| project_path | No | Optional absolute path to the current workspace or repo. Automatically walks up to the git root and derives a deterministic per-project room ID so both agents share the same room. |