update_site
Change only some fields of the draft, using the current revision. changes is a JSON Merge Patch over the SiteDocument: objects merge, null removes a field, and arrays (services, gallery, pages, sections) are replaced whole. Does not change the live publication.
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": {
"revision": "<revision>",
"changes": "<changes>"
},
"name": "update_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | Only the fields to change, e.g. {"phone":"0400 000 000","hours":"Mon–Fri 8–5"} | |
| revision | Yes | ||
| idempotencyKey | No | Optional. Set a random key and reuse it exactly when retrying, so a retry is not applied twice |