Resolve and download the VPN
htb_vpn_resolvePicks a low-load Hack The Box VPN server or specified server_id, switches if needed, downloads and resolves the OpenVPN profile, and optionally connects.
Instructions
Pick the least-busy server (or use server_id), switch if needed, download the OpenVPN profile, resolve its remote hostname, and optionally connect. Blocks switching while a machine is active unless force=true. Does not connect unless connect=true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "htb_vpn_resolve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Allow a server switch while a machine is active. | |
| probe | No | Resolve DNS and try ICMP latency. | |
| connect | No | Start OpenVPN after downloading the profile. | |
| product | No | HTB VPN product. Lab machines use 'labs'. | labs |
| protocol | No | OpenVPN transport protocol. | udp |
| server_id | No | ||
| select_best | No | Automatically choose the least-busy server in the current tier. |