remove_widget
Remove one widget from a report by its exact id (from get_report). Deterministic — no AI interpretation. Returns the removed widget's configuration so it can be re-created if needed. Requires MCP write actions; without confirm:true it returns a preview.
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": {
"reportId": "<reportId>",
"widgetId": "<widgetId>"
},
"name": "remove_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true to remove it. Omit for a preview. With confirm:true, also pass the preview's previewToken. | |
| reportId | Yes | Report id (from list_reports). | |
| widgetId | Yes | Exact widget id (from get_report). | |
| previewToken | No | With confirm:true: the previewToken from this tool's preview (valid 15 minutes, once, for exactly the previewed arguments). |