Eby Exa
Answer a question from the web
Searches the web for a question and returns a direct answer or a summary with citations, or JSON that matches an output schema.
Description
Specific questions get a direct answer and open-ended ones a detailed summary with citations. Pass `outputSchema` for a structured answer, and use Exa Agent for research that needs many searches.
answer-question.md
Answer a question from the web
Searches the web for a question and returns a direct answer or a summary with citations, or JSON that matches an output schema.
Specific questions get a direct answer and open-ended ones a detailed summary
with citations. Pass outputSchema for a structured answer, and use Exa
Agent for research that needs many searches.
Set up
Use the first option your agent supports.
API (official)
- Base URL: https://api.exa.ai
- Endpoint:
POST /answer - Auth: send the header
Authorization: Bearer $EXA_API_KEY - Get a key: https://dashboard.exa.ai/api-keys
- Docs: https://exa.ai/docs/get-started/quickstart
Before doing anything else, make one read-only call to confirm access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
Built from these files in the repository
The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.
Ways in
| Route | Source | Call | Required | Docs |
|---|---|---|---|---|
| Official | POST /answer | API key in $EXA_API_KEY | Docs |