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.
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 |