Plot Multi Expression
plot_multi_expressionPlot multiple mathematical expressions on a single 2D graph to visually compare their behavior, returning a rendered image.
Instructions
Plot multiple expressions overlaid on a single 2D graph, as a rendered image
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": {
"expressions": "<expressions>"
},
"name": "plot_multi_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Workspace to use, as a name or a portable handle. Workspaces have independent variables. A name is scoped to this MCP session; a handle returned by start_sage_session (workspace_token) reaches the same workspace across reconnects and is a bearer credential -- keep it secret. Omit for 'default'. | default |
| variable | No | Plot variable | x |
| range_max | No | Upper bound of plot range | |
| range_min | No | Lower bound of plot range | |
| expressions | Yes | List of expressions to plot (e.g. ['sin(x)', 'cos(x)']) | |
| image_format | No | Image format to return: 'png' (raster) or 'svg' (vector, smaller) | png |