graphql_query
Send GraphQL queries or mutations to an endpoint, including variables, headers, and operation names, to test API requests and inspect responses.
Instructions
Send a GraphQL query or mutation to an endpoint. Supports variables and operation names.
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": "graphql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| query | Yes | GraphQL query or mutation string | |
| headers | No | ||
| confirmed | No | Set to true to confirm sending to an external URL after reviewing it | |
| variables | No | ||
| operation_name | No |