update_element
Update a single element on a page by applying a partial patch that merges specified fields, avoiding the need to resend the entire document. Ideal for quick edits to color, position, or size on a dashboard canvas.
Instructions
Change ONE element in place without re-sending the whole document. "patch" is a partial element ({field: value, ...}) merged over the existing one (a provided "options"/"parts" replaces wholesale). The cheap edit path for a big canvas: change a precision, a colour, a location, one box. Returns the ack.
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": {
"page_id": "<page_id>",
"element_id": "<element_id>",
"patch": "<patch>"
},
"name": "update_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | ||
| page_id | Yes | ||
| base_rev | No | ||
| element_id | Yes |