update_default_gateway
Set or change the pfSense default IPv4 or IPv6 gateway by specifying an existing gateway name, with an option to apply changes immediately.
Instructions
Update the default gateway settings
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_default_gateway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| defaultgw4 | No | Default IPv4 gateway name (must match an existing gateway name) | |
| defaultgw6 | No | Default IPv6 gateway name (must match an existing gateway name) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||