UNPKG

frappe-mcp-server

Version:

Enhanced Model Context Protocol server for Frappe Framework with comprehensive API instructions and helper tools

13 lines (12 loc) 842 B
export declare function getDocument(doctype: string, name: string, fields?: string[]): Promise<any>; export declare function createDocument(doctype: string, values: Record<string, any>): Promise<any>; export declare function updateDocument(doctype: string, name: string, values: Record<string, any>): Promise<any>; export declare function deleteDocument(doctype: string, name: string): Promise<any>; export declare function listDocuments(doctype: string, filters?: Record<string, any>, fields?: string[], limit?: number, order_by?: string, limit_start?: number): Promise<any[]>; /** * Execute a Frappe method call * @param method The method name to call * @param params The parameters to pass to the method * @returns The method response */ export declare function callMethod(method: string, params?: Record<string, any>): Promise<any>;