Pick a Serving (FatSecret)
fatsecret_pick_servingResolve natural-language quantities like '1 slice' or '100g' to the correct serving for a food, simplifying accurate food logging.
Instructions
Fuzzy-matches a natural-language quantity ("1 slice", "100g", "medium") against a food's servings, so you don't have to eyeball the raw servings array before logging it.
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": {
"foodId": "<foodId>"
},
"name": "fatsecret_pick_serving"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| foodId | Yes | ||
| quantityDescription | No |