plot_math_function
Generate 2D plots of mathematical functions using Desmos API or local rendering to visualize equations with customizable x and y ranges.
Instructions
Generates a 2D plot. Tries Desmos API if available, otherwise falls back to local rendering.
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": {
"formula": "<formula>"
},
"name": "plot_math_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formula | Yes | ||
| x_range | No | ||
| y_range | No | ||
| use_api | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |