Exa Answer
exa_answerCited answer to a question: Exa searches the web and writes an answer with the sources it used. Returns the answer, a citations array (title, URL, published date) and the upstream cost. Example: exa_answer({ query: "What is the current federal funds target range?" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "What is the current federal funds target range?"
},
"name": "exa_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | If true, include the full page text on each citation. Default false. | |
| model | No | Answer model. Default 'exa'. | |
| query | Yes | The question or instruction to answer. | |
| _apiKey | No | Optional, your own Exa API key for higher limits; omit to use the shared Pipeworx key. | |
| output_schema | No | Optional JSON Schema (Draft 7); the answer is then a structured object matching it. | |
| system_prompt | No | Optional extra instructions guiding the answer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | The answer: a string, or an object matching output_schema | |
| citations | Yes | Sources used for the answer | |
| costDollars | No | Upstream cost breakdown in USD as reported by the vendor |