List test cases
list_test_casesFetch paginated test cases for a project. Filter by approval status, module, mode, or requirement key; use count view with mode to get total cases.
Instructions
List test cases for a project. Paginated (50 per page). Optionally filter by ONE of: approvalstatus, moduleKey, mode, or requirementKey — the QA Touch API rejects multiple filters in one request. view: "count" (only valid together with mode) returns just the count.
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": {
"projectKey": "<projectKey>"
},
"name": "list_test_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Filter by mode | |
| page | No | Page number (default 1) | |
| view | No | With `mode` only: return the count or the list | |
| moduleKey | No | Filter by module key | |
| projectKey | Yes | Project key | |
| approvalstatus | No | Filter by approval status: Rejected, Approved or Re-Verify | |
| requirementKey | No | Filter by requirement key |