create_ipsec_phase2_encryption
Creates an IPsec Phase 2 encryption entry under a parent Phase 2 ID, letting you set the encryption algorithm and optional key length for VPN tunnel security.
Instructions
Create an IPsec Phase 2 encryption entry
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": {
"parent_id": "<parent_id>",
"encryption_algorithm_name": "<encryption_algorithm_name>"
},
"name": "create_ipsec_phase2_encryption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dhgroup | No | NOT part of a Phase 2 encryption entry (belongs to Phase 1) — accepted for compatibility but not sent. | |
| parent_id | Yes | Parent Phase 2 ID | |
| prf_algorithm | No | NOT part of a Phase 2 encryption entry — accepted for compatibility but not sent. | |
| hash_algorithm | No | NOT part of a Phase 2 encryption entry (hashes live on the Phase 2 object as hash_algorithm_option) — accepted for compatibility but not sent. | |
| apply_immediately | No | Whether to apply changes immediately | |
| encryption_algorithm_name | Yes | Encryption algorithm name (e.g., 'aes', 'aes128gcm', 'aes256gcm', 'chacha20poly1305') | |
| encryption_algorithm_keylen | No | Key length for the encryption algorithm (e.g., 128, 192, 256) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||