UNPKG

lance-mcp

Version:

MCP server for interacting with LanceDB database

30 lines (29 loc) 810 B
import { BaseTool, ToolParams } from "../base/tool.js"; import { IndexDirection } from "mongodb"; interface CreateIndexParams extends ToolParams { collection: string; indexSpec: { [key: string]: IndexDirection; }; [key: string]: unknown; } export declare class CreateIndexTool extends BaseTool<CreateIndexParams> { name: string; description: string; inputSchema: { type: "object"; properties: { collection: { type: string; description: string; }; indexSpec: { type: string; description: string; }; }; required: string[]; }; execute(params: CreateIndexParams): Promise<import("../base/tool.js").ToolResponse>; } export {};