create_chart
Create charts in Excel worksheets from a contiguous data range or explicit series, with options for chart type, title, axes, placement, and styling.
Instructions
Create chart in worksheet from a contiguous range or explicit series.
This is the preferred chart authoring entry point; explicit-series calls are
also still available via create_chart_from_series for backward compatibility.
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": {
"filepath": "<filepath>",
"sheet_name": "<sheet_name>",
"chart_type": "<chart_type>"
},
"name": "create_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| title | No | ||
| width | No | ||
| height | No | ||
| series | No | ||
| x_axis | No | ||
| y_axis | No | ||
| filepath | Yes | Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing. | |
| placement | No | ||
| chart_type | Yes | ||
| data_range | No | ||
| sheet_name | Yes | ||
| target_cell | No | ||
| categories_range | No |