erpnext_doc_update
Update ERPNext document fields safely, with dry-run support and conflict detection for native Frappe save checks.
Instructions
Update native fields. In safe_mode pin modified for Frappe save conflict checks; child-table replacement is sensitive.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"doctype": "<doctype>",
"name": "<name>",
"fields": "<fields>"
},
"name": "erpnext_doc_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fields | Yes | ||
| doctype | Yes | ||
| dry_run | No | ||
| expected_lengths | No | ||
| expected_modified | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||