get_custom_foods
Search or list custom foods to find existing entries by name, retrieve foodId and servingId needed for logging, and avoid duplicate creation.
Instructions
Search or list user's custom foods
Returns custom foods the user has created. Use the search parameter to find existing foods by name before creating duplicates — the response includes foodId and servingId needed for log_custom_food.
For branded catalog foods (FatSecret), use search_foods instead.
Args: search: Search term to filter foods by name (default: list all) start: Starting index for pagination (default 0) limit: Maximum number of results (default 20)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| start | No | ||
| search | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |