execute_graphql
Execute any GraphQL query or mutation against the API when no dedicated tool exists. Supply the query string and optionally variables, bearer token, or custom headers.
Instructions
Execute any GraphQL query or mutation against the API. Use this when no specific tool exists for your operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Full GraphQL query or mutation string including selection set | |
| variables | No | Variables for the operation | |
| bearer_token | No | Bearer token to authenticate this request (overrides GRAPHQL_TOKEN) | |
| custom_headers | No | Additional request headers as key-value pairs, e.g. {"X-Tenant-ID": "abc"} |