agsamantha/node_modules/@langchain/community/dist/tools/gmail/get_thread.d.ts

19 lines
519 B
TypeScript
Raw Normal View History

2024-10-02 20:15:21 +00:00
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;
};