Inventory Device
inventory_deviceRetrieve a device's hardware inventory from LibreNMS with filters for physical class, parent entity, and pagination controls.
Instructions
Get inventory for a device from LibreNMS.
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": {
"hostname": "<hostname>"
},
"name": "inventory_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| offset | No | Number of results to skip (offset) for pagination | |
| hostname | Yes | Device hostname or ID | |
| ent_physical_class | No | Filter by entity physical class (e.g., chassis, module, port, powerSupply, fan, sensor) | |
| ent_physical_contained_in | No | Filter by parent entity index |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||