htb_api_post
Send POST requests to HTB API endpoints for discovery or mutations. Defaults to API v4, accepts optional JSON body.
Instructions
Call a write HTB API path for endpoint discovery or ad-hoc mutations.
Defaults to API v4. Prefix the path with /api/vN to target another version. Example: path=/api/v5/machine/own body_json={"id":395,"flag":"abc"}
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": {
"path": "<path>"
},
"name": "htb_api_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| body_json | No | {} |