MCP tool
cascades_list_test_cases
List the pre-registered sandbox test-case subjects for a cascade — the synthetic applicants the CRS Testcase Service has authored for that cascade's products (e.g. specific credit-score bands). Use this when asked to "run the test cases", "try a sample applicant", or to sanity-check a cascade without hand-writing applicant data. Each result carries a ready-to-run `payload` (applicant + property) you pass straight to cascades_trigger_workflow with execution_mode "test". Returns an empty list when the cascade's products have no registered subjects.
REST operation
This tool makes one call:
GET
/api/v1/workflows/{id}/test_cases
— see listWorkflowTestCases in the API reference for the full response schema and error codes.
Input schema
| Argument | Type | Description |
|---|---|---|
workflow_id
required
|
integer |
Workflow id. Only workflows owned by the token's account resolve; a foreign or deleted id returns `404`. |
environment
|
string |
Target environment: "prod" (default) or "dev".
One of:
dev prod |
Example
What the model sends, and the JSON the tool returns (the REST response, verbatim).
{
"name": "cascades_list_test_cases",
"arguments": {
"workflow_id": 157
}
}{
"object": "test_case_list",
"workflow_id": 157,
"test_cases": [
{
"id": 54,
"case_name": "Cascades_Credit_720",
"product_code": "TUC1001",
"payload": {
"applicant": {
"first_name": "Sandrx",
"last_name": "Bowkey"
},
"property": {
"state": "MD"
}
}
}
]
}