Agent Wranglers

Structured output and tools

Ask for JSON that matches a schema, validate it, retry with the error, then fall back. Design tools like a small public API with strict inputs.

  • Required 2
  • Recommended 4

Required

Read this with

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/ai-features/structured-output-and-tools">Agent Wranglers AI features playbook</a>. In code you write, add a comment next to it with the same link.