Hierarchy

  • GmailBaseTool
    • GmailSearch

Constructors

Properties

description: string = SEARCH_DESCRIPTION
name: string = "search_gmail"
schema: ZodObject<{
    maxResults: ZodOptional<ZodNumber>;
    query: ZodString;
    resource: ZodOptional<ZodEnum<["messages", "threads"]>>;
}, "strip", ZodTypeAny, {
    query: string;
    maxResults?: number;
    resource?: "messages" | "threads";
}, {
    query: string;
    maxResults?: number;
    resource?: "messages" | "threads";
}> = ...

Type declaration

  • maxResults: ZodOptional<ZodNumber>
  • query: ZodString
  • resource: ZodOptional<ZodEnum<["messages", "threads"]>>

Type declaration

  • query: string
  • Optional maxResults?: number
  • Optional resource?: "messages" | "threads"

Type declaration

  • query: string
  • Optional maxResults?: number
  • Optional resource?: "messages" | "threads"
gmail: Gmail

Methods

Generated using TypeDoc