Preview a safe publication
preview_publishCompare three file versions to detect conflicts and deletions, returning a preview token or blocking to prevent unsafe publishing.
Instructions
Perform a three-way comparison and return a previewToken, or block on same-file conflicts and deletions.
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": {
"session_id": "<session_id>"
},
"name": "preview_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Active sessionId returned by begin_edit_session or workflow_status |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| nextActions | Yes | ||
| workflowState | Yes |