get_cases
List test cases for a TestRail project with optional filters for suite, section, priority, milestone, type, and timestamps to retrieve targeted cases.
Instructions
List test cases for a project with optional filters
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": {
"project_id": "<project_id>"
},
"name": "get_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (1-250) | |
| offset | No | Number of records to skip | |
| type_id | No | Comma-separated type IDs | |
| suite_id | No | Suite ID | |
| project_id | Yes | Project ID | |
| section_id | No | Section ID | |
| priority_id | No | Comma-separated priority IDs | |
| milestone_id | No | Milestone ID | |
| created_after | No | Unix timestamp | |
| updated_after | No | Unix timestamp | |
| created_before | No | Unix timestamp | |
| updated_before | No | Unix timestamp |