Publish chart
publish_chartPublishes or republishes a Datawrapper chart so it is publicly visible and embeddable, returning the public URL, version, embed codes and preview image.
Instructions
Datawrapper: publish (or republish) a chart so it is publicly visible at its URL and embeddable. Returns the public URL, version, embed codes (responsive iframe) and a preview image. Requires confirmation: a client dialog, or user_confirmed: true after the user agreed. Republishing updates all embeds. In clients that support MCP Apps the result opens in an interactive chart viewer.
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": "publish_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart_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. | |
| notify_webhooks | No | Call the workspace's publish webhooks (default true; false for silent test publishes). |