execute_graphql_query
Execute a GraphQL query against an API with optional variable support and result visualization.
Instructions
Execute a GraphQL query and optionally visualize the results
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": {
"graphql_query": "<graphql_query>"
},
"name": "execute_graphql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables | No | Optional variables for the GraphQL query | |
| history_id | No | Optional history ID to update | |
| graphql_query | Yes | The GraphQL query to execute | |
| natural_language_query | No | The original natural language query for context |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |