output_schema / outputSchema. When the run completes,
run.output holds the parsed JSON value and run.result still holds the text
answer.
SDK support for
output_schema / outputSchema and run.output ships in the
first browser-use-sdk release after 3.11.3. On 3.11.3, use the REST API.Could not produce output matching outputSchema. Validate run.output in your
application as well, as the examples do.
Limits
- API-key runs only. Runs started from the dashboard return
422. - JSON Schema 2020-12 unless the schema sets another
$schema. - At most 64 KiB, 64 nesting levels, and about 4,000 values (every key’s value and array item counts).
$refmust point inside the schema (#/...).