Skip to content

Tool reference

93 tools for your Samsung Food account.

Everything the MCP server and the local HTTP API can do, grouped by area: 42 read-only, 35 write and 16 destructive. The same names work as MCP tools, as POST /v1/tools/{name} and, for most of them, as sf commands.

read-only Looks, never changes.

write Adds or changes, removes nothing.

destructive Can delete or overwrite. Clients can ask first.

By area

Write and destructive tools change the real account, including shared lists and meal plans. Inputs are validated strictly: unknown parameters are rejected, dates are real YYYY-MM-DD dates, list sizes are capped. Generated from the source; the same reference is in docs/tools.md.

Meal plan

meal_plan_get

read-only

Shows the meal plan for a date range, including planned calories per day and unscheduled meals. Default: today + 7 days.

3 parameters
ParameterTypeRequiredDescription
fromstringnoStart date as YYYY-MM-DD, default today
daysintegernoNumber of days, default 7 (min 1, max 60)
tostringnoEnd date as YYYY-MM-DD, overrides days

Schedules a recipe as a meal. Without a date it goes into the unscheduled pool. mealTime: breakfast, lunch, dinner, snack or togo.

3 parameters
ParameterTypeRequiredDescription
recipeIdstringyesRecipe ID from recipe_search, recipe_discover or meal_plan_get (max length 200)
datestringnoYYYY-MM-DD; omit for unscheduled
mealTimebreakfast | lunch | dinner | snack | togonobreakfast | lunch | dinner | snack | togo (default "dinner")

Example arguments

{"recipeId":"101abc","date":"2026-12-24","mealTime":"dinner"}

meal_plan_remove

destructive · idempotent

Removes one or more meals from the meal plan (IDs from meal_plan_get).

1 parameter
ParameterTypeRequiredDescription
mealIdsstring[]yes(min 1 items, max 100 items)

Example arguments

{"mealIds":["abc123"]}

meal_plan_move

write · idempotent

Moves a scheduled meal to a different date or slot.

3 parameters
ParameterTypeRequiredDescription
mealIdstringyes(max length 200)
datestringnoYYYY-MM-DD; omit for unscheduled
mealTimebreakfast | lunch | dinner | snack | togoyesbreakfast | lunch | dinner | snack | togo

Example arguments

{"mealId":"abc123","date":"2026-12-25","mealTime":"lunch"}

meal_plan_clear

destructive · idempotent

Clears a date range of the meal plan. Without arguments: today + 7 days. With scope "unscheduled" the unscheduled pool is cleared instead - this affects all unscheduled meals at once and cannot be undone.

4 parameters
ParameterTypeRequiredDescription
scopescheduled | unscheduledno
fromstringnoYYYY-MM-DD
daysintegerno(min 1, max 60)
tostringnoDate as YYYY-MM-DD

Shows meals that have been on the plan before - a pool for a new week without having to search again. Returns recipe IDs for meal_plan_add.

1 parameter
ParameterTypeRequiredDescription
limitintegerno(min 1, max 100)

Adds a free-text note to a day of the meal plan. Returns the note with its id. Notes are listed under notes[] in meal_plan_get.

2 parameters
ParameterTypeRequiredDescription
datestringyesDay of the note, YYYY-MM-DD
textstringyesNote text, 1-2000 characters (max length 2000)

Example arguments

{"date":"2027-01-15","text":"Guests at 7pm"}

meal_plan_note_update

write · idempotent

Replaces date and text of an existing note. Both are always sent: pass the current date to keep the note on its day.

3 parameters
ParameterTypeRequiredDescription
noteIdstringyesNote ID from meal_plan_get (notes[].id) or from meal_plan_note_add (max length 200)
datestringyesDay of the note, YYYY-MM-DD
textstringyesNote text, 1-2000 characters (max length 2000)

Example arguments

{"noteId":"01a0ffffffffffffffffffffffffffff","date":"2027-01-15","text":"Guests at 8pm"}

meal_plan_note_delete

destructive · idempotent

Deletes a meal plan note. Can be undone with meal_plan_note_undelete as long as you keep the noteId (deleted notes no longer show up in meal_plan_get).

1 parameter
ParameterTypeRequiredDescription
noteIdstringyesNote ID from meal_plan_get (notes[].id) or from meal_plan_note_add (max length 200)

Example arguments

{"noteId":"01a0ffffffffffffffffffffffffffff"}

meal_plan_note_undelete

write · idempotent

Restores a note deleted with meal_plan_note_delete (use the noteId you deleted).

1 parameter
ParameterTypeRequiredDescription
noteIdstringyesNote ID from meal_plan_get (notes[].id) or from meal_plan_note_add (max length 200)

Example arguments

{"noteId":"01a0ffffffffffffffffffffffffffff"}

meal_plan_meal_update

write · idempotent

Updates the content entry of a planned meal. The API only supports two things: isLogged (mark the meal as eaten/logged, or undo that) and, for food entries (kind "food", not recipes), the amount. A recipe in a meal cannot be swapped or rescaled here - remove the meal and add a new one. contentId comes from meals[].contentId in meal_plan_get.

4 parameters
ParameterTypeRequiredDescription
contentIdstringyesmeals[].contentId from meal_plan_get (max length 200)
isLoggedbooleannotrue = logged as eaten, false = not logged
amountnumbernoNew amount, food entries only (> 0, max 100000)
unitstringnoMeasure unit name for the amount, e.g. "gram" (max length 50)

Example arguments

{"contentId":"01a0ffff-ffff-7fff-bfff-ffffffffffff","isLogged":true}

Shows the settings of the meal plan: first day of the week and sharing mode (private or public) with the number of collaborators.

No parameters.

meal_plan_settings_update

write · idempotent

Sets the first day of the week of the meal plan (the only meal plan setting the API has). weekStart: monday \| tuesday \| wednesday \| thursday \| friday \| saturday \| sunday.

1 parameter
ParameterTypeRequiredDescription
weekStartmonday | tuesday | wednesday | thursday | friday | saturday | sundayyes

Example arguments

{"weekStart":"monday"}

Weekly templates

Lists your own weekly templates. With templateId the meals per day are loaded as well (orderDay = offset from the start date, 0 = first day).

1 parameter
ParameterTypeRequiredDescription
templateIdstringno(max length 200)

Saves a date range of the meal plan as a weekly template so it can be applied to any week later. Only recipes are copied; day offsets stay relative to the start date.

5 parameters
ParameterTypeRequiredDescription
titlestringyesTemplate name (max length 300)
fromstringnoYYYY-MM-DD, default today
daysintegernoDefault 7 (min 1, max 31)
tostringnoDate as YYYY-MM-DD
descriptionstringno(max length 2000)

Example arguments

{"title":"Week 1","from":"2026-12-21","days":7}

Applies a weekly template to the meal plan from a start date. Existing meals are kept; with replace the range is cleared first (existing meals in it are deleted). The template is validated before anything is cleared; if applying fails after the clear, the error lists the removed meals so they can be re-added. Returns the resulting plan.

4 parameters
ParameterTypeRequiredDescription
templateIdstringyes(max length 200)
startDatestringnoYYYY-MM-DD, default today
replacebooleannoClear the range first
daysintegerno(min 1, max 31)

Example arguments

{"templateId":"abc123","startDate":"2026-12-28"}

meal_plan_delete_template

destructive · idempotent

Deletes your own weekly templates.

1 parameter
ParameterTypeRequiredDescription
templateIdsstring[]yes(min 1 items, max 100 items)

Example arguments

{"templateIds":["abc123"]}

Lists the curated public meal plan templates from Samsung Food (not your own - those are in meal_plan_templates). key "onboarding" groups them by diet, "wellness_tips" by wellness area (sleep, stress, ...). The template ids work with meal_plan_templates (templateId) to see the meals and with meal_plan_apply_template.

1 parameter
ParameterTypeRequiredDescription
keyonboarding | wellness_tipsno(default "onboarding")

Example arguments

{"key":"onboarding"}

meal_plan_template_update

write · idempotent

Renames or re-describes one of your own templates (id from meal_plan_templates or meal_plan_save_template). Only the given fields change; the meals stay as they are.

3 parameters
ParameterTypeRequiredDescription
templateIdstringyes(max length 200)
titlestringnoNew template name (max length 300)
descriptionstringnoNew description (max length 2000)

Example arguments

{"templateId":"01a0eeeeeeeeeeeeeeeeeeeeeeeeeeee","title":"Quick weeknights"}

Shopping lists

Shows the shopping list with open and completed items, grouped by category.

1 parameter
ParameterTypeRequiredDescription
listIdstringnoDefault: primary list (max length 200)

Adds free-text items to the shopping list, e.g. "2 onions". The server detects quantity, unit and category itself.

3 parameters
ParameterTypeRequiredDescription
itemsstring[]yese.g. ["2 onions", "milk", "500 g flour"] (min 1 items, max 100 items)
listIdstringno(max length 200)
addToRecentbooleannoRemember the items in "recent items" (default true)

Example arguments

{"items":["2 onions","milk"]}

Copies all ingredients of a recipe to the shopping list and merges quantities.

3 parameters
ParameterTypeRequiredDescription
recipeIdstringyes(max length 200)
servingsnumbernoServings, scales the quantities (> 0, max 1000)
listIdstringno(max length 200)

Example arguments

{"recipeId":"101abc","servings":4}

shopping_list_update

destructive · idempotent

Checks items off, undoes that, or deletes them (IDs from shopping_list_get).

3 parameters
ParameterTypeRequiredDescription
itemIdsstring[]yes(min 1 items, max 100 items)
actioncheck | uncheck | deleteyes
listIdstringno(max length 200)

Example arguments

{"itemIds":["abc123"],"action":"check"}

Lists all shopping lists of the account, including shared lists.

No parameters.

Creates a new (non-primary) shopping list, optionally filled with free-text items like "2 onions". Returns the new list with its ID for the other shopping_list_* tools (listId argument).

3 parameters
ParameterTypeRequiredDescription
namestringyeslist name (max length 200)
itemsstring[]noe.g. ["2 onions", "milk"] (max 100 items)
addToRecentbooleannoRemember the items in "recent items" (default true)

Example arguments

{"name":"Weekend BBQ","items":["2 onions","milk"]}

shopping_list_rename

write · idempotent

Renames a shopping list.

2 parameters
ParameterTypeRequiredDescription
listIdstringyesShopping list ID from shopping_lists (ids start with 106) (max length 200)
namestringyeslist name (max length 200)

Example arguments

{"listId":"10601aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","name":"Party"}

shopping_list_delete

destructive · idempotent

Deletes a shopping list with all its items; this cannot be undone and affects everyone the list is shared with. The primary list is refused: call shopping_list_set_primary for another list first.

1 parameter
ParameterTypeRequiredDescription
listIdstringyesShopping list ID from shopping_lists (ids start with 106) (max length 200)

Example arguments

{"listId":"10601aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}

Copies a shopping list including its items into a new list (named "Copy of <name>", localized by the server). Returns the new list; rename it with shopping_list_rename.

1 parameter
ParameterTypeRequiredDescription
listIdstringyesShopping list ID from shopping_lists (ids start with 106) (max length 200)

Example arguments

{"listId":"10601aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}

shopping_list_set_primary

write · idempotent

Makes a shopping list the primary one. The primary list is the default for shopping_list_get, shopping_list_add, shopping_list_add_recipe and shopping_list_update when no listId is given, so use with care. No-op if it already is primary.

1 parameter
ParameterTypeRequiredDescription
listIdstringyesShopping list ID from shopping_lists (ids start with 106) (max length 200)

Example arguments

{"listId":"10601aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}

Items recently used on any shopping list (the suggestion pool of the app). Returns {total, items}; if total exceeds the limit, raise limit (max 100).

1 parameter
ParameterTypeRequiredDescription
limitintegernoMaximum number of results, default 50, max 100 (min 1, max 100, default 50)

Example arguments

{"limit":20}

Favorite shopping items (quick-add pool). Returns {total, items} with the favorite IDs needed by shopping_list_favorites_modify; if total exceeds the limit, raise limit (max 100).

1 parameter
ParameterTypeRequiredDescription
limitintegernoMaximum number of results, default 50, max 100 (min 1, max 100, default 50)

Example arguments

{"limit":20}

Creates, updates or deletes favorite shopping items in one call. ops is a list of {op:"create", name, brand?, comment?, quantity?, unit?}, {op:"update", id, name, ...} (replaces the whole favorite, so repeat the fields you want to keep) or {op:"delete", id}. IDs come from shopping_list_favorites. Returns the created/updated items and deleted IDs.

1 parameter
ParameterTypeRequiredDescription
opsobject[]yes(min 1 items, max 50 items)

Example arguments

{"ops":[{"op":"create","name":"oat milk","quantity":1,"unit":"l"},{"op":"delete","id":"01a0dddddddddddddddddddddddddddd"}]}

Recipes

Returns recipe suggestions from the global catalog for browsing. No search term possible - the API ignores it. Use seed to shuffle the selection.

2 parameters
ParameterTypeRequiredDescription
limitintegerno(min 1, max 50)
seedintegernoshuffles the selection, e.g. a random number (min 0, max 2147483647)

recipe_get

read-only

Fetches a recipe with ingredients, instructions, step-linked ingredients (when present) and nutrition.

1 parameter
ParameterTypeRequiredDescription
recipeIdstringyes(max length 200)

Example arguments

{"recipeId":"101abc"}

Finds recipes similar to a given recipe.

2 parameters
ParameterTypeRequiredDescription
recipeIdstringyes(max length 200)
limitintegerno(min 1, max 100)

Example arguments

{"recipeId":"101abc"}

Extracts a recipe from any website and saves it to the account. With dryRun it only parses, without saving.

3 parameters
ParameterTypeRequiredDescription
urlstringyes
dryRunbooleanno
collectionIdsstring[]no(max 50 items)

Example arguments

{"url":"https://example.com/recipe","dryRun":true}

Creates a custom recipe. With recipeId an existing recipe is overwritten. Each instruction step can be a plain string or an object { text, ingredients } linking exact lines from the ingredients list to that step (or ingredientIndexes for 0-based indexes when duplicate ingredient lines exist).

10 parameters
ParameterTypeRequiredDescription
namestringyesname (max length 300)
ingredientsstring[]yesone ingredient per line, e.g. "400 g hokkaido pumpkin" (min 1 items, max 200 items)
instructions(string | object)[]noplain step strings, or { text, ingredients } objects linking lines from ingredients (or ingredientIndexes) (max 200 items)
descriptionstringno(max length 2000)
servingsintegerno(min 1, max 1000)
cookTimeintegernoMinutes (min 0, max 100000)
prepTimeintegernoMinutes (min 0, max 100000)
imagesstring[]no(max 10 items)
collectionIdsstring[]no(max 50 items)
recipeIdstringno(max length 200)

Example arguments

{"name":"Test soup","ingredients":["1 onion"],"instructions":[{"text":"Cook.","ingredients":["1 onion"]}]}

recipe_delete

destructive · idempotent

Deletes a custom recipe.

1 parameter
ParameterTypeRequiredDescription
recipeIdstringyes(max length 200)

Example arguments

{"recipeId":"101abc"}

recipe_update

write · idempotent

Changes fields of one of YOUR OWN recipes (created with recipe_create or imported); everything not passed stays as it is. Passing ingredients or instructions replaces the whole list. Each instruction step can be a plain string or { text, ingredients } linking exact lines from the recipe ingredients list (existing or newly passed), or { text, ingredientIndexes } for 0-based indexes. Recipes of other users are rejected. The returned recipe.id is the one to use from now on (normally unchanged).

11 parameters
ParameterTypeRequiredDescription
recipeIdstringyesID of your own recipe, from recipe_search or recipe_create (max length 200)
namestringnoname (max length 300)
descriptionstringno(max length 2000)
ingredientsstring[]noone ingredient per line, e.g. "400 g hokkaido pumpkin"; replaces the list (min 1 items, max 200 items)
instructions(string | object)[]noreplaces the steps; plain strings or { text, ingredients } objects linking lines from ingredients (or ingredientIndexes) (min 1 items, max 200 items)
servingsintegerno(min 1, max 1000)
cookTimeintegernoMinutes (min 0, max 100000)
prepTimeintegernoMinutes (min 0, max 100000)
imagesstring[]noreplaces the images (min 1 items, max 10 items)
sourceNamestringnosource name (max length 200)
sourceUrlstringno

Example arguments

{"recipeId":"107abc","name":"Pumpkin soup","servings":4,"instructions":["Chop the pumpkin","Simmer for 20 minutes"]}

recipe_rate

write · idempotent

Likes or dislikes a recipe (Samsung Food has a thumbs up/down, no stars). rating is exactly "like" or "dislike"; rating again replaces your previous rating. Only works for public recipes: private recipes (e.g. your own, never shared) are rejected with a moderation error. Returns the review including its ID.

2 parameters
ParameterTypeRequiredDescription
recipeIdstringyesRecipe ID from recipe_search, recipe_discover or meal_plan_get (max length 200)
ratinglike | dislikeyeslike | dislike

Example arguments

{"recipeId":"107abc","rating":"like"}

recipe_review_post

write · idempotent

Posts your written review of a recipe with optional tags and a like/dislike. Tags are short lowercase words such as delicious, easy, fresh, go-to, spicy, moist, under-30-minutes, makes-leftovers. Public recipes only (private ones are rejected). At least one of text, tags or rating is required. Remove it again with recipe_review_delete.

4 parameters
ParameterTypeRequiredDescription
recipeIdstringyesRecipe ID from recipe_search, recipe_discover or meal_plan_get (max length 200)
textstringnoReview text (max length 2000)
tagsstring[]no(max 20 items)
ratinglike | dislikenolike | dislike

Example arguments

{"recipeId":"107abc","text":"They came out great","tags":["delicious","easy"],"rating":"like"}

Shows a review. With recipeId: YOUR review of that recipe (null if you have none). With reviewId: that review (the id is in the result of recipe_rate / recipe_review_post). rating is like or dislike.

2 parameters
ParameterTypeRequiredDescription
recipeIdstringnoRecipe ID from recipe_search; returns your own review of it (max length 200)
reviewIdstringnoReview ID from recipe_rate or recipe_review_post (max length 200)

Example arguments

{"recipeId":"107abc"}

recipe_review_delete

destructive · idempotent

Deletes YOUR review/rating of a recipe (only your own can be deleted). Takes the recipe ID, not the review ID.

1 parameter
ParameterTypeRequiredDescription
recipeIdstringyesRecipe ID from recipe_search, recipe_discover or meal_plan_get (max length 200)

Example arguments

{"recipeId":"107abc"}

Suggests search terms for a prefix, as the search box of the app does. With includeRecent your own recent searches are mixed in (flagged recent=true). Useful terms can be passed to recipe_search (own recipes) or recipe_import_url.

3 parameters
ParameterTypeRequiredDescription
querystringyesPrefix typed so far, e.g. "pum" (max length 100)
limitintegernoMaximum number of results, default 10, max 50 (min 1, max 50, default 10)
includeRecentbooleanno

Example arguments

{"query":"pum","limit":5}

Lists the search categories of the explore page (id, title, image), e.g. chicken, pasta, vegan, under_30_min. type: "featured" = the home grid (default), "all" = the complete list. The titles work as search terms.

1 parameter
ParameterTypeRequiredDescription
typefeatured | allnofeatured | all, default featured

Example arguments

{"type":"featured"}

Smart collections are the automatic recipe lists of the app: made_it, recently_viewed, planned and my_recipes. Without collectionId it lists them (with recipe counts). With collectionId (one of those four ids) it returns the recipes in it, newest first by default, plus the available tags. Use limit and the returned nextCursor (as cursor) for more.

5 parameters
ParameterTypeRequiredDescription
collectionIdmade_it | recently_viewed | planned | my_recipesnomade_it | recently_viewed | planned | my_recipes; omit to list the collections
limitintegernoMaximum number of results, default 20, max 100 (min 1, max 100, default 20)
cursorstringnonextCursor of the previous page, to get the next page (max length 4000)
ordernewest | oldestnonewest | oldest, default newest
tagsstring[]notag names from a previous result, to filter (max 20 items)

Example arguments

{"collectionId":"recently_viewed","limit":10}

Meal suggestions per day and meal slot that fit the calorie and nutrition goals of the account (see account_info), with the reasons (caloriesMacros, dqsAhei, foodList, mlRerank and their weight). mealTimes: any of breakfast, lunch, dinner, snack, togo (default breakfast, lunch, dinner). Recipe IDs can go to meal_plan_add or recipe_get. For more options for one slot use recipe_health_alternatives.

4 parameters
ParameterTypeRequiredDescription
fromstringnoFirst day as YYYY-MM-DD, default today
tostringnoLast day as YYYY-MM-DD, default same as from
mealTimes(breakfast | lunch | dinner | snack | togo)[]nobreakfast | lunch | dinner | snack | togo, default breakfast, lunch, dinner (min 1 items, max 5 items)
limitintegernoMaximum number of results, default 3, max 10 (min 1, max 10, default 3)

Example arguments

{"from":"2026-11-02","mealTimes":["lunch","dinner"],"limit":2}

More health-based suggestions for ONE meal slot of one day (the "show other options" of the recommendations). mealTime: breakfast \| lunch \| dinner \| snack \| togo. Recipe IDs can go to meal_plan_add or recipe_get.

3 parameters
ParameterTypeRequiredDescription
datestringyesDay as YYYY-MM-DD
mealTimebreakfast | lunch | dinner | snack | togoyesbreakfast | lunch | dinner | snack | togo
limitintegernoMaximum number of results, default 5, max 20 (min 1, max 20, default 5)

Example arguments

{"date":"2026-11-02","mealTime":"dinner","limit":3}

Dish pages: generic dishes (burger, bread, ...) with typical nutrition per 100 g. Without urlPath it lists the top-level dishes with their urlPath (limit/cursor to page: nextCursor). With urlPath (as listed, e.g. "burger/cheeseburger") it returns that dish with the typical serving size in grams and the nutrition per 100 g.

3 parameters
ParameterTypeRequiredDescription
urlPathstringnourlPath from the dish list (max length 200)
limitintegernoMaximum number of results, default 20, max 100 (min 1, max 100, default 20)
cursorstringnonextCursor of the previous page, to get the next page (max length 4000)

Example arguments

{"urlPath":"burger/cheeseburger"}

Other recipes by the same author as a given recipe. The list is empty when the recipe has no user author (e.g. imported from a website).

2 parameters
ParameterTypeRequiredDescription
recipeIdstringyesRecipe ID from recipe_search, recipe_discover or meal_plan_get (max length 200)
limitintegernoMaximum number of results, default 10, max 50 (min 1, max 50, default 10)

Example arguments

{"recipeId":"107abc","limit":5}

Your recent recipe searches, newest first. Samsung Food only keeps the last 5, and every recipe_search registers its term there.

No parameters.

recipe_recent_query_delete

destructive · idempotent

Removes one entry from your recent recipe searches (query = the exact text from recipe_recent_queries).

1 parameter
ParameterTypeRequiredDescription
querystringyesquery (max length 200)

Example arguments

{"query":"pumpkin soup"}

Collections

Lists the recipe collections of the account.

1 parameter
ParameterTypeRequiredDescription
limitintegerno(min 1, max 100)

Shows the recipes in a collection.

2 parameters
ParameterTypeRequiredDescription
collectionIdstringyes(max length 200)
limitintegerno(min 1, max 100)

Example arguments

{"collectionId":"abc123"}

Details of one recipe collection: name, recipe count, accessMode (private \| public) and your role (owner \| none). Use collection_recipes to see the recipes.

1 parameter
ParameterTypeRequiredDescription
collectionIdstringyesCollection ID from collections_list (ids start with 105) (max length 200)

Example arguments

{"collectionId":"10501cccccccccccccccccccccccccccccc"}

Creates an empty recipe collection. It is private unless accessMode is "public". Returns the new collection with its ID; fill it with collection_add_recipes.

2 parameters
ParameterTypeRequiredDescription
namestringyescollection name (max length 200)
accessModeprivate | publicno"private" (only you) or "public" (anyone with the link can view)

Example arguments

{"name":"Quick dinners","accessMode":"private"}

collection_update

write · idempotent

Renames a collection and/or switches it between private and public. Give at least one of name, accessMode.

3 parameters
ParameterTypeRequiredDescription
collectionIdstringyesCollection ID from collections_list (ids start with 105) (max length 200)
namestringnocollection name (max length 200)
accessModeprivate | publicno"private" (only you) or "public" (anyone with the link can view)

Example arguments

{"collectionId":"10501cccccccccccccccccccccccccccccc","name":"Keto","accessMode":"private"}

collection_delete

destructive · idempotent

Deletes a recipe collection. The recipes in it stay saved in the account, they only lose this membership. Cannot be undone.

1 parameter
ParameterTypeRequiredDescription
collectionIdstringyesCollection ID from collections_list (ids start with 105) (max length 200)

Example arguments

{"collectionId":"10501cccccccccccccccccccccccccccccc"}

Copies a collection into a new one (the server names the copy). Returns the copy with its ID.

1 parameter
ParameterTypeRequiredDescription
collectionIdstringyesCollection ID from collections_list (ids start with 105) (max length 200)

Example arguments

{"collectionId":"10501cccccccccccccccccccccccccccccc"}

collection_add_recipes

write · idempotent

Adds recipes to a collection (a recipe can be in several collections). Recipe IDs from recipe_search, collection_recipes or recipe_create (ids start with 101 or 107). Only recipes already saved in your account work; others are reported under notSaved (save them first, e.g. with recipe_import_url or recipe_create). Returns {added, unchanged, notSaved, failed}.

2 parameters
ParameterTypeRequiredDescription
collectionIdstringyesCollection ID from collections_list (ids start with 105) (max length 200)
recipeIdsstring[]yes(min 1 items, max 50 items)

Example arguments

{"collectionId":"10501cccccccccccccccccccccccccccccc","recipeIds":["10701eeeeeeeeeeeeeeeeeeeeeeeeeeeeee"]}

collection_remove_recipes

destructive · idempotent

Removes recipes from a collection. The recipes themselves stay saved in your account (verified: even when this was their last collection, for recipes you created; for recipes you did not create, removing the last collection is refused). Recipe IDs from recipe_search, collection_recipes or recipe_create (ids start with 101 or 107). Returns {removed, unchanged, notSaved, failed}.

2 parameters
ParameterTypeRequiredDescription
collectionIdstringyesCollection ID from collections_list (ids start with 105) (max length 200)
recipeIdsstring[]yes(min 1 items, max 50 items)

Example arguments

{"collectionId":"10501cccccccccccccccccccccccccccccc","recipeIds":["10701eeeeeeeeeeeeeeeeeeeeeeeeeeeeee"]}

Pantry

pantry_get

read-only

Shows the pantry with storage location, expiry date and daysLeft (negative = expired). Useful to see what needs to be used up before planning. With storage places configured (pantry_places), every entry also has its place, and place filters by one ("what is in the garden shed freezer?").

5 parameters
ParameterTypeRequiredDescription
includeConsumedbooleannoAlso include consumed entries, default false (there can be hundreds)
limitintegernoPage size, default 50, max 200 (min 1, max 200, default 50)
offsetintegernoEntries to skip; use nextOffset from the previous page (min 0, default 0)
searchstringnoOnly entries whose name contains this text (max length 100)
placestringnoOnly entries in this place (id, name or alias from pantry_places) or Samsung location (fridge, freezer, pantry, "Kühlschrank", ...) (max length 100)

Example arguments

{"limit":10}

Adds entries to the pantry. For a shopping trip ("I bought ...", a receipt) use groceries_bought instead: it handles location, expiry date and the shopping list per item. Names are plain food names; never put quantities in them ("Leek", not "Leek (3 stalks)"). IMPORTANT: for ingredients that can go in the fridge OR the freezer (meat, fish, butter), Samsung Food does NOT set an expiry date on its own - pass location here and the shelf life is computed from the food graph (chicken breast: fridge 2 days, freezer 9 months). Ask food_storage_info first if the storage location is unclear. Names that only approximately match a food-graph product (e.g. "oat milk" -> Milk) never get an automatic expiry date; those entries come back with matchedProduct and a warning.

3 parameters
ParameterTypeRequiredDescription
namesstring[]yese.g. ["chicken breast", "basmati rice"] (min 1 items, max 100 items)
locationfridge | freezer | pantry | flexnofridge | freezer | pantry | flex (Flex Zone of Samsung fridges) - applies to all listed ingredients
placestringnoStorage place from pantry_places (id, name or alias); sets the location. Applies to all listed ingredients (max length 100)

Example arguments

{"names":["chicken breast"],"location":"freezer"}

pantry_update

write · idempotent

Changes the expiry date, name, storage location or place of a pantry entry. A place (from pantry_places) sets the matching location; the expiry date is not recomputed, pass expiryDate as well when moving between fridge and freezer.

5 parameters
ParameterTypeRequiredDescription
idstringyes(max length 200)
expiryDatestringnoYYYY-MM-DD
namestringnoname (max length 300)
locationfridge | freezer | pantry | flexnofridge | freezer | pantry | flex
placestringnoStorage place from pantry_places (id, name or alias) (max length 100)

Example arguments

{"id":"abc123","expiryDate":"2026-12-24"}

pantry_consume

destructive · idempotent

Marks pantry entries as consumed, undoes that, or deletes them entirely.

2 parameters
ParameterTypeRequiredDescription
itemIdsstring[]yes(min 1 items, max 100 items)
actionconsume | unconsume | deleteyes

Example arguments

{"itemIds":["abc123"],"action":"consume"}

Use this when the user says they bought, purchased or brought home food ("I bought ...", "habe heute ... gekauft", "war einkaufen", "eingekauft"), or sends a photo of a supermarket receipt (Kassenbon): read the receipt yourself and pass the food items; leave out non-food items, deposits (Pfand), bags and discounts. One call records the whole trip: every item becomes a pantry entry with storage location, place and expiry date, and matching open items on the shopping list are checked off. Per item: name in the user's language (without the quantity); matchName = English food name whenever name is not English (the shelf-life data is English: "Milch" needs matchName "milk", "Haehnchenbrust" "chicken breast"); location or place only if the user said where it goes (frozen goods: freezer); expiryDate only if the user gave the date from the package. Without a location the usual one for the food is taken. The user's own places (boiler room, cellar, second fridge) map to the three Samsung Food locations fridge, freezer and pantry, see pantry_places; pantry shelf life assumes room temperature. The result lists added entries (expirySource: package, foodGraph or samsungFood; none = no date), needsConfirmation (fridge or freezer for meat and fish, or which of several fridges or freezers: ask the user and fix with pantry_update), checkedOff shopping list items and warnings. alreadyInPantry means an unconsumed entry of the same food existed; a new one is added anyway. Samsung Food stores no quantities; they are only echoed back.

3 parameters
ParameterTypeRequiredDescription
itemsobject[]yesOne entry per food item bought (min 1 items, max 100 items)
checkOffShoppingListbooleannoCheck matching open items off the shopping list, default true (default true)
listIdstringnoShopping list to check off, default: the primary list (IDs from shopping_lists) (max length 200)

Example arguments

{"items":[{"name":"Milch","matchName":"milk"},{"name":"Hähnchenbrust","matchName":"chicken breast","quantity":"500 g"},{"name":"TK-Erbsen","matchName":"frozen peas","location":"freezer"},{"name":"Butter","expiryDate":"2026-12-24"}]}

pantry_places

read-only

Lists the user's own storage places (e.g. "Kitchen fridge", "Garden shed freezer", "Boiler room") with the Samsung Food location each one maps to (fridge, freezer, pantry, or auto = per food) and which one is the default per location. Place ids, names and aliases work as place in groceries_bought, pantry_add, pantry_update and pantry_get. Stored with this server, not in Samsung Food.

No parameters.

pantry_places_set

write · idempotent

Replaces the list of storage places (read pantry_places first and send the complete list; [] removes all). Each place maps to one Samsung Food location: fridge, freezer, pantry, or auto for a place without a fixed location. Mark one place per location as default; it is used when the user names only the location. Pantry entries of a removed place lose their place, nothing in Samsung Food changes. At most 30 places.

1 parameter
ParameterTypeRequiredDescription
placesobject[]yesThe complete new list (max 30 items)

Example arguments

{"places":[{"id":"fridge-kitchen","name":"Kitchen fridge","location":"fridge","default":true},{"id":"freezer-garden","name":"Garden shed freezer","location":"freezer","aliases":["garden shed"]},{"id":"boiler-room","name":"Boiler room","location":"pantry"}]}

Food and nutrition

Looks up where an ingredient is stored and how long it keeps there - without creating anything. Returns all possible storage locations with shelf life in days and whether the location is ambiguous. exact: false (with a warning) means the name was matched to the closest product, not found as such. Purely local, no API call.

1 parameter
ParameterTypeRequiredDescription
namestringyese.g. "chicken breast" (max length 300)

Example arguments

{"name":"chicken breast"}

food_get

read-only

Shows one food: its portion sizes (name such as "medium"/"large", grams) and the nutrition per 100 g (Edamam codes like ENERC_KCAL, FAT, CHOCDF, PROCNT). Multiply by grams/100 for a portion. foodId from food_search.

4 parameters
ParameterTypeRequiredDescription
foodIdstringyesFood ID from food_search (max length 200)
attributeIdstringnoattributeId of the search hit, if it had one (max length 200)
nutritionbooleannoinclude nutrition per 100 g, default true
languagestringnoTwo-letter language code, default: the configured locale

Example arguments

{"foodId":"20271bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}

Suggests food names for a prefix (e.g. "ban" gives banana). The names work as input for food_search.

3 parameters
ParameterTypeRequiredDescription
querystringyesPrefix, e.g. "ban" (max length 100)
limitintegernoMaximum number of results, default 10, max 50 (min 1, max 50, default 10)
languagestringnoTwo-letter language code, default: the configured locale

Example arguments

{"query":"ban","limit":5}

Shows a Foodpedia product: category, description, storage location, glycemic index, nutrition per 100 g, grams per unit (piece, slice, ...), suitable diets, tips, substitutes and a few linked recipes. productId from food_product_search or food_product_popular.

1 parameter
ParameterTypeRequiredDescription
productIdstringyesProduct ID (canonical name, upper case) from food_product_search or food_product_popular (max length 200)

Example arguments

{"productId":"BANANA"}

Parses free-text ingredient lines such as "2 cups milk" or "400 g hokkaido pumpkin" into the normalized food (canonical name), category, quantity and unit. Nothing is saved. To get the nutrition of a recognised food, look it up with food_product_get using the canonical name as productId.

2 parameters
ParameterTypeRequiredDescription
itemsstring[]yesone ingredient per entry, e.g. ["2 eggs", "1 cup milk"] (min 1 items, max 100 items)
languagestringnoTwo-letter language code, default: the configured locale

Example arguments

{"items":["400 g hokkaido pumpkin","2 eggs","1 cup milk"]}

Logs planned meals as eaten in the food log (so they count towards your nutrition tracking). mealIds come from meal_plan_get. Returns foodLogIds, which foodlog_delete needs to undo it.

1 parameter
ParameterTypeRequiredDescription
mealIdsstring[]yesMeal IDs from meal_plan_get (min 1 items, max 50 items)

Example arguments

{"mealIds":["01a0aaaabbbbccccddddeeeeeeeeeeee"]}

foodlog_delete

destructive · idempotent

Removes entries from the food log (the meal stays in the meal plan). foodLogIds as returned by foodlog_add_from_meal_plan; plain meal IDs from meal_plan_get are accepted as well.

1 parameter
ParameterTypeRequiredDescription
foodLogIdsstring[]yes(min 1 items, max 50 items)

Example arguments

{"foodLogIds":["01a0aaaa-bbbb-cccc-dddd-eeeeeeeeeeee"]}

Account and login

account_info

read-only

Shows your own account with nutrition goals and settings.

No parameters.

auth_status

read-only

Shows whether a Samsung Food login is stored, when it expires and when it was last renewed. Never returns the token itself.

No parameters.

auth_login

write · idempotent

Logs in with a browser session: validates the value, renews it to learn the expiry and stores it. Log in at app.samsungfood.com, run copy(document.cookie) in the DevTools console and pass the result. The value is a session secret: it grants full access to the account.

1 parameter
ParameterTypeRequiredDescription
tokenstringyesCookie string (document.cookie), bare token, "Bearer <token>" or a "Copy as cURL" command

Example arguments

{"token":"fake-token-fake-token-fake-token"}

auth_login_browser

write · idempotent

Starts a login without any copy and paste: opens a page on this computer in the default browser where the user confirms the Samsung Food login with one click. Returns right away; afterwards call auth_status to confirm. Use this when auth_status shows no login. The page only runs on 127.0.0.1 until the login is done.

No parameters.

Shows the preferences of the account in a readable form: diets, avoidances, cuisines, cooking level, household, units, body data, nutrition goals, meal planning preferences and notification switches. account_info returns the raw account instead.

No parameters.

account_settings_update

write · idempotent

Changes preferences of the account. Only the given fields change (field mask); list fields replace the whole list. This affects recommendations and nutrition goals of the real account - use account_settings_get first. nutritionGoals and emailNotifications are merged with the current values.

21 parameters
ParameterTypeRequiredDescription
diets(lacto-vegetarian | ovo-vegetarian | ovo-lacto-vegetarian | pescatarian | vegan | vegetarian | low-carb | mediterranean | ketogenic | paleo | dairy-free | gluten-free)[]noDiets; allowed: lacto-vegetarian, ovo-vegetarian, ovo-lacto-vegetarian, pescatarian, vegan, vegetarian, low-carb, mediterranean, ketogenic, paleo, dairy-free, gluten-free. The list replaces the current one ([] clears it) (max 12 items)
avoidances(alcohol | caffeine | celery | crustacean | egg | fish | gluten | groundnut | milk | mollusc | mustard | sesame | soybean | sulphites | tree-nut | wheat | lactose | yeast)[]noAllergens/avoidances; allowed: alcohol, caffeine, celery, crustacean, egg, fish, gluten, groundnut, milk, mollusc, mustard, sesame, soybean, sulphites, tree-nut, wheat, lactose, yeast. The list replaces the current one ([] clears it) (max 18 items)
nutritionPreferences(healthy | high-protein | low-sugars | low-energy | low-sodium | low-fat | high-fiber)[]noNutrition preferences; allowed: healthy, high-protein, low-sugars, low-energy, low-sodium, low-fat, high-fiber. The list replaces the current one ([] clears it) (max 7 items)
favouriteCuisines(african | american | asian | australian | british | cajun-and-creole | canadian | caribbean | chinese | cuban | eastern-european | european | french | german | greek | indian | israeli | italian | japanese | korean | latin-american | mediterranean | mexican | middle-eastern | moroccan | portuguese | southern | spanish | tex-mex | thai | vietnamese | world-cuisine)[]noFavourite cuisines; allowed: african, american, asian, australian, british, cajun-and-creole, canadian, caribbean, chinese, cuban, eastern-european, european, french, german, greek, indian, israeli, italian, japanese, korean, latin-american, mediterranean, mexican, middle-eastern, moroccan, portuguese, southern, spanish, tex-mex, thai, vietnamese, world-cuisine. The list replaces the current one ([] clears it) (max 32 items)
dislikedIngredientsstring[]noFree-text ingredient names; replaces the list (max 100 items)
usageGoals(quick-recipe-ideas | meal-planning | healthier-eating | instant-grocery-lists)[]noUsage goals; allowed: quick-recipe-ideas, meal-planning, healthier-eating, instant-grocery-lists. The list replaces the current one ([] clears it) (max 4 items)
cookingLevelbeginner | intermediate | advancedno
householdAdultCountintegerno(min 0, max 50)
householdChildCountintegerno(min 0, max 50)
languagestringno
countrystringno
gendermale | female | non_binary | undisclosedno
yearOfBirthintegerno(min 1900, max 2026)
heightobjectno
weightobjectno
activityLevelvery_light | light | moderate | active | very_activeno
weeklyMealsintegernoPlanned meals per week (min 0, max 35)
plannedMeals(breakfast | lunch | dinner | snacks | takeout)[]noMeal slots you plan: breakfast, lunch, dinner, snacks, takeout (max 5 items)
nutritionGoalsobjectno
pushNotificationsbooleanno
emailNotificationsobjectno

Example arguments

{"diets":["vegetarian"],"cookingLevel":"intermediate","nutritionGoals":{"calorieGoal":2000}}

account_usage

read-only

Shows how many uses are left of a limited feature: mealplan_template_collections (curated meal plan templates) or hr_tailored_plan (tailored plan). Returns remaining and, when the quota is exhausted, when it is available again.

1 parameter
ParameterTypeRequiredDescription
featuremealplan_template_collections | hr_tailored_planyes

Example arguments

{"feature":"mealplan_template_collections"}

Raw API access

api_methods

read-only

Lists the available gRPC methods of the Samsung Food API, optionally filtered by substring. For everything that has no dedicated tool.

1 parameter
ParameterTypeRequiredDescription
filterstringnoe.g. "Community" or "MealPlan"

api_describe

read-only

Shows the request and response fields of a gRPC method so that api_call can be used correctly.

2 parameters
ParameterTypeRequiredDescription
methodstringyes
depthintegerno(min 1, max 6)

Example arguments

{"method":"whisk.x.list.v1.ListAPI/GetLists"}

api_call

destructive

Calls any gRPC method directly. Use api_describe first to learn the field names. Write methods change real data. Login/session methods (AuthAPI) and account-credential methods (change e-mail, phone or password, delete the account, Samsung account code exchange) are refused. Secrets in results (tokens, auth codes, passwords) are replaced by "[redacted]".

2 parameters
ParameterTypeRequiredDescription
methodstringyese.g. "whisk.x.list.v1.ListAPI/GetLists"
requestobjectno

Example arguments

{"method":"whisk.x.list.v1.ListAPI/GetLists","request":{}}