create_test_script
Generate or update test scripts for Zephyr Scale Cloud test cases using Gherkin or plain text formats to define testing procedures.
Instructions
Create or update a test script for a test case (removes existing test steps)
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": {
"testCaseKey": "<testCaseKey>",
"text": "<text>"
},
"name": "create_test_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testCaseKey | Yes | Test case key (format: [A-Z]+-T[0-9]+) | |
| text | Yes | Test script content (Gherkin format for bdd type, plain text for plain type) | |
| type | No | Script type (default: bdd) | bdd |