Fetch the final result
opencode_resultRetrieve the final result of a completed OpenCode run using its runId, including reply text, changed files, and cost.
Instructions
Returns the final result of a finished run (reply text, changed files, cost).
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": {
"runId": "<runId>"
},
"name": "opencode_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | The runId of the run. |