search_cases
Search and filter test cases in a Testmo project by folder, status, state, template, user, dates, and automation, with sorting and paging.
Instructions
Search for cases in a project with advanced filtering options.
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": "search_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| sort | No | Sort by field | |
| order | No | Sort order | |
| per_page | No | Number of cases per page (15, 25, 50, 100) | |
| state_id | No | Filter by state IDs | |
| folder_id | No | Filter by folder IDs | |
| status_id | No | Filter by status IDs | |
| project_id | Yes | The project ID as integer | |
| updated_by | No | Filter by user IDs | |
| template_id | No | Filter by template IDs | |
| created_after | No | Filter by cases created after (ISO8601 UTC) | |
| created_before | No | Filter by cases created before (ISO8601 UTC) | |
| has_automation | No | Filter cases with/without automation links | |
| has_automation_status | No | Filter cases with/without automation status |