Implementation
gradeNot graded
gradeNot graded
list_pantryAnswer
读取当前浏览器保存的食材、数量和到期状态。
View tool JSON
{
"name": "list_pantry",
"kind": "answer",
"impl": "imperative",
"description": "读取当前浏览器保存的食材、数量和到期状态。",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/fridgeflow-pantry-agent/dist/"
}add_ingredientAction
向 FridgeFlow 冰箱库存添加一种食材。
View tool JSON
{
"name": "add_ingredient",
"kind": "act",
"impl": "imperative",
"description": "向 FridgeFlow 冰箱库存添加一种食材。",
"inputSchema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 50
},
"category": {
"type": "string"
},
"quantity": {
"type": "number",
"exclusiveMinimum": 0
},
"unit": {
"type": "string"
},
"expiry": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"location": {
"type": "string"
}
},
"required": [
"name",
"quantity",
"expiry"
],
"additionalProperties": false
},
"page": "/fridgeflow-pantry-agent/dist/"
}plan_mealAction
根据当前冰箱库存和时间限制返回最合适的一道菜。
View tool JSON
{
"name": "plan_meal",
"kind": "act",
"impl": "imperative",
"description": "根据当前冰箱库存和时间限制返回最合适的一道菜。",
"inputSchema": {
"type": "object",
"properties": {
"maxMinutes": {
"type": "number",
"enum": [
15,
30,
45,
60
]
},
"preference": {
"type": "string",
"enum": [
"all",
"vegetarian",
"protein"
]
}
},
"additionalProperties": false
},
"page": "/fridgeflow-pantry-agent/dist/"
}