add_text_annotation
Add a text label to a graph at specified data coordinates. Use for annotating specific data points or regions.
Instructions
Add a text label to a graph at data coordinates.
Args: graph_name: Graph name text: Annotation text (no quotes, line breaks, or ';') x: X position in data coordinates y: Y position in data coordinates name: Internal object name (letters/numbers/underscore)
Returns: Success message
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": {
"graph_name": "<graph_name>",
"text": "<text>",
"x": "<x>",
"y": "<y>"
},
"name": "add_text_annotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | Yes | ||
| text | Yes | ||
| x | Yes | ||
| y | Yes | ||
| name | No | anno |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |