Get Run Output
get_run_outputFetch parsed results from a completed script run by run ID, including issues, stdout, stderr, and status, to review findings and diagnose failures.
Instructions
Get the output artifacts from a completed script run.
Returns parsed, human-readable results including:
issues: list of issues found by the script (title, severity, details, nextSteps)
stdout: script stdout output
stderr: script stderr output
status: run status (SUCCEEDED, FAILED, RUNNING)
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": {
"run_id": "<run_id>",
"workspace_name": "<workspace_name>"
},
"name": "get_run_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run ID returned by run_script. | |
| fetch_logs | No | Download and parse artifact contents. | |
| workspace_name | Yes | The workspace the run belongs to (e.g. 't-oncall'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |