get_doctype_schema
Retrieve complete DocType schema with field definitions, validations, and linked types to understand document structure before creation or updates.
Instructions
Get the complete schema for a DocType including field definitions, validations, and linked DocTypes.
Use this to understand the structure of a DocType before creating or updating documents.
Args:
doctype: DocType name
Input Schema
Name | Required | Description | Default |
---|---|---|---|
doctype | Yes |
Input Schema (JSON Schema)
{
"properties": {
"doctype": {
"title": "Doctype",
"type": "string"
}
},
"required": [
"doctype"
],
"title": "get_doctype_schemaArguments",
"type": "object"
}