htb_hosts_remove
Remove a Hack The Box host entry from the managed /etc/hosts block by hostname or IP, keeping lab mappings accurate.
Instructions
Remove an HTB host entry from the managed block by hostname or IP.
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": {
"selector": "<selector>"
},
"name": "htb_hosts_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | Hostname or IP to remove |