vex_schema
Inspect Vendure Admin GraphQL schema details to discover types, operations, custom fields, and permissions, including signatures and filters for queries or mutations.
Instructions
Discover the Vendure Admin GraphQL schema (types, operations, custom fields).
Actions:
describe_type: Return SDL for a type and its referenced types (depth 1 or 2); skips built-in scalars.
list_custom_fields: List an entity's custom fields; null if it has no typed customFields block.
list_operations: List top-level queries/mutations, optionally filtered by kind and substring.
describe_operation: Return an operation's SDL signature plus SDL for its arg and return types.
list_permissions: List Permission enum values (incl. custom plugin permissions) with descriptions.
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": {
"action": "<action>"
},
"name": "vex_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Target env name (default: VEX_ENV, else active). | |
| kind | No | Filter by operation kind. | |
| name | No | Operation (root field) name (e.g. 'customers', 'createCustomer'). | |
| depth | No | Depth of referenced-type expansion. Default 1, max 2. | |
| action | Yes | Operation to perform; see description for valid values. | |
| search | No | Case-insensitive substring filter on the operation name. | |
| typeName | No | Entity type name (e.g. 'Customer', 'Product', 'Order'). |