Delete chart
delete_chartDatawrapper: move a chart to the trash (restorable for 30 days with restore_charts). permanent: true deletes it irreversibly. Published charts also disappear from websites. Requires confirmation (client dialog, or user_confirmed: true); the confirmation shows the chart title and id.
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": {
"chart_id": "<chart_id>"
},
"name": "delete_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart_id | Yes | ||
| permanent | No | Irreversible deletion instead of trash. | |
| user_confirmed | No | true means the user explicitly approved this exact action in the conversation; it then counts as the confirmation and no client dialog is shown. Without it, clients with elicitation show a confirmation dialog. |