Manage IPSec Policy
manage_ipsec_policyAdd, remove, enable, or disable IPSec policies with idempotent operations keyed by source, destination, and tunnel mode.
Instructions
Add, remove, enable, or disable an IPSec policy. Idempotent by composite key (srcAddress + dstAddress + tunnel).
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": {
"action": "<action>",
"srcAddress": "<srcAddress>",
"dstAddress": "<dstAddress>"
},
"name": "manage_ipsec_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | SA level | require |
| action | Yes | Action to perform | |
| dryRun | No | Preview changes without applying. | |
| tunnel | No | Tunnel mode — part of composite idempotency key | |
| routerId | No | Router ID; omit to use the default router. | |
| dstAddress | Yes | Destination CIDR — part of composite idempotency key | |
| srcAddress | Yes | Source CIDR — part of composite idempotency key | |
| ipsecAction | No | IPSec action (required for add) | |
| saDstAddress | No | SA destination IP for tunnel mode | |
| saSourceAddress | No | SA source IP for tunnel mode | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |