18 lines
519 B
TypeScript
18 lines
519 B
TypeScript
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;
|
|
};
|