update_page
Update a web part page: metadata (title/icon) and/or content. Content updates require expectedUpdateRevision (from get_page); a mismatch means someone else changed the page first and the write is rejected with UPDATE_REVISION_MISMATCH, which a fresh get_page resolves. Requires contribute access. Publishing is separate: publish_page makes changes public.
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": {
"pageId": "<pageId>"
},
"name": "update_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | Optional emoji icon, or null to clear. | |
| title | No | Optional new title (1-255 chars). | |
| pageId | Yes | Page id. | |
| content | No | Optional new Puck Data JSON (requires expectedUpdateRevision). | |
| expectedUpdateRevision | No | Required when content is set: the updateRevision from your last get_page. |