page_update
Apply ordered, all-or-nothing operations to change an interactive page's state without focusing or reopening it, targeting only changed items by path.
Instructions
Change an interactive page's state with ops, without focusing or reopening it (an unfocused or closed page gets an unread blip). Ops address items by path, so send only what changes. They apply in order, all or nothing, to the latest state. When the page's template has actions, prefer page_action. Never write a key the page uses for in-progress typing (draft). Details: scribe_docs "Reading and changing page state".
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": {
"ops": "<ops>"
},
"name": "page_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Tab id, e.g. t_ab12cd34. | |
| key | No | Page key, e.g. scribe:sprint-notes. | |
| ops | Yes | The changes, applied in order. | |
| assets | No | Local files (32 MB each) to store as page assets. Write "asset:<name>" as an op value where the file's URL belongs; it becomes a /blob/<id> URL. Every file must be referenced. | |
| expectedRevision | No | Refuse the write if stateRevision is no longer this one; only when your edit depends on a value you read. | |
| resolveIncompatibility | No | Clear a template-bound page's incompatibility overlay once you fixed its state. |