export_chart
Create visual charts from Excel data and export them as images. Specify data columns, chart type, and sheet to generate charts for analysis and presentation.
Instructions
Create a chart from Excel data and return as an image.
Args:
file_path: Path to the Excel file
x_column: Column to use for x-axis
y_column: Column to use for y-axis
chart_type: Type of chart ('line', 'bar', 'scatter', 'hist')
sheet_name: Name of the sheet to chart (for Excel files)
Returns:
Chart as image
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": {
"file_path": "<file_path>",
"x_column": "<x_column>",
"y_column": "<y_column>"
},
"name": "export_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| x_column | Yes | ||
| y_column | Yes | ||
| chart_type | No | line | |
| sheet_name | No |