Publish a built site
publishUse this when the person asks to put a Pugi website or app live ("publish", "go live"). Free. Puts the latest version on its pugi.app address after the security check every Pugi publish runs; publishing again replaces the live version.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | The job_id of the build (or the latest edit) to publish. | |
| language | No | The language the person is writing in, as a BCP 47 tag such as "ru". | |
| project_id | No | Or the project_id of that site. | |
| idempotency_key | No | Optional. Reuse it to retry the same publish. | |
| publish_with_samples | No | Only after the person saw the list of sample details this tool answered with (sample_facts_remain) and chose to keep them. |