create_doc
Create an empty document. Use it to start something new, then write into it with save_draft and publish_draft. Returns the new document's id, its title and its revision number, which is 0 until something is published.
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": {
"title": "<title>"
},
"name": "create_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | the document's title, 1 to 200 characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document id. | |
| title | Yes | Its title. | |
| revisions | Yes | Its revision count. |