oc_graphql_request
Send a GraphQL query to a target URL and return the full server response, with optional headers, variables, and timeout; scope enforcement validates the host against engagement targets.
Instructions
Send a GraphQL query and return the full server response. 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": {
"url": "<url>",
"query": "<query>"
},
"name": "oc_graphql_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| query | Yes | ||
| headers | No | ||
| timeout | No | ||
| variables | No | ||
| engagement_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||