Netbox Get Object
netbox_get_objectRetrieve a single NetBox object by specifying its type and ID. Optionally filter returned fields to reduce token usage.
Instructions
Get one NetBox object by type and ID.
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": {
"object_type": "<object_type>",
"object_id": "<object_id>"
},
"name": "netbox_get_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| omit | No | Drop these fields from the response, e.g. ['config_context', 'custom_fields']. NetBox 4.5.2+. Ignored when 'fields' is set. | |
| brief | No | Return the minimal representation (id, url, display, name). | |
| fields | No | Only return these fields, e.g. ['id', 'name', 'status']. ALWAYS pass this for listings - full objects cost 10x more tokens. | |
| object_id | Yes | Numeric object ID. | |
| object_type | Yes | NetBox object type as 'app.model' (e.g. 'dcim.device', 'ipam.ipaddress', 'virtualization.virtualmachine') or as an API path ('dcim/devices'). netbox_list_object_types lists every type. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||