HTB Session Health Check
htb_doctorRun a session health check that verifies HTB API key source, API connectivity, active machine, and VPN assignment in one call; use it first to catch setup errors.
Instructions
Session health check: verifies API key resolution (and where the key came from), API connectivity (whoami), the currently active machine, and the VPN assignment in one call. Run this first in any session; exits with an error only when the key or API check fails. Needs HTB_API_KEY (env var or toolkit/.env.local).
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_doctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||