UNPKG

@langchain/community

Version:
19 lines (18 loc) 519 B
import { z } from "zod"; import { GmailBaseTool, GmailBaseToolParams } from "./base.js"; export declare class GmailGetThread extends GmailBaseTool { name: string; schema: z.ZodObject<{ threadId: z.ZodString; }, "strip", z.ZodTypeAny, { threadId: string; }, { threadId: string; }>; description: string; constructor(fields?: GmailBaseToolParams); _call(arg: z.output<typeof this.schema>): Promise<string>; } export type GetThreadSchema = { threadId: string; };