Simulation run on this device. Scenario values are not sent anywhere — the engine is fully local.
prompting studio · free
Structured Output Schema Studio
Tune schema strictness and instructions until the output validates clean.
Why does the model keep adding prose around your JSON?
Engine 1.0.0 · studio
$.severity: “critical” not in enum [low, med, high]
$.note: not in schema (additionalProperties: false)
2 violation(s) — fixes: add the enum to the system prompt, forbid extra keys, or run response_format=json_schema.
Method
- A mini JSON-Schema-ish validator: types, required fields, enums, arrays, additionalProperties:false.
- Paired with the classic failure — a valid-JSON output that violates the contract — plus the three production fixes.