Build chart option for echart-mcp-view App
echart_mcp_view_app_build_optionValidates chart input and returns a table view model or ECharts option for the current MCP app payload.
Instructions
App-only helper that validates chart input and returns a table view model or ECharts option for the current MCP App payload.
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": {
"chartType": "<chartType>"
},
"name": "echart_mcp_view_app_build_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axes | No | Cartesian axis settings. | |
| data | No | Data payload: source, tree, or nodes/links. | |
| title | No | Chart title. | |
| series | No | Optional per-series definitions. | |
| advanced | No | Renderer and safe option patch. | |
| encoding | No | Data-field to visual-channel mapping. | |
| subtitle | No | Chart subtitle. | |
| chartType | Yes | Chart type. | |
| interaction | No | Interaction controls. | |
| presentation | No | Visual preferences. |