Add chart comment
add_commentPost comments or replies on Datawrapper charts under your name so collaborators with chart access see feedback in the editor; supports Markdown and @mentions.
Instructions
Datawrapper: post a comment (or a reply to one) on a chart under the user's name; everyone with access to the chart sees it in the editor. Comments support Markdown; @mentions of team members notify them. 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": {
"chart_id": "<chart_id>",
"text": "<text>"
},
"name": "add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Comment text. | |
| chart_id | Yes | ||
| reply_to | No | Comment id to reply to (see get_comments). | |
| 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. |