graphql_query
Run a GraphQL query against the sales API to access orders, customers, products, and analytics.
Instructions
Run a raw GraphQL query against the sales API.
Args:
query: The GraphQL query string
variables: Optional variables for the query
Returns:
Dict containing the GraphQL response or error information
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": {
"query": "<query>"
},
"name": "graphql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| variables | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |