entity_records_list
取某草料码所指物的完整账本(记录履历:巡检、报修、保养等),按时间倒序,游标分页。entity_get 的 records.preview 只给最近几条;要看完整历史用这个,返回的 nextPageToken 传回 page_token 取下一页。每条记录带 snapshot(当时的码+物),时间为 ISO 8601 带时区。
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": {
"code": "<code>"
},
"name": "entity_records_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 草料码:URL(如 https://qr71.cn/xxx/yyy)或 coding | |
| size | No | 每页条数(默认 20,上限 50) | |
| page_token | No | 上一页返回的 nextPageToken;首页留空 |