plot_sine_wave
Plots a sine wave and saves it as a PNG file, providing a simple plot artifact for inspection or reporting workflows.
Instructions
Plot a sine wave and save it as a PNG in output_dir.
Use this tool when a workflow needs a simple generated plot artifact for
downstream inspection or reporting.
Args:
output_dir: Directory where the PNG should be written.
num_points: Number of samples to plot. Must be at least 2.
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": {
"output_dir": "<output_dir>"
},
"name": "plot_sine_wave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num_points | No | ||
| output_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| status | Yes | ||
| message | Yes | ||
| metadata | Yes |