get_doctype_meta
Retrieve field definitions and schema for any ERPNext DocType to inspect its structure and fields.
Instructions
Get field definitions for a DocType.
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": "get_doctype_meta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doctype | Yes | ERPNext DocType name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |