vex_query
Run raw GraphQL queries against the Vendure Admin API, with optional environment and variables, to fetch or mutate store data.
Instructions
Execute a raw 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": {
"query": "<query>"
},
"name": "vex_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Target env name (default: VEX_ENV, else active). | |
| query | Yes | GraphQL query string | |
| variables | No | Variables for the GraphQL query |