create-chart-using-natural-language
Generate charts directly from natural language descriptions, retrieve a chart image URL, or save the chart to a file with customizable dimensions and data.
Instructions
Create charts from natural language descriptions - get chart image URL or save chart image to file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Whether to get chart URL or save as file | |
backgroundColor | No | Background color | |
data1 | No | First dataset values (comma-separated) | |
data2 | No | Second dataset values (comma-separated) | |
description | Yes | Natural language chart description | |
height | No | Chart height in pixels | |
labels | No | Data labels (comma-separated) | |
outputPath | No | Path where to save the file (only used with action=save_file) | |
title | No | Chart title | |
width | No | Chart width in pixels |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"description": "Whether to get chart URL or save as file",
"enum": [
"get_url",
"save_file"
],
"type": "string"
},
"backgroundColor": {
"description": "Background color",
"type": "string"
},
"data1": {
"description": "First dataset values (comma-separated)",
"type": "string"
},
"data2": {
"description": "Second dataset values (comma-separated)",
"type": "string"
},
"description": {
"description": "Natural language chart description",
"type": "string"
},
"height": {
"description": "Chart height in pixels",
"type": "integer"
},
"labels": {
"description": "Data labels (comma-separated)",
"type": "string"
},
"outputPath": {
"description": "Path where to save the file (only used with action=save_file)",
"type": "string"
},
"title": {
"description": "Chart title",
"type": "string"
},
"width": {
"description": "Chart width in pixels",
"type": "integer"
}
},
"required": [
"action",
"description"
],
"type": "object"
}