get_test_cases_by_suite_smart
Retrieve test cases from a specific test suite using smart detection for root suites with enhanced pagination and optional sub-suite inclusion.
Instructions
๐ง Smart test case retrieval by suite ID - automatically detects if suite is root suite and uses appropriate filtering with enhanced pagination
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Output format | json |
get_all | No | Get all test cases (true) or paginated results (false) | |
include_steps | No | Include detailed test steps for first few cases | |
include_sub_suites | No | Include test cases from sub-suites (if any) | |
page | No | Page number (0-based, only used if get_all=false) | |
project_key | Yes | Project key (e.g., 'MPC') | |
size | No | Page size (only used if get_all=false) | |
suite_id | Yes | Suite ID to get test cases from |
Input Schema (JSON Schema)
{
"properties": {
"format": {
"default": "json",
"description": "Output format",
"enum": [
"dto",
"json",
"string",
"markdown"
],
"type": "string"
},
"get_all": {
"default": true,
"description": "Get all test cases (true) or paginated results (false)",
"type": "boolean"
},
"include_steps": {
"default": false,
"description": "Include detailed test steps for first few cases",
"type": "boolean"
},
"include_sub_suites": {
"default": true,
"description": "Include test cases from sub-suites (if any)",
"type": "boolean"
},
"page": {
"default": 0,
"description": "Page number (0-based, only used if get_all=false)",
"minimum": 0,
"type": "integer"
},
"project_key": {
"description": "Project key (e.g., 'MPC')",
"minLength": 1,
"type": "string"
},
"size": {
"default": 50,
"description": "Page size (only used if get_all=false)",
"exclusiveMinimum": 0,
"maximum": 100,
"type": "integer"
},
"suite_id": {
"description": "Suite ID to get test cases from",
"exclusiveMinimum": 0,
"type": "integer"
}
},
"required": [
"project_key",
"suite_id"
],
"type": "object"
}