get_device_neighbors
Retrieve neighboring devices and resources in the network topology by device ID, with optional depth to control search range.
Instructions
Get neighboring devices/resources based on topology
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_id": "<device_id>"
},
"name": "get_device_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Depth of neighbor search | |
| device_id | Yes | Device ID |