exa_answer
Obtain sourced answers to questions using the Exa /answer API. Specify a question and control citation count for reliable, evidence-based responses.
Instructions
Ask a question and get a sourced answer via Exa /answer API.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
max_citations | No | Maximum number of citations to include in the answer (1-10) | |
question | Yes | The question to ask and get an answer with sources |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"max_citations": {
"default": 5,
"description": "Maximum number of citations to include in the answer (1-10)",
"maximum": 10,
"minimum": 1,
"type": "number"
},
"question": {
"description": "The question to ask and get an answer with sources",
"minLength": 5,
"type": "string"
}
},
"required": [
"question"
],
"type": "object"
}