Get Test Controls
get_test_controlsRetrieves a Playwright test's controls—assignee, critical/watch status, active quarantine—and last-90-day affected runs to help agents assess test risk and quarantine impact.
Instructions
Read the Test Controls of one test: its assignee, whether it is critical, whether you watch it, and its active quarantine. Also returns affectedRuns from the last 90 days (a total plus the 10 latest): excluded — runs a quarantine kept this test from failing; critical — runs this test failed because it passed only on retry while marked critical. Takes the Playwright test id (testcase_id), as list_testcase returns it.
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": {
"projectId": "<projectId>",
"testcase_id": "<testcase_id>"
},
"name": "get_test_controls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project ID (e.g. project_<id>) | |
| testcase_id | Yes | Playwright pw_test_id of the test |