vex_operations
Manage saved replayable GraphQL queries and mutations: list, inspect, run with default or overridden variables, and delete persisted operations.
Instructions
Manage saved (replayable) GraphQL operations: queries or mutations persisted with default variables. (Distinct from vex_schema's list_operations, which lists schema-defined operations.)
Actions:
list: List saved operations, optionally filtered by kind or root field.
get: Return the full saved-operation record (name, kind, rootField, document, default variables, timestamps).
run: Execute a saved operation by name. Override top-level variables (shallow merge) or replace them entirely.
delete: Delete a saved operation.
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_operations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Target env name (default: VEX_ENV, else active). | |
| kind | No | Filter by operation kind. | |
| name | No | Saved operation name (CamelCase). | |
| action | Yes | Operation to perform; see description for valid values. | |
| rootField | No | Filter by the root field name (e.g. `contents`, `createCustomer`). | |
| replaceVariables | No | If set, replaces the saved defaults entirely before applying variableOverrides. Use this when the saved variables are stale. | |
| variableOverrides | No | Top-level variable overrides merged into the saved defaults. Pass values as their real JSON types (e.g. `true`, `42`, `{...}`). |