UNPKG

frappe-mcp-server

Version:

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

21 lines (20 loc) 639 B
/** * Get the schema for a DocType * @param doctype The DocType name * @returns The DocType schema */ export declare function getDocTypeSchema(doctype: string): Promise<any>; export declare function getFieldOptions(doctype: string, fieldname: string, filters?: Record<string, any>): Promise<Array<{ value: string; label: string; }>>; /** * Get a list of all DocTypes in the system * @returns Array of DocType names */ export declare function getAllDocTypes(): Promise<string[]>; /** * Get a list of all modules in the system * @returns Array of module names */ export declare function getAllModules(): Promise<string[]>;