pt_read_ospf
Reads real OSPF state per router, including router ID, areas, neighbors, roles, and addresses, and flags non-FULL adjacencies, duplicate router IDs, and routers without neighbors.
Instructions
Reads OSPF's REAL state: router-id, areas and neighbours per process.
Each neighbour comes with its state by name (FULL, 2WAY, INIT...), its role (DR/BDR/DROTHER, null on point-to-point), local port and address. Flags neighbours not FULL (2WAY between DROTHERs is normal), duplicate router-ids and routers with OSPF but no neighbours.
Parameters:
device: router name; empty = every router.
Example: pt_read_ospf(device="R1")
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pt_read_ospf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No |