Start a structured ZCode task
zcode_run_structuredInitiate a ZCode session with a bounded JSON schema and optional domain rule preset to enforce structured output, then fetch results via zcode_structured_result.
Instructions
Start a normal ZCode session with a bounded JSON schema contract and optional domain semantic rule preset (e.g. section-outline-v1, or a declarative rule object). This uses subscription quota and FULL ACCESS like zcode_run. The schema and domainRule are stored in the session prompt; use zcode_structured_result after completion.
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": {
"task": "<task>",
"input": "<input>",
"schema": "<schema>"
},
"name": "zcode_run_structured"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| input | Yes | ||
| model | No | ||
| schema | Yes | ||
| provider | No | ||
| domainRule | No |