add_item
Add new items to track personal belongings, recording details such as name, location, and expiration date for organized inventory management.
Instructions
添加新物品。可以记录物品名称、存放位置、过期日期等信息。
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": {
"name": "<name>"
},
"name": "add_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 物品名称(必填) | |
| brand | No | 品牌 | |
| price | No | 价格 | |
| remark | No | 备注 | |
| quantity | No | 数量,默认为1 | |
| categoryId | No | 分类ID | |
| expiryDate | No | 过期日期,格式 YYYY-MM-DD | |
| locationId | No | 存放位置ID | |
| description | No | 物品描述 | |
| categoryName | No | 分类名称,如"食品"、"日用品" | |
| locationName | No | 存放位置名称,如"冰箱"、"柜子" | |
| specification | No | 规格 |