get_book_bills
get_book_billsFetch paginated bills for a ledger book, returning income/expense totals, bill count, and hasMoreData to control paging. Specify book_id and page.
Instructions
分页查询账本账单(GET /bill/getAccountBillPage/{userId}/{bookId}/{page})。返回 {syncTime, hasMoreData, billCount, totals:{income,expense}, bills:[精简账单]};账单只含 billId/cost/日期/分类/备注/账户等业务字段。page 从 0 起,按 hasMoreData 翻页。
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": {
"book_id": "<book_id>"
},
"name": "get_book_bills"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 页码,从 0 开始 | |
| book_id | Yes | 账本 ID | |
| user_id | No | 账本所属用户 ID,缺省用当前用户 |