@mcp-apps/pdf-tools-mcp-server
Version:
MCP server for interacting with PDF documents
36 lines (35 loc) • 927 B
TypeScript
import { z } from "zod";
export declare const fillPdfFormTool: {
name: string;
description: string;
parameters: {
inputFilePath: z.ZodString;
outputFilePath: z.ZodString;
formFields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNumber]>>;
};
handler: ({ inputFilePath, outputFilePath, formFields }: {
inputFilePath: string;
outputFilePath: string;
formFields: Record<string, string | boolean | number>;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export declare const getPdfFormElementsTool: {
name: string;
description: string;
parameters: {
filePath: z.ZodString;
};
handler: ({ filePath }: {
filePath: string;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};