frappe_run_method
Invoke whitelisted Frappe server methods by dotted path to run tasks like catalog sync. Enforces safety by blocking generic mutators and requiring confirmation for destructive actions.
Instructions
Call any whitelisted server method by dotted path, e.g. 'ffl_integrations.rsr.tasks.sync_catalog_now'. Generic Frappe mutators (frappe.client.set_value/insert/save/delete/bulk_update/...) are refused — use the structured frappe_*_document tools, which enforce the guards. Methods whose name implies a destructive action — or that are on the explicit high-consequence list — require confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kwargs | No | ||
| method | Yes | ||
| confirm | No |