Delete Widget
delete_widgetDeletes a widget. A site that still has its code shows an empty widget. A widget with views in the last 7 days needs confirm: true; ask the user first. The widget's accounts and review sources stay.
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": "delete_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | True: delete it also when a site showed it in the last 7 days. | |
| widget_id | Yes | The widget's id (the id in list_widgets). |