block_ip
Block an IP address at the Hostkey network level to handle abuse requests. Optionally set automatic unblock after 4 hours and specify a reason.
Instructions
Block an IP address on the server at the Hostkey network level (net/block_ip). Useful for abuse requests.
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": {
"id": "<id>",
"ip": "<ip>",
"description": "<description>",
"confirm": "<confirm>"
},
"name": "block_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Server ID | |
| ip | Yes | IP address | |
| confirm | Yes | Must be true to run the operation. | |
| four_hours | No | true — block is automatically lifted after 4 hours | |
| description | Yes | Block reason |