save_document
Saves document content by slug as a new immutable version, preserving prior versions for audit and rollback.
Instructions
Save a project document by slug as a new immutable version; prior versions preserved.
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": {
"projectId": "<projectId>",
"slug": "<slug>",
"content": "<content>"
},
"name": "save_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Document slug: "business", "sales_strategy", "search_notes", "learnings", or "playbook_<strategy-slug>" | |
| content | Yes | Full markdown content of the document | |
| projectId | Yes | Project name or ID |