The assistant
How it works
- Search.
web_searchcalls Opper’s hosted web tool (POST /v3/tools/web/search) and returns a list of{title, url, snippet}results. No separate search API key to manage. - Answer. The JSON API call gets the question plus those results and returns a typed
Answer. Because the output is schema-constrained,answerandsourcescome back clean, with no parsing. - Grounding. The model only sees the results you pass in, so it answers from the search rather than from memory. If a fact isn’t in the results, it can say so.
What’s next
Calls
The JSON API basics behind the answer step.
Web search
The web tool’s full API reference.
Schemas
Shape the answer and sources however you like.
Observe
Score answers for grounding and citation quality.