get_doctype_meta
Retrieve the field schema and metadata for a DocType to understand its structure before creating or updating documents in ERPNext.
Instructions
Fetch the field/schema definition (metadata) for a DocType.
Useful for discovering what fields exist before create_document/update_document calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doctype | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||