Show an interactive graph
show_graphDisplay an interactive equation.io graph inside the conversation, with editable equations, sliders, pan/zoom, and 3D rotation. Use when the user asks to see or explore a graph. Pass the COMPLETE graph as "equations", one equation or definition per string, preserving unchanged rows when editing. For a slider use "a = 2" then "y = a sin(x)". For advanced syntax read the "syntax" resource (https://equation.io/llms.txt). Returns per-row validation and share links; a row with status "error" is not drawn until its text is corrected and the graph resubmitted. Use encode_graph_url for validation or link-only requests (including share-link preview notes). In clients without UI support, provide share_url.
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": {
"equations": "<equations>"
},
"name": "show_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| equations | Yes | Every equation in the graph, in display order. One equation or definition per string — do not join rows with ";" (inside quoted text a ";" is data, and kept). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Graph URL using a #-fragment. | |
| rows | Yes | ||
| valid | Yes | ||
| share_url | Yes | Shareable /g/ graph URL. |