create_line_chart
Creates a line chart from multiple data series and x-axis labels, returning an Excalidraw file with auto-scaled axes and color-coded series.
Instructions
Create a line chart with one or more data series.
Generates a line chart with auto-scaled Y axis, X-axis labels, and color-coded series.
Args: series: List of data series with label and points x_labels: Labels for the X axis title: Optional chart title output_path: Optional output file path theme: Color theme
Returns: Absolute path to the generated .excalidraw file
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": {
"series": "<series>",
"x_labels": "<x_labels>"
},
"name": "create_line_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | light | |
| title | No | ||
| series | Yes | ||
| x_labels | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |