add_case
Create a new TestRail test case in a specified section, with fields for title, steps, expected results, priority, and references. Use it to add cases directly to project sections.
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": "add_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | No | Comma-separated reference IDs | |
| title | Yes | Test case title | |
| type_id | No | ||
| estimate | No | Time estimate, e.g. '30s', '1m 45s' | |
| section_id | Yes | Section ID to add the case to | |
| priority_id | No | ||
| template_id | No | ||
| custom_steps | No | Test steps (text format) | |
| milestone_id | No | ||
| custom_expected | No | Expected result (text format) | |
| custom_preconds | No | Preconditions | |
| custom_steps_separated | No | Separated test steps |