List OSPF Neighbors
list_ospf_neighborsRetrieve OSPF neighbor details from MikroTik RouterOS 7+ to monitor adjacency state, interface, DR/BDR, and uptime. Filter by state or router ID to diagnose OSPF issues.
Instructions
List OSPF neighbors on a MikroTik router (RouterOS 7+). Returns neighbor state, interface, DR/BDR, and uptime.
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": "list_ospf_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Filter by neighbor state (e.g. full, 2-way, init) | |
| routerId | No | Router ID; omit to use the default router. |