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.
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 |