get_document
Fetch a specific ERPNext document by entering its DocType and name (primary key).
Instructions
Fetch a single document by DocType and name (primary key).
Example: get_document("Customer", "CUST-0001")
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>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| doctype | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||