Change a widget
update_widgetChange an existing widget. For links: url and/or title. For text and headings: content. For other widgets: props (only the keys you pass change; see list_widget_types).
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": {
"widget_id": "<widget_id>"
},
"name": "update_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Links: new URL (the widget is rebuilt for the new link). | |
| page | No | Which page: "home" (the default) or a subpage slug from list_pages. | |
| props | No | Other widgets: props to change. | |
| title | No | Links: new title. | |
| content | No | Text widgets and headings: new text. | |
| widget_id | Yes | Widget id from get_page, e.g. "element:lq3x9a1b". |