list_ipsec_phase1
Lists IPsec phase-1 interfaces for a FortiGate device, including type, remote gateway, IKE version, proposals, and peer settings with PSKs redacted. Use it to review VPN configuration details.
Instructions
List IPsec phase-1 interfaces: type, remote gateway, IKE version, proposals, peer settings (PSKs redacted).
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": {
"device_id": "<device_id>"
},
"name": "list_ipsec_phase1"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |