netbox_get_object_by_id
Retrieve detailed information about a NetBox object by specifying its type and ID, with optional field filtering to minimize response size.
Instructions
Get detailed information about a specific NetBox object by its ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | No | returns only a minimal representation of the object in the response. This is useful when you need only a summary of the object without any related data. | |
| fields | No | Optional list of specific fields to return **IMPORTANT: ALWAYS USE THIS PARAMETER TO MINIMIZE TOKEN USAGE** Field filtering reduces response payload by 80-90% and is critical for performance. - None or [] = returns all fields (NOT RECOMMENDED - use only when you need complete objects) - ['id', 'name'] = returns only specified fields (RECOMMENDED) Examples: - For basic info: ['id', 'name', 'status'] - For devices: ['id', 'name', 'status', 'site'] - For IP addresses: ['address', 'dns_name', 'vrf', 'status'] Uses NetBox's native field filtering via ?fields= parameter. **Always specify only the fields you actually need.** | |
| object_id | Yes | The numeric ID of the object | |
| object_type | Yes | String representing the NetBox object type (e.g. "dcim.device", "ipam.ipaddress") |