testrail_add_case
Create a new test case in a specified TestRail section by supplying a section ID and title, plus optional steps, priority, and references.
Instructions
Create a new test case in a section
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": {
"section_id": "<section_id>",
"title": "<title>"
},
"name": "testrail_add_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | No | Optional references (e.g., ticket IDs) | |
| title | Yes | The title of the test case | |
| type_id | No | Optional type ID | |
| estimate | No | Optional estimate (e.g., "30s", "1m", "2h") | |
| section_id | Yes | The ID of the section to add the case to | |
| priority_id | No | Optional priority ID (1=Low, 2=Medium, 3=High, 4=Critical) | |
| template_id | No | Optional template ID | |
| custom_steps | No | Optional test steps | |
| custom_expected | No | Optional expected result | |
| custom_preconds | No | Optional preconditions |