log_meal
Record a meal manually or from a photo estimate, capturing calories and optional item details like name, grams, and kcal.
Instructions
录入一餐(照片估算或手动)。items=[{name,grams,kcal}]
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": {
"kcal": "<kcal>"
},
"name": "log_meal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ||
| kcal | Yes | ||
| note | No | ||
| items | No | ||
| confidence | No | ||
| photo_path | No |