search_foods
Search Garmin's full food catalog, including FatSecret and custom foods, to find branded or generic items by name and retrieve food IDs, sources, servings, and macros for logging.
Instructions
Search Garmin's general food catalog (FatSecret + Garmin custom foods)
Searches across the entire food catalog including FatSecret-sourced
branded and generic foods, not just the user's Garmin custom foods.
Use this to find branded packaged foods by name before logging them.
Returns food_id, source, name, brand, and all available servings with
macros. The source field ("FATSECRET" or "GARMIN") and food_id together
identify the right routing for log_custom_food — pass both to
log_custom_food's food_id and source parameters respectively.
For the user's own custom foods only, use get_custom_foods instead.
Args:
query: Food name or brand to search for (e.g. "Cheerios", "Greek yogurt")
start: Starting index for pagination (default 0)
limit: Maximum number of results per page (default 20)
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": {
"query": "<query>"
},
"name": "search_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| start | No |