Netbox Get Prefix Utilization
netbox_get_prefix_utilizationCompute utilization for specified prefixes from child address space and utilized IPs to match the NetBox UI when the REST API omits usage data.
Instructions
Get the utilization of prefixes, as shown in the NetBox UI.
A container counts the address space of its child prefixes; any other prefix counts its IP addresses plus IP ranges marked utilized. NetBox's REST API does not return this, so it is computed from the children.
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": {
"prefix_ids": "<prefix_ids>"
},
"name": "netbox_get_prefix_utilization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix_ids | Yes | Prefix IDs. Find them with netbox_get_objects on 'ipam.prefix' (e.g. filters={'site_id': 1}). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||