Get Test Run Results
get_test_run_resultsFetches test cases in a Tuskr test run with their latest results, letting you filter by status such as FAILED to identify cases needing re-checking after a fix.
Instructions
Fetches the test cases in a test run together with their latest result.
The main use is confirmation testing: pass status='FAILED' to get back only the test cases that need re-checking after a fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | page number to fetch, 100 records per page. Default is 1. Ignored when fetch_all_pages is True. | |
| status | No | a result status key, or a list of them, e.g. 'FAILED' or ['RETEST', 'FAILED']. Only test cases whose current status is one of these are returned. Status keys are configured per tenant, so use the keys defined in your own Tuskr account. | |
| test_run | Yes | ID of the test run. Tuskr addresses the run in the URL path for this endpoint, so unlike the other tools a run name is not accepted here. | |
| test_cases | No | a test case ID, key or name, or a list of them. Only the matching test cases are returned. | |
| trim_response | No | if True (default), each row's nested testCase object is reduced to id, key, name and testRunTestCases (this run's own result and its linked issue keys). The full object also carries the case's entire resultHistory and every issue key ever linked to it, which can push a busy run past the MCP transport size limit. Set it to False when that history is genuinely needed. | |
| fetch_all_pages | No | if True, walks every page and returns the combined rows. Tuskr rate-limits every plan at 10 requests/second, so prefer a status or test_cases filter over fetching everything. |