Get test run case details
get_run_case_detailsGet one case's details inside a test run, including test steps (steps[].position is the step number record_test_result and stepPosition use), step sub-fields, each recorded result's files (results[].files), each result's own note (results[].comment) and what was recorded per step (results[].steps: status, comment, files). steps is on the latest result only (other results carry stepCount); resultId selects another result's steps and note with longer comments. Comments are cut (commentTruncated) and the steps block is size-limited: when stepsTruncated is true, stepsFrom = nextStepsFrom returns the rest. Requires project, runId and caseId. displayValue is a TEXT field's plain text, with an image shown as [image: file name]. value is the stored value (plain text or a rich-text document) and is what update_test_case accepts; displayValue is not accepted back, and plain text sent to a field with images is refused (FIELD_IMAGES_WOULD_BE_REMOVED).
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": {
"project": "<project>",
"runId": "<runId>",
"caseId": "<caseId>"
},
"name": "get_run_case_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Test run id. | |
| caseId | Yes | Test case id within the run. | |
| project | Yes | Project id the run belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted. | |
| resultId | No | Optional: a result of this case in this run (results[].resultId) whose steps to return instead of the latest result's, with comments up to 4000 characters. | |
| stepsFrom | No | Optional: the first step number to return (default 1); pass nextStepsFrom from a truncated answer to read the rest. |