Save a VPN profile
save_profileSaves a local OpenVPN or WireGuard profile into the encrypted keyhop vault with Touch ID confirmation, inlining referenced certificate, key, and auth files without revealing their contents.
Instructions
Saves a VPN profile from a file on this machine (.ovpn or WireGuard .conf) into the encrypted keyhop vault; the user confirms with Touch ID. Referenced cert/key files and an auth-user-pass file are inlined. You never see the contents. Profiles that need a password not in the file, or OpenConnect/IPsec profiles, must be added by the user in a terminal: vpnhop add.
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": {
"name": "<name>",
"file": "<file>"
},
"name": "save_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the .ovpn or WireGuard .conf file. | |
| name | Yes | Profile name: lowercase letters, digits, - and _. | |
| type | No | ||
| allowHosts | No | Hosts http_request may reach through this profile. | |
| description | No |