update_static_route
Modify an existing pfSense static route by ID to change its destination network, gateway, description, or disabled state, with optional immediate apply.
Instructions
Update an existing static route 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": {
"route_id": "<route_id>"
},
"name": "update_static_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| descr | No | Description | |
| gateway | No | Gateway name to route through | |
| network | No | Destination network in CIDR notation | |
| disabled | No | Whether the route is disabled | |
| route_id | Yes | Static route ID (from search_static_routes) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||