Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Make Stock Entry
ERPNEXT_MAKE_STOCK_ENTRYTool to create a Stock Entry for material transfer, receipt, or issue in ERPNext. Use when you need to record inventory movements between warehouses or add/remove stock. For Material Receipt, include target warehouse and basic_rate. For Material Issue, include source warehouse. For Material Transfer, include both source and target warehouses.
Ping API
ERPNEXT_PINGTool to check if the ERPNext/Frappe API is reachable. Use when you need to verify API connectivity or test authentication.
Rename Document
ERPNEXT_RENAME_DOCTool to rename an ERPNext document by changing its unique ID/name. Use when you need to change a document's primary identifier, optionally merging with an existing document.
Save Document with Action
ERPNEXT_SAVE_DOCSTool to save, submit, cancel, or update a document in ERPNext. Use when you need to create or modify documents in ERPNext. The doc parameter must be a JSON-serializable dictionary containing the document fields.
Save Document
ERPNEXT_SAVE_DOCUMENTTool to save an existing ERPNext/Frappe document with changes. Use when you need to update an existing document in the system. Requires the complete document object including all system fields and the fields being updated.
Global Search
ERPNEXT_SEARCH_GLOBALTool to perform global text search across ERPNext documents. Use when you need to find documents, pages, or records by searching for keywords across the system. Results are ranked by relevance and include document type, name, content preview, and navigation route.
Search Link Field Documents
ERPNEXT_SEARCH_LINKTool to search for documents to link in ERPNext/Frappe Link fields. Use when you need autocomplete suggestions for Link fields or to find documents by name/text.
Set Value
ERPNEXT_SET_VALUETool to set a specific field value on a document in ERPNext. Use when you need to update a single field without retrieving or modifying the entire document.
Submit Document
ERPNEXT_SUBMIT_DOCUMENTSubmit a draft document in ERPNext/Frappe to change its status from Draft to Submitted. Use for submittable DocTypes like Sales Invoice, Purchase Order, Journal Entry, etc. Document must exist in draft state (docstatus=0) before submission.
Update ERPNext document
ERPNEXT_UPDATE_DOCUMENTTool to update a specific ERPNext document. Acts like a PATCH request - only send the fields you want to change, not the whole document. Use when you need to modify specific fields of an existing document.