Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add Comment
ERPNEXT_ADD_COMMENTTool to add a comment to a document in ERPNext/Frappe. Use when you need to add comments or notes to any document type like ToDo, Issue, Task, or custom DocTypes.
Add Tag
ERPNEXT_ADD_TAGTool to add a tag to a document in ERPNext. Use when you need to categorize or label documents for organization and filtering purposes.
Apply Workflow
ERPNEXT_APPLY_WORKFLOWTool to apply a workflow action to a document in ERPNext/Frappe. Use when you need to transition a document through workflow states (e.g., approve, reject, submit). The document must have a workflow configured for its doctype.
Cancel Document
ERPNEXT_CANCEL_DOCUMENTCancel a submitted document in ERPNext/Frappe to change its status from Submitted to Cancelled. Use for submittable DocTypes when you need to reverse or cancel a submitted transaction. Document must be in Submitted state (docstatus=1) before cancellation.
Create Document
ERPNEXT_CREATE_DOCUMENTCreate a document of a specified ERPNext DocType using scalar field values. Document data should include the required fields for that DocType; standard fields such as creation, modified, and owner are set by ERPNext.
Create Timesheet
ERPNEXT_CREATE_TIMESHEETTool to create a new Timesheet record in ERPNext. Use when you need to log time entries for employees or projects.
Delete Document
ERPNEXT_DELETE_DOCUMENTTool to delete a specific document by DocType and name. Use when you need to remove a document from ERPNext. Requires delete permissions for the specified DocType.
Download file from ERPNext
ERPNEXT_DOWNLOAD_FILETool to download a file from ERPNext by its URL. Use when you need to retrieve file content from the ERPNext instance using the file's URL path.
Download PDF Document
ERPNEXT_DOWNLOAD_PDFTool to download a document as PDF from ERPNext with optional print format. Use when you need to retrieve a document in PDF format, optionally specifying a custom print format or excluding letterhead.
Get All Languages
ERPNEXT_GET_ALL_LANGUAGESTool to get a list of all available languages in the ERPNext/Frappe system. Use when you need to retrieve supported languages for translation or localization purposes.
Get All Roles
ERPNEXT_GET_ALL_ROLESTool to get a list of all roles available in the ERPNext system. Use when you need to retrieve all available roles for assignment or reference.
Get Document
ERPNEXT_GET_CLIENTTool to get a single document by DocType and name or filters from Frappe/ERPNext. Use when you need to retrieve a specific document's complete details.
Get Document Count
ERPNEXT_GET_COUNTTool to get the count of documents matching specified filters in ERPNext/Frappe. Use when you need to know how many records exist for a specific DocType, optionally filtered by conditions.
Get DocType Metadata
ERPNEXT_GET_DOCTYPE_METATool to retrieve complete DocType metadata/schema including field definitions, field types, permissions, and configurations. Use when you need to understand the structure of a DocType, its fields, validation rules, or permissions before creating or querying documents.
Get Document
ERPNEXT_GET_DOCUMENTTool to retrieve a specific document by its DocType and name (ID). Returns the complete document with all fields. Use when you need to fetch details of a specific ERPNext document like Customer, Employee, Account, Sales Invoice, etc.
Get Document with Metadata
ERPNEXT_GET_DOC_WITH_METATool to retrieve a document with full metadata including attachments, comments, activity logs, and related information. Use when you need complete document details beyond the basic fields returned by standard GET requests.
Get Exchange Rate
ERPNEXT_GET_EXCHANGE_RATETool to get the currency exchange rate between two currencies in ERPNext. Use when you need to convert amounts between different currencies or check current exchange rates.
Get Fiscal Year
ERPNEXT_GET_FISCAL_YEARTool to get fiscal year information for a given date in ERPNext. Use when you need to determine which fiscal year a specific date falls into or retrieve fiscal year boundaries.
Get Framework Version
ERPNEXT_GET_FRAMEWORK_VERSIONTool to get the Frappe framework version and all installed app versions. Use when you need to check the ERPNext/Frappe system version for compatibility or debugging purposes.
Get Item Details
ERPNEXT_GET_ITEM_DETAILSTool to get detailed item information including pricing, taxes, and stock details from ERPNext. Use when you need comprehensive item data for transactions like Sales Orders, Purchase Orders, or Invoices. This action retrieves item-specific information based on the provided context including customer, price list, warehouse, and currency.