plot_line
Plot a line graph from x and y data, returning PNG. Customize title and axis labels.
Instructions
根据 x/y 数据绘制折线图,返回 PNG 图像。
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": "plot_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| title | No | ||
| xlabel | No | x | |
| ylabel | No | y |