update_gateway
Update an existing pfSense routing gateway by ID, including its name, IP address, monitor, interface, weight, protocol, description, or disabled state, then apply changes immediately.
Instructions
Update an existing routing gateway by ID
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": {
"gateway_id": "<gateway_id>"
},
"name": "update_gateway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Gateway name | |
| descr | No | Description | |
| weight | No | Gateway weight for load balancing (1-30) | |
| gateway | No | Gateway IP address | |
| monitor | No | Monitor IP address | |
| disabled | No | Whether the gateway is disabled | |
| interface | No | Interface for the gateway | |
| gateway_id | Yes | Gateway ID (from search_gateways) | |
| ipprotocol | No | IP protocol version (inet or inet6) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||