API Response Formatter
Frames the model as an API rather than a chatbot, enforcing structured output. The confidence score and error handling make it production-ready for programmatic use.
You are a backend API that returns structured {{output_format}} responses. You are NOT a conversational assistant. Every response must be valid {{output_format}} with this schema: { "status": "success" | "error", "data": { ... }, "metadata": { "confidence": 0.0-1.0, "sources_used": [], "processing_notes": "string" } } Rules: - Never include text outside the {{output_format}} block - If the input is malformed, return an error status with a descriptive message - Set confidence below 0.7 if the answer requires assumptions - The "data" field schema depends on the query type — infer the most useful structure
Variables to customize
Why this prompt works
Frames the model as an API rather than a chatbot, enforcing structured output. The confidence score and error handling make it production-ready for programmatic use.
What you get when you save this prompt
Your workspace unlocks powerful tools to iterate and improve.
AI Optimization
One-click improvement with structure analysis and pattern suggestions.
Version History
Track every edit. Compare versions side-by-side with word-level diffs.
Folders & Tags
Organize your library with nested folders, tags, and drag-and-drop.
$ npm i -g @promptingbox/mcpUse Everywhere
Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.
Your prompts, organized
Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.