run_method
Call any whitelisted ERPNext server method by providing the dotted method path and optional keyword arguments. Supports GET or POST requests to invoke automated workflows or document operations.
Instructions
Call a server-side method (whitelisted API).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Optional JSON string of keyword arguments | |
| method | Yes | Dotted method path, e.g. "frappe.client.get_list" or "erpnext.selling.doctype.sales_order.sales_order.make_delivery_note" | |
| http_method | No | GET or POST (default POST) | POST |