Skip to content

Command reference

--json-schema<schema>

Requires the print-mode answer to be JSON that validates against a schema you supply.

FlagsWork and taskscurrent

What the documentation does not say

Validation happens after the agent finishes its work, so this shapes the answer rather than the steps. An invalid schema is an error at the start; the format keyword is accepted as an annotation and not checked.

Arguments
<schema>