sync_doc
Sync long-form project documents (plan, spec, progress, runbook, research) as rendered markdown to the work log, upserting by kind and key with version bumps.
Instructions
Sync a long-form project document (plan/spec/progress/runbook/research) as rendered markdown. Upserts by (kind, key); the version bumps each sync. Use for docs an agent maintains in-repo, so the log carries their current state.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>",
"key": "<key>",
"title": "<title>",
"body": "<body>"
},
"name": "sync_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | stable slug within the kind, e.g. the doc filename | |
| body | Yes | the rendered markdown body | |
| kind | Yes | ||
| title | Yes | ||
| status | No | kind-specific, e.g. draft|approved|building|done |