add_case
Create new test cases in TestRail by specifying section, title, and optional details like steps, expected results, and priority.
Instructions
Create a new test case
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 |
|---|---|---|---|
| section_id | Yes | Section ID | |
| title | Yes | Test case title | |
| template_id | No | Template ID (optional) | |
| type_id | No | Test case type ID (optional) | |
| priority_id | No | Priority ID (optional) | |
| estimate | No | Time estimate (optional) | |
| milestone_id | No | Milestone ID (optional) | |
| refs | No | References/Requirements (optional) | |
| custom_preconds | No | Preconditions (optional) | |
| custom_steps | No | Test steps (optional) | |
| custom_expected | No | Expected result (optional) | |
| custom_autostat | No | Automation Status (optional) | |
| custom_steps_separated | No | Separated test steps (optional). Array of step objects with content/expected or shared_step_id |