TavilySearchAPIRetrieverFields: {
    apiKey?: undefined | string;
    callbacks?: undefined | Callbacks;
    kwargs?: undefined | Record<string, unknown>;
    maxResults?: undefined | number;
    metadata?: undefined | Record<string, unknown>;
    responseFormat?: undefined | string;
    tags?: undefined | string[];
    verbose?: undefined | boolean;
    verboseParsingErrors?: undefined | boolean;
}

Options for the TavilySearchResults tool.

Type declaration

  • OptionalapiKey?: undefined | string
  • Optionalcallbacks?: undefined | Callbacks
  • Optionalkwargs?: undefined | Record<string, unknown>
  • OptionalmaxResults?: undefined | number
  • Optionalmetadata?: undefined | Record<string, unknown>
  • OptionalresponseFormat?: undefined | string

    The tool response format.

    If "content" then the output of the tool is interpreted as the contents of a ToolMessage. If "content_and_artifact" then the output is expected to be a two-tuple corresponding to the (content, artifact) of a ToolMessage.

    "content"
    
  • Optionaltags?: undefined | string[]
  • Optionalverbose?: undefined | boolean
  • OptionalverboseParsingErrors?: undefined | boolean

    Whether to show full details in the thrown parsing errors.

    false