refine_chart
Modify an existing chart by providing its ID and describing changes, such as updating colors or titles.
Instructions
Modify an existing chart. Provide the chart ID from a previous generation and describe what to change.
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": {
"chartId": "<chartId>",
"modification": "<modification>"
},
"name": "refine_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chartId | Yes | The chart ID from a previous generate_chart call | |
| modification | Yes | What to change about the chart, e.g. 'make the bars blue', 'add a title', 'remove the legend' |