update_static_route
Update a pfSense static route by its ID to change network, gateway, description, or disabled state, and optionally apply the changes right away.
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 | |||