frappe_create_document
Creates a new Frappe document for specified doctype and values, automatically removing credential/password fields to prevent exposure.
Instructions
Create a document. Credential/password fields are stripped automatically. A few fields are refused outright rather than stripped — see frappe_update_document.
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>",
"values": "<values>"
},
"name": "frappe_create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | ||
| doctype | Yes |