List Test Cases
tm_list_test_casesFind test cases in a project by folder, priority, automation status, type and tags (filters combine), and by search, which matches the test case ID (for example TC-123) or the title and needs at least 3 characters. Returns summaries, 25 per page by default (up to 50), and the total. For one case's steps and fields use tm_get_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": {
"project_id": "<project_id>"
},
"name": "tm_list_test_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based, default 1) | |
| tags | No | Filter by tags | |
| type | No | Filter by test type (for example Functional, Regression, Smoke & Sanity). Validated against the project's list. | |
| limit | No | Results per page (default 25, maximum 50) | |
| search | No | Test case ID (TC-123) or a title keyword, at least 3 characters | |
| priority | No | Filter by priority (for example Low, Medium, High). A value outside the project's priority list is rejected with the valid values. | |
| folder_id | No | Only cases in this folder | |
| project_id | Yes | Project ID (ULID) | |
| automation_status | No | Filter by automation status (for example Automated, Not Automated, To Be Automated). Validated against the project's list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Test case summaries | |
| pagination | Yes | Paging details for this page |