@larksuiteoapi/lark-mcp
Version:
Feishu/Lark OpenAPI MCP
20 lines (19 loc) • 519 B
TypeScript
import type { CallToolResult } from "@modelcontextprotocol/sdk/types";
import type { z } from "zod";
export interface DocumentRecallToolOptions {
domain?: string;
smallToBig?: boolean;
count?: number;
multiQuery?: boolean;
timeout?: number;
}
export interface DocumentRecallTool {
name: string;
description: string;
schema: {
query: z.ZodType<string>;
};
handler: (params: {
query: string;
}, options: DocumentRecallToolOptions) => Promise<CallToolResult>;
}