ospf_neighbors
List OSPF neighbor adjacencies on a MikroTik device, showing address, state, router-id, and adjacency to verify routing health.
Instructions
List OSPF neighbor adjacencies (/routing/ospf/neighbor): address, state (Full/Down/...), router-id, adjacency.
Returns an empty list (never an error) for a device that doesn't run OSPF at all.
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": {
"device_name": "<device_name>"
},
"name": "ospf_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |