frappe_search_docs
Search or list documents of any Frappe DocType with filters, field selection, pagination, and sorting.
Instructions
Search or list documents of a given DocType with optional filters, field selection, pagination, and ordering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results (default 20). | |
| fields | No | Optional list of field names to return (e.g. ['name', 'status', 'grand_total']). | |
| doctype | Yes | The DocType to search. | |
| filters | No | Optional list of filters, each as [field, operator, value], e.g. [['status','=','Open']]. | |
| order_by | No | Field to sort by (e.g. 'creation desc'). |