query_items
Search and filter personal items by keyword, location, status, category, or expiration to find what you need in your inventory.
Instructions
查询物品列表。可以通过关键词、位置、状态等条件筛选。
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": "query_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | 状态:0-未过期,1-已过期,2-已消费 | |
| keyword | No | 搜索关键词,匹配物品名称、品牌等 | |
| pageNum | No | 页码,默认1 | |
| pageSize | No | 每页数量,默认20 | |
| categoryId | No | 分类ID | |
| locationId | No | 存放位置ID | |
| locationName | No | 存放位置名称 | |
| isNearlyExpired | No | 是否临期:0-非临期,1-临期 |