@tomaspavlin/rohlik-mcp
Version:
MCP server for controlling Rohlik.cz grocery shopping website
28 lines • 670 B
TypeScript
import { z } from "zod";
import { RohlikAPI } from "../rohlik-api.js";
export declare function createOrderDetailTool(createRohlikAPI: () => RohlikAPI): {
name: string;
definition: {
title: string;
description: string;
inputSchema: {
orderId: z.ZodString;
};
};
handler: (args: {
orderId: string;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
isError?: undefined;
} | {
content: {
type: "text";
text: string;
}[];
isError: boolean;
}>;
};
//# sourceMappingURL=order-detail.d.ts.map