Skip to main content
AI / LLM PromptingCurated

Output Format Enforcer

When a parse failure downstream is more expensive than a slightly worse answer.

The prompt
Rewrite this prompt so the model's output is guaranteed to be valid JSON matching this schema: [paste schema], including explicit instructions for what to do if a field's value is unknown.

Anything in square brackets is meant to be replaced. The builder turns those into fields you can type into.

Tired of re-pasting the same context into every new chat? That is what the Unimatrix MCP server is for.

Browse the rest of the library