Publish a site again after a failed publish
retry_site_publishBuild the newest commit of the site's default branch again and publish it, as a push does. It runs only when the newest publish of the site failed for a cause that a new try can fix; for any other cause the refusal names the cause code (a mission's founder view gives the request that fixes it). The new deploy shows in list_site_deploys a moment later. Pass the same idempotencyKey on a retry to publish once; without one, each call is a new request. Requires the config:write capability.
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": "retry_site_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site id from list_sites, or publishProblem.siteId of a mission | |
| idempotencyKey | No | Any unique string; repeat it on a retry |