netbox_create_object
Create new objects in NetBox infrastructure management system by specifying object type and data parameters to add devices, IP addresses, sites, or other network components.
Instructions
Create a new object in NetBox.
Args: object_type: String representing the NetBox object type (e.g. "devices", "ip-addresses") data: Dict containing the object data to create
Returns: The created object as a dict
Example: To create a new site: netbox_create_object("sites", { "name": "New Site", "slug": "new-site", "status": "active" })
To create a new device: netbox_create_object("devices", { "name": "new-device", "device_type": 1, # ID of device type "site": 1, # ID of site "role": 1, # ID of device role "status": "active" })
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes | ||
object_type | Yes |