Update Device_role
netbox_update_device_roleUpdate a NetBox device role by providing its ID and only the fields to change. Unspecified fields remain unchanged.
Instructions
Update an existing device_role in NetBox (PATCH semantics — only provided fields are changed).
Supply the numeric 'id' and only the fields you want to change. Omitting a field leaves it unchanged.
Returns: Markdown summary of the updated object (default) or JSON with the full NetBox response.
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": {
"id": "<id>"
},
"name": "netbox_update_device_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id of the device_role to update. | |
| name | No | ||
| slug | No | ||
| tags | No | Optional array of tag slugs to apply to the object. | |
| color | No | ||
| parent | No | ||
| vm_role | No | ||
| description | No | ||
| custom_fields | No | Optional object of custom-field slugs -> values. Only include fields defined on your NetBox instance. | |
| config_template | No | ||
| response_format | No | Output format: 'markdown' (default, human-readable) or 'json' (full structured payload). Use 'json' when chaining follow-up tool calls. | markdown |