oc_http_request
Send an HTTP request and return status, headers, and up to 256 KiB of decompressed body, flagging truncation for larger responses and enforcing engagement scope when enabled.
Instructions
Send an HTTP request and return its status, headers and up to 256 KiB of decompressed response body. Larger bodies report truncation and partial coverage. When OPENCYBER_ENFORCE_SCOPE is on, engagement_id is required and the requested host must be in the engagement targets.
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": {
"method": "<method>",
"url": "<url>"
},
"name": "oc_http_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| body | No | ||
| method | Yes | ||
| headers | No | ||
| timeout | No | ||
| engagement_id | No | ||
| follow_redirects | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||