connect
Connect to Mullvad VPN with optional relay location selection. Specify country, city, or hostname to set the VPN server; otherwise uses current configuration. Returns VPN status including connection state, relay hostname, and IP addresses.
Instructions
Connect to Mullvad VPN.
Optionally set the relay location before connecting. If no location parameters are provided, connects using the currently configured relay.
Args: country: Two-letter country code (e.g. "se", "us"). city: Three-letter city code (e.g. "got", "nyc"). hostname: Specific server hostname (e.g. "se-got-wg-004").
Returns: Current VPN status after the connect attempt, including connection state, relay hostname, country, city, and IP addresses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | ||
| city | No | ||
| hostname | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||