analyze_chart
Analyze charts, graphs, diagrams, and UI screenshots to extract insights and answer specific questions about data visualizations, flowcharts, and technical layouts.
Instructions
Analyze a chart, graph, diagram, or UI screenshot.
Specialised for understanding data visualisations, technical diagrams, flowcharts, and UI screenshots where spatial layout and relationships matter.
Args: image: The chart/diagram image (file path, URL, or base64). question: Optional specific question about the chart. If empty, a general analysis is performed.
Returns: A text analysis of the chart or diagram.
Examples: >>> analyze_chart("/tmp/q1_revenue.png") >>> analyze_chart("/tmp/architecture.png", "What are the main components?")
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": {
"image": "<image>"
},
"name": "analyze_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | ||
| question | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |