Validate a structured ZCode result
zcode_structured_resultRecover the original schema and optional domain rule/input from a session, then validate the final JSON answer so invalid, unfinished, failed, or cancelled tasks are rejected.
Instructions
Recover the original schema and optional domainRule/input from the session and validate the final JSON answer. Invalid, unfinished, failed and cancelled tasks never count as valid.
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_structured_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ||
| domainRule | No |