Publish the draft
publishMake the draft the live site and save it as a new version. ONLY call this after the user said yes to publishing. It can be blocked by Clay's safety check; then show the message as it is.
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": {
"site": "<site>"
},
"name": "publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | what changed, one line | |
| site | Yes | the site's clay.site name (subdomain) or its id |