Get publish status
get_publish_statusReturns how a background publish is going — the jobId publish_site answered (or its refusal named); without one, the site’s most recent publish, whoever started it. Waits up to 10 s while the job runs, then answers the result (as publish_site would), {status:"running", jobId, progress}, or the failure. With no background job this week (a site small enough to publish at once has none): {job: null, lastPublish: {state, said}} from the pages. Read-only: never starts a publish.
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": {
"siteId": "<siteId>"
},
"name": "get_publish_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | The background publish to ask after (from publish_site); leave out for the site’s most recent publish | |
| siteId | Yes | Site id (from list_sites) |