netbox_create_object
Create a single NetBox object by providing its object type and field values. Reference related objects by numeric ID, looking them up first if needed.
Instructions
Create a single new object in NetBox.
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 for the new object. Related objects are referenced by their numeric id, not by name. Look the id up with netbox_get_objects first if you only know the name. Examples: - dcim.site: {"name": "Utrecht", "slug": "utrecht", "status": "active"} - ipam.prefix: {"prefix": "10.20.0.0/24", "status": "active", "site": 3} - ipam.ipaddress: {"address": "10.20.0.5/24", "status": "active", "dns_name": "sw01"} | |
| object_type | Yes | String representing the NetBox object type (e.g. "dcim.device", "ipam.prefix") |