ExaSearchTool
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ExaSearchTool.type
Members list
Value members
Concrete methods
Create an Exa search tool with explicit configuration.
Create an Exa search tool with explicit configuration.
Security: This tool makes external HTTPS calls to the Exa API. Ensure proper API key management and network access controls.
Value parameters
- config
-
Optional configuration overrides (will be validated)
- httpClient
-
HTTP client for making requests (injectable for testing)
- restoreInterrupt
-
Function to restore interrupt flag (injectable for testing)
- toolConfig
-
The Exa API configuration (must use HTTPS)
Attributes
- Returns
-
Right(ToolFunction) if valid, Left(ValidationError) otherwise
Create an Exa search tool with explicit API key and defaults.
Create an Exa search tool with explicit API key and defaults.
Security: This tool makes external HTTPS calls to the Exa API. The provided API URL must use HTTPS protocol.
Value parameters
- apiKey
-
The Exa API key (must not be empty)
- apiUrl
-
The Exa API URL (must use HTTPS, default: https://api.exa.ai)
- config
-
Optional request configuration
- httpClient
-
HTTP client for making requests (injectable for testing)
- restoreInterrupt
-
Function to restore interrupt flag (injectable for testing)
Attributes
- Returns
-
Right(ToolFunction) if valid, Left(ValidationError) otherwise