get_test_case_steps
Read a test case's scenario steps as a nested tree or raw map by ID to inspect step bodies and expected results.
Instructions
Read the scenario (steps) of a test case.
as_tree=true (default) returns nested steps: {id, body, expectedResult, attachmentId, sharedStepId, children}. as_tree=false returns the raw scenarioSteps map by id. A shared step appears as a node with sharedStepId only - its own steps are not inlined. Attachment contents are not inlined either.
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": {
"test_case_id": "<test_case_id>"
},
"name": "get_test_case_steps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_tree | No | ||
| test_case_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |