Save document
save_documentSave approved document HTML to the project. Creates a document when none exists; otherwise replaces the saved document. Call get_document first when replacing an existing document, show the exact title and HTML to the user, and wait for approval before calling this tool.
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": {
"projectUid": "<projectUid>",
"content": "<content>"
},
"name": "save_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| content | Yes | Approved HTML to save. | |
| projectUid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| document | Yes |