update_gherkin_test_definition
Updates a Cucumber test's Gherkin scenario definition through GraphQL using Xray credentials, so you can revise test steps and expected behavior from your IDE.
Instructions
Update the Gherkin scenario definition of a Cucumber test via GraphQL (requires Xray credentials).
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": {
"test_key": "<test_key>",
"gherkin": "<gherkin>"
},
"name": "update_gherkin_test_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gherkin | Yes | Full Gherkin scenario text | |
| test_key | Yes | Jira issue key of the test (e.g. "PROJ-123") |