mcp4gql

by jorgeraad
MIT License
0
1

executeGraphQLOperation

Execute GraphQL queries or mutations on target APIs by providing a query string and optional variables. Use introspectGraphQLSchema to identify available operations.

Instructions

Executes an arbitrary GraphQL query or mutation against the target API. Use introspectGraphQLSchema first to understand the available operations.

Input Schema

NameRequiredDescriptionDefault
operationNameNoAn optional name for the operation, if the query contains multiple operations.
queryYesThe GraphQL query string to execute.
variablesNoAn optional object containing variables for the query.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "operationName": { "description": "An optional name for the operation, if the query contains multiple operations.", "type": "string" }, "query": { "description": "The GraphQL query string to execute.", "type": "string" }, "variables": { "additionalProperties": {}, "description": "An optional object containing variables for the query.", "type": "object" } }, "required": [ "query" ], "type": "object" }

You must be authenticated.

Other Tools from mcp4gql

Related Tools

ID: bfuylp4yph