get_doctype_schema
Read a DocType's schema and field metadata from Frappe's API to inspect available fields, types, and structure before building queries or automation.
Instructions
Read the DocType schema and field metadata visible through Frappe's API.
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_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doctype | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||