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.
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 | |||