Add a Line Annotation
add_line_annotationDraws a line on the logical workspace to separate sites, mark a WAN boundary, or underline a label, and returns the line's ID.
Instructions
Draw a line on the logical workspace, e.g. to separate sites, mark a WAN boundary, or underline a label. Returns the line's id.
Examples:
"Draw a red line between the HQ and branch halves of the topology"
"Underline the title note"
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": {
"start_x": "<start_x>",
"start_y": "<start_y>",
"end_x": "<end_x>",
"end_y": "<end_y>"
},
"name": "add_line_annotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | RGB as 'r,g,b' | 0,0,0 |
| end_x | Yes | Logical-workspace coordinate in pixels | |
| end_y | Yes | Logical-workspace coordinate in pixels | |
| width | No | Line width in pixels | |
| start_x | Yes | Logical-workspace coordinate in pixels | |
| start_y | Yes | Logical-workspace coordinate in pixels |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |