get_device_ipsec_phase1_interface
Retrieve one IPsec phase1-interface (remote gateway) from a device database by device and name, optionally in a VDOM; credential fields are stripped.
Instructions
Get one IPsec phase1-interface (remote gateway) from a device's device DB.
Args: device: Managed device name name: Phase1-interface (remote gateway) name vdom: VDOM it lives in (default "root")
Returns: dict with device, vdom and the stored object (credential fields stripped -- see _PHASE1_SECRET_FIELDS), or a not_found error
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": "<device>",
"name": "<name>"
},
"name": "get_device_ipsec_phase1_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| vdom | No | root | |
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||