Fetch opencode task result
opencode_resultRetrieve the final assistant message and metadata (tokens, cost, session id) for a completed opencode task after all tool calls finish.
Instructions
Return the final assistant message and metadata (tokens, cost, session id) for a finished task, parsed from opencode's own --format json event stream. message is only the model's last turn (after all tool calls finish); narration includes intermediate step narration too, in order. Errors politely if the task is still running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task id returned by opencode_dispatch. |