Answer with Citations (Exa)
answer_questionGet a direct answer to a question with cited sources instead of a list of search results. Optionally return a structured answer via JSON schema or add tone and focus instructions.
Instructions
Get a direct answer to a question with cited sources. Use instead of exa_search when you want a synthesized answer, not a list of results. Set outputSchema for a structured answer. For open-ended multi-step research use agent_run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "answer_question"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Answer model: 'exa-fast' (quickest), 'exa' (default), 'exa-pro' (stronger), 'exa-research' (most thorough) | |
| query | Yes | Question to answer | |
| includeText | No | Include each citation's page text | |
| outputSchema | No | JSON Schema (Draft 7) for a structured answer instead of prose | |
| systemPrompt | No | Extra instructions for the answer (tone, format, focus) | |
| userLocation | No | Two-letter ISO country code to localize sources (e.g. 'US') |