Save a document draft
save_documentCreate or revise a generated HTML document for the connected user to review. Use confirmed facts only and label missing information. Supply documentId and the current revision to edit; uploaded originals cannot be edited. entryIds must identify owned experience. Does not send or publish the draft.
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": {
"name": "<name>",
"document_type": "<document_type>",
"html": "<html>"
},
"name": "save_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| name | Yes | ||
| entryIds | No | ||
| revision | No | ||
| documentId | No | ||
| document_type | Yes |