Switch VPN server
htb_vpn_switchSwitch your account to another HTB VPN server by server ID; set force=true to allow switching while a machine is active.
Instructions
Assign your account to another VPN server. HTB may terminate an active machine when the server changes, so this tool refuses unless force=true. Prefer htb_vpn_resolve for automatic least-busy selection.
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": {
"server_id": "<server_id>"
},
"name": "htb_vpn_switch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Allow switching while a machine is active. | |
| product | No | HTB VPN product. Lab machines use 'labs'. | labs |
| server_id | Yes | VPN server ID from htb_vpn_servers. |