xray_graphql
Execute GraphQL queries against Xray Cloud API to fetch advanced test data such as test runs, steps, preconditions, and test sets.
Instructions
Executes a GraphQL query against Xray Cloud. Only available for cloud deployments. Use this for advanced Xray-specific queries like fetching test runs, test steps, preconditions, or test sets.
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": "xray_graphql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | GraphQL query string to execute against the Xray Cloud API. | |
| variables | No | Variables for the GraphQL query. |