generate_plot_securely
Generate line or scatter charts from numerical data in an isolated Azure sandbox, then save the plot as a PNG locally. Provides secure remote visualization for AI agents.
Instructions
Generate line or scatter charts from x and y data in an isolated Azure sandbox, enabling secure remote data visualization for AI agents.
ARCHITECTURE NOTE: The remote sandbox generates the plot, but the local MCP client intercepts the base64 payload and securely writes it directly to the user's local home directory as a PNG.
Use this tool to visually represent numerical trends. Keep data arrays under 10,000 points to prevent sandbox timeouts.
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": {
"x": "<x>",
"y": "<y>"
},
"name": "generate_plot_securely"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | A list of numerical values for the X-axis. Must be the exact same length as y. | |
| y | Yes | A list of numerical values for the Y-axis. Must be the exact same length as x. | |
| title | No | The text string to display at the top of the chart. | Data Plot |
| x_label | No | The text string to label the X-axis. | X |
| y_label | No | The text string to label the Y-axis. | Y |
| chart_type | No | The visual style of the chart. Must be exactly 'line' or 'scatter'. | line |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |