delete_static_route
Permanently removes a static route from pfSense by route ID, with a safety confirmation gate and dry-run preview. Use it to clean up obsolete or incorrect routes.
Instructions
Delete a static route by ID. WARNING: This is irreversible.
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": "delete_static_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be set to True to execute. Safety gate for destructive operations. | |
| dry_run | No | If True, preview the operation without executing. | |
| 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 | |||