Save document
save_documentCreate a new document with title, optional markdown content, and project assignment, or update an existing document by providing its id.
Instructions
Create (no id) or update (id) a document → {id, title, slugId}. Create requires title; project (name or id) resolves server-side.
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": "save_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Document id to UPDATE; omit to create | |
| title | No | Title (required on create) | |
| content | No | Markdown content | |
| project | No | Project name or id to attach the doc to |