get_list_with_summary
Fetch a list of ERPNext documents with total count, supporting filters, field selection, and pagination.
Instructions
Get a list of documents along with total count.
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_list_with_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Fields to return | |
| doctype | Yes | ERPNext DocType name | |
| filters | No | Optional JSON string of filters | |
| order_by | No | Sort expression | |
| limit_page_length | No | Number of records |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||