get_doctype_fields
Get fields list for a specific DocType
How to use it
get_doctype_fields is exposed by the Erpnext MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_doctype_fields tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL ERPNEXT MCP SERVER LISTINGOther tools in Erpnext MCP Server (10)
Call an ERPNext/Frappe whitelisted server-side API method
Cancel a submitted document (set docstatus to 2)
Create a new document in ERPNext
Permanently delete a document
Get a list of all available DocTypes
Get a single document by name, including all child tables
Get a list of documents for a specific doctype
Run an ERPNext report
Submit a document (set docstatus to 1)
Update an existing document in ERPNext