chart_from_csv
Converts CSV text into a chart by treating the first non-numeric column as labels and numeric columns as datasets, ideal for visualizing pasted or supplied CSV data.
Instructions
Create a chart from CSV text. Best when the user pastes or provides CSV data. The first non-numeric column becomes labels; numeric columns become datasets. Example csv_data: "Name,Score\nAlice,85\nBob,92\nCarol,78"
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": {
"csv_data": "<csv_data>"
},
"name": "chart_from_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| csv_data | Yes | ||
| chart_type | No | bar |