sync_pull
sync_pullIncrementally pulls bookkeeping data updated since a given timestamp. Returns a compact summary by default for quick AI analysis, or full entity details when requested.
Instructions
增量拉取业务数据(GET /updateTime/getUpdateDataPage/{userId}/{time})。默认返回摘要:syncTime、各实体计数、收支合计、最近10笔、分类Top10、资产列表——适合 AI 快速分析账目;需要完整明细时传 summary=false,各实体按业务字段精简返回(Bill 只含 billId/cost/日期/分类/备注等)。time 为上次同步时间戳(ms),缺省 0 表示全量。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sync_pull"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | 上次同步时间戳(ms),0=全量 | |
| summary | No | 默认 true:返回摘要;false 返回全部实体明细(已精简) | |
| user_id | No |