update_router
Modify an existing Neutron router's name, description, admin state, external gateway, SNAT, or routes without recreating it.
Instructions
Update a Neutron router. Service: Neutron (network). Mutates state.
routes items use destination and nexthop. Setting external_network_id replaces the gateway.
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": {
"router_id": "<router_id>"
},
"name": "update_router"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| routes | No | ||
| router_id | Yes | ||
| description | No | ||
| enable_snat | No | ||
| admin_state_up | No | ||
| external_network_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||