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
Actions
EXA_ANSWER
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
Action Response
EXA_SIMILARLINK
Perform a search with exa to find similar links and retrieve a list of relevant results. the search can optionally return contents.
Action Parameters
Action Response
EXA_GET_CONTENTS_ACTION
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
Action Response
EXA_SEARCH
The search action executes queries against the exa search service, returning a curated list of results based on the provided search criteria. it allows for detailed query refinement, including result count, domain filtering, date range specification, and content categorization. optional content retrieval includes text snippets with control over length and html tag inclusion. it requires a searchrequest object with the query parameters and authorization details to initiate the search process.
Action Parameters
Action Response