Create Prefix
netbox_create_prefixCreate a new IP prefix in NetBox IPAM by specifying the CIDR and optional attributes such as VRF, role, VLAN, status, or tags.
Instructions
Create a new prefix in NetBox.
This adds a new row to NetBox. Ask before calling if the user wanted a dry-run.
Returns: Markdown summary of the newly created object (default) or JSON with the full NetBox response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vrf | No | VRF id; omit for the global table. | |
| role | No | Prefix role id. | |
| tags | No | Optional array of tag slugs to apply to the object. | |
| vlan | No | VLAN id this prefix belongs to. | |
| prefix | Yes | CIDR, e.g. '10.0.0.0/24' (required). | |
| status | No | active | |
| tenant | No | ||
| is_pool | No | ||
| comments | No | ||
| scope_id | No | Numeric id of the scope object (e.g. the site id). | |
| scope_type | No | Scope object type. NetBox 4.2+ replaced the prefix 'site' field with a generic scope; set together with scope_id. | |
| description | No | ||
| custom_fields | No | Optional object of custom-field slugs -> values. Only include fields defined on your NetBox instance. | |
| mark_utilized | No | ||
| response_format | No | Output format: 'markdown' (default, human-readable) or 'json' (full structured payload). Use 'json' when chaining follow-up tool calls. | markdown |