Request publication
request_publicationAsks the owner to publish a draft, or to update a live post from its working copy, at a specific revision (baseRevision). It does not publish anything: the request waits in Entry, with status pending, until the owner reviews the draft and approves or rejects it. Saving the draft afterwards makes the request stale. Shown to the owner as a request card. Requires the publish:request scope. Publishing, unpublishing and changes to the live profile are made only by the owner, in Entry.
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": {
"entryId": "<entryId>",
"draftId": "<draftId>",
"baseRevision": "<baseRevision>"
},
"name": "request_publication"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A short note to the owner. At most 500 characters. | |
| draftId | Yes | The draft's id (starts with drf_), as returned by list_drafts or create_draft. | |
| entryId | Yes | The Entry's id (starts with ent_), as returned by list_entries. | |
| baseRevision | Yes | The draft revision the change is made against. If the draft has been saved since, the call fails with a conflict and the current revision. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Only when the call failed (isError): the error code, e.g. conflict, forbidden, not_found, validation_failed, rate_limited. | |
| details | No | Only when the call failed: conflict has revision, forbidden has requiredScope, rate_limited has retryAfter (seconds), validation_failed has problems; a refused page bundle has errors (code, path, detail, fix for each) and a stale page revision has revision. | |
| message | No | Only when the call failed: what went wrong and what to do. | |
| publishRequest | No |