List test cases
list_test_casesRetrieve and filter test cases by test set ID to review scenario inputs and expected behaviors. Supports pagination and sorting for organized evaluation.
Instructions
List test cases. Filter by test_set_id. Each has input_str (scenario text or JSON message array) and optional expected_behaviors.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_test_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Filter expression (e.g., status="COMPLETED") | |
| order_by | No | Sort order (e.g., "-create_time" for newest first) | |
| page_size | No | Number of results per page (1-100, default 50) | |
| page_token | No | Token for retrieving the next page of results |