run_result
Retrieve a completed run's final answer, verdict, and list of changed files by run ID. Use it to review the outcome of a subagent run started via agent-mcp.
Instructions
Fetch a finished run's answer, verdict and changed files.
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>"
},
"name": "run_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | No | ||
| error | No | ||
| state | Yes | ||
| usage | No | ||
| reason | No | ||
| run_id | Yes | ||
| verdict | No | ||
| final_text | No | ||
| session_id | No | ||
| changed_files | No | ||
| structured_output | No |