netbox_update_object
Modify existing NetBox objects by specifying object type, ID, and update data to maintain accurate infrastructure records.
Instructions
Update an existing object in NetBox.
Args: object_type: String representing the NetBox object type (e.g. "devices", "ip-addresses") object_id: The numeric ID of the object to update data: Dict containing the object data to update (only changed fields needed)
Returns: The updated object as a dict
Example: To update a site's description: netbox_update_object("sites", 1, {"description": "Updated description"})
To change a device's status: netbox_update_object("devices", 5, {"status": "offline"})
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes | ||
object_id | Yes | ||
object_type | Yes |