addBdd
Import Gherkin .feature files into TestRail sections, creating BDD test cases with scenarios and steps.
Instructions
Imports/uploads a .feature file (Gherkin BDD scenario) into a TestRail section. Creates a new test case with BDD template (template_id=4) and populates the custom_testrail_bdd_scenario field. REQUIRED: sectionId, featureContent (raw Gherkin text including Feature:, Scenario:, Given/When/Then).
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": {
"sectionId": "<sectionId>",
"featureContent": "<featureContent>"
},
"name": "addBdd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sectionId | Yes | TestRail Section ID where the BDD case will be created | |
| featureContent | Yes | Raw Gherkin .feature file content (plain text) |