plot_function
Plot mathematical functions as 2D curves with customizable ranges, labels, and visual settings.
Instructions
Plot one or more functions as 2D curves.
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": {
"expression": "<expression>"
},
"name": "plot_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | ||
| variable | No | x | |
| x_range | No | ||
| num_points | No | ||
| title | No | ||
| xlabel | No | ||
| ylabel | No | ||
| grid | No | ||
| dark_mode | No | ||
| figsize | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||