Question 161
Open question ↗Scenario: Structured Data Extraction
You have several extraction tools (one per document type) and must guarantee the model returns a tool call producing structured output rather than a free-text answer, but you are fine with the model choosing which extraction tool fits.
Which `tool_choice` setting fits?
- A.`{"type": "auto"}`
- B.`{"type": "any"}`
- C.`{"type": "tool", "name": "extract_invoice"}`
- D.Omit `tool_choice` entirely.