Netbox Create Object
netbox_create_objectCreate one NetBox object from field data and related object IDs, using lookups for foreign keys, and return the created record.
Instructions
Create one NetBox object. Returns the created object.
Look up related objects first (netbox_get_objects) and pass their IDs.
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>",
"data": "<data>"
},
"name": "netbox_create_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Field values. Foreign keys take numeric IDs, e.g. {'name': 'sw01', 'device_type': 4, 'role': 2, 'site': 1, 'status': 'active'}. Tags: [{'name': 'core'}] or [3]. Use netbox_describe_object_type for the fields and choices. | |
| 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 | |||