Type Alias TavilyExtractAPIRetrieverFields

TavilyExtractAPIRetrieverFields: {
    apiWrapper?: undefined | TavilyExtractAPIWrapper;
    callbacks: undefined | Callbacks;
    description?: undefined | string;
    extractDepth?: undefined | ExtractDepth;
    includeImages?: undefined | boolean;
    metadata: undefined | Record<string, unknown>;
    name?: undefined | string;
    responseFormat: undefined | string;
    returnDirect?: undefined | boolean;
    tags: undefined | string[];
    tavilyApiKey?: undefined | string;
    verbose: undefined | boolean;
    verboseParsingErrors: undefined | boolean;
}

Type declaration

  • OptionalapiWrapper?: undefined | TavilyExtractAPIWrapper

    An API wrapper that can be used to interact with the Tavily Extract API. Useful for testing.

    If specified, the tool will use this API wrapper instead of creating a new one, and fields used in API Wrapper initialization, like TavilyExtractAPIRetrieverFields.tavilyApiKey, will be ignored.

  • callbacks: undefined | Callbacks
  • Optionaldescription?: undefined | string

    The description of the tool.

    "Extracts comprehensive content from web pages based on provided URLs. Useful for when you need to answer questions about current events. Input should be a list of one or more URLs."
    
  • OptionalextractDepth?: undefined | ExtractDepth

    The depth of the extract. It can be "basic" or "advanced".

  • OptionalincludeImages?: undefined | boolean

    Include a list of query-related images in the response.

    false
    
  • metadata: undefined | Record<string, unknown>
  • Optionalname?: undefined | string

    The name of the tool.

    "tavily_extract"
    
  • responseFormat: undefined | string
  • OptionalreturnDirect?: undefined | boolean

    Whether to return the tool's output directly.

    Setting this to true means that after the tool is called, an agent should stop looping.

    false
    
  • tags: undefined | string[]
  • OptionaltavilyApiKey?: undefined | string

    The API key used for authentication with the Tavily Search API.

  • verbose: undefined | boolean
  • verboseParsingErrors: undefined | boolean