validate_graphql_query
Validate a GraphQL query, optionally using the original natural language query for context, and update the query history.
Instructions
Validate and update a GraphQL query
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": "validate_graphql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| history_id | No | Optional history ID to update | |
| graphql_query | Yes | The GraphQL query to validate | |
| natural_language_query | No | The original natural language query for context |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |