Spawn a machine
htb_launch_machineStart an active or retired Hack The Box machine by name or ID, then wait for its IP. Set replace to terminate another running machine first and avoid launch rate limits.
Instructions
Spawn an active or retired machine and wait for its IP. If another machine is active, set replace=true to terminate it first. HTB limits machine actions to roughly one per minute.
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": {
"target": "<target>"
},
"name": "htb_launch_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Machine or challenge name/slug, or numeric ID. | |
| replace | No | Terminate a different active machine before spawning. | |
| wait_seconds | No | How long to wait for an IP before returning a spawning status. |