Exa

Learn how to use Exa with Composio

Overview

Enum

EXA

Description

The Exa class extends the base Tool class to interact with the Exa Search service, offering actions like Search, Similarlink, and Answer. These actions enable querying, finding similar links, and generating answers from search results. Currently, no triggers are defined, but they can be added as needed to enhance functionality.

Authentication Details

api_key
stringRequired

Actions

Generate answers from search results using exa’s answer endpoint. this action performs a search based on the query and generates either: 1. a direct answer for specific queries 2. a detailed summary with citations for open-ended queries the response includes both the generated answer and the sources used to create it.

Action Parameters

query
stringRequired
text
boolean
model
stringDefaults to exa
stream
boolean

Action Response

data
object
successful
boolean
error

An action to retrieve the text contents and highlights from specific urls or document ids in the exa database. this action allows fetching detailed content from documents, including full text, highlights, and metadata.

Action Parameters

ids
arrayRequired
text
booleanDefaults to True
highlights
boolean

Action Response

data
object
successful
boolean
error