create_smart_doctype
Create a DocType using smart defaults for fields, naming, and module setup; kept for backward compatibility. Use create_doctype with mode='smart' instead.
Instructions
[DEPRECATED] Use create_doctype with mode='smart' instead – kept for backward compatibility
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": {
"name": "<name>"
},
"name": "create_smart_doctype"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new DocType | |
| fields | No | Field definitions (same as create_doctype) | |
| module | No | Module name (optional, defaults to 'Custom') | |
| autoname | No | Auto-naming rule | |
| is_table | No | Is child table DocType (1/0) | |
| title_field | No | Field to use as title | |
| is_submittable | No | Whether documents can be submitted (1 for yes, 0 for no) |