Check a change set
validateChecks a change set against the site's rules without writing anything, and returns ok, or the problems the site found with the JSON pointer of each. Send the operations you would send to apply_change_set; read get_schema first for the fields of each op. Call it for a large or unusual change set, or after the site refused one and you want to check the corrected operations first. The result also says needs_confirmation when the change set deletes content or links to another website: ask your user before you apply such a change set. Do not call it for a small edit you can apply directly. It changes nothing and costs no credits.
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": {
"operations": "<operations>",
"siteId": "<siteId>"
},
"name": "validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site id from list_sites or create_site. | |
| operations | Yes | Operations in the plugin's change-set format. Read get_schema first for the fields of each op. |