Delete folder
delete_folderDeletes a Datawrapper folder while moving its charts and subfolders to the parent folder or root; requires explicit confirmation before removal.
Instructions
Datawrapper: delete a folder. Like in the Datawrapper app, its charts and subfolders first move to the parent folder (or the root), so nothing inside is deleted. Requires confirmation: a client dialog, or user_confirmed: true after the user agreed.
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": {
"folder_id": "<folder_id>"
},
"name": "delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | Yes | ||
| 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. |