Get ZCode task result
zcode_resultFetch a task's final answer text and token usage, or check its running status when no result is ready.
Instructions
Final answer text of a finished task (plus token usage). For a task still running this returns its status without a result.
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": {
"taskId": "<taskId>"
},
"name": "zcode_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes |