get_test_case_steps
Retrieve a test case's scenario steps as a nested tree or raw map, including resolved shared steps, to inspect expected results and attachments.
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 case without a scenario answers "steps": []. A shared step appears as a node with sharedStepId plus a "sharedStep" object: {id, name, steps} with its own steps resolved. Attachment contents are not inlined either - only attachmentId.
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 |