Publish a document
publish_documentTwo steps. 1) Call without confirmation_token: returns what will change, warnings and a one-time token (valid 15 minutes, for this exact version). Show that to the user and ask for an explicit yes. 2) Only after the user says yes, call again with the token. If the site requires approval in Kiescy, this submits the document for review instead. Use language to publish a saved translation.
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": {
"type": "<type>"
},
"name": "publish_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| language | No | ||
| confirmation_token | No |