pt_add_note
Writes a text note directly on the Packet Tracer canvas to label subnets, OSPF areas, or trunk links. Returns the note ID so you can delete it later.
Instructions
Writes a text note on PT's canvas.
Use it to document the topology on the diagram itself: label a subnet, mark an OSPF area, name a trunk link. Returns the note's id, which can be used to delete it later.
The coordinates are the same logical-canvas ones that pt_add_device and pt_move_device use: routers ~y=100, switches ~y=250, hosts ~y=400.
The font size is NOT configurable: PT fixes it and uses that parameter for the stacking order, which the tool computes by itself.
Parameters:
x, y: position on the canvas.
text: the note's content.
Example: pt_add_note(x=300, y=100, text="LAN 192.168.0.0/24")
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>",
"text": "<text>"
},
"name": "pt_add_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| text | Yes |