Chop it: meal planning, recipes, pantry and shopping is an MCP server published by app.chopit, hosted at chopit.app. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 39 tools, including open_chopit, analyse_recipe_selection, search_recipes, prepare_weekly_menu, create_weekly_menu.
Weekly meal planning, recipes and pantry-aware shopping. Browse and draft without an account.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Opens the interactive Chop it app for an explicit request such as 'open Chop it', 'load the app' or 'show my This Week screen'. view selects this_week, saved_weeks, recipes, pantry, shopping or meal_planning; recipeId opens one recipe's own screen, which is how a person looks at a recipe from a plan, a search or their week. Returns the new app shell where enabled, otherwise a normal browser link. Reads and writes no account data and creates no draft. Available without an account; private screens require sign-in.
| Parameter | Type | Description |
|---|---|---|
| view | string | one of ["this_week","saved_weeks","recipes","pantry","shopping","meal_planning"] |
| recipeId | string | Opens this one recipe's screen. A recipeId from a plan, a search, the week or the library; view is then recipes. |
Inferred from the host name and headers: what a server runs on, not who runs it.
{
"name": "open_chopit",
"title": "Open Chop it",
"description": "Opens the interactive Chop it app for an explicit request such as 'open Chop it', 'load the app' or 'show my This Week screen'. view selects this_week, saved_weeks, recipes, pantry, shopping or meal_planning; recipeId opens one recipe's own screen, which is how a person looks at a recipe from a plan, a search or their week. Returns the new app shell where enabled, otherwise a normal browser link. Reads and writes no account data and creates no draft. Available without an account; private screens require sign-in.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"view": {
"enum": [
"this_week",
"saved_weeks",
"recipes",
"pantry",
"shopping",
"meal_planning"
],
"type": "string",
"default": "this_week"
},
"recipeId": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Opens this one recipe's screen. A recipeId from a plan, a search, the week or the library; view is then recipes."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"view",
"embedded",
"appUrl",
"message"
],
"properties": {
"type": {
"type": "string",
"const": "app_launch"
},
"view": {
"enum": [
"this_week",
"saved_weeks",
"recipes",
"pantry",
"shopping",
"meal_planning"
],
"type": "string"
},
"appUrl": {
"type": "string",
"format": "uri"
},
"message": {
"type": "string"
},
"embedded": {
"type": "boolean"
},
"recipeId": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Open Chop it",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Calculates nutrition and plant diversity for an exact list of up to 14 dinners using Chop it's existing weekly food score engine. Each dinner takes a recipeId and its known servings. Accepts catalogue or the caller's own saved recipes. Suits comparing the current week with proposed swaps before approval; returns calculated analysis with estimated nutrients or an explicit unavailable result for missing ingredients or repeated recipe IDs. Reads only the named recipes, creates no draft and changes no plan or shopping. Available without an account for catalogue recipes.
| Parameter | Type | Description |
|---|---|---|
| dinners * | array |
{
"name": "analyse_recipe_selection",
"title": "Analyse dinner nutrition and diversity",
"description": "Calculates nutrition and plant diversity for an exact list of up to 14 dinners using Chop it's existing weekly food score engine. Each dinner takes a recipeId and its known servings. Accepts catalogue or the caller's own saved recipes. Suits comparing the current week with proposed swaps before approval; returns calculated analysis with estimated nutrients or an explicit unavailable result for missing ingredients or repeated recipe IDs. Reads only the named recipes, creates no draft and changes no plan or shopping. Available without an account for catalogue recipes.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"dinners"
],
"properties": {
"dinners": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"servings"
],
"properties": {
"recipeId": {
"type": "string",
"minLength": 1
},
"servings": {
"type": "number",
"maximum": 100,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"maxItems": 14,
"minItems": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"recipeIds",
"missingRecipeIds",
"analysis",
"note"
],
"properties": {
"note": {
"type": "string"
},
"status": {
"enum": [
"analysed",
"unavailable"
],
"type": "string"
},
"analysis": {
"anyOf": [
{
"type": "object",
"required": [
"overallScore",
"overallLabel",
"overallSummary",
"overallSummaryDetailed",
"pillars",
"improvements"
],
"properties": {
"dinners": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"plants",
"role"
],
"properties": {
"id": {
"type": "string"
},
"role": {
"enum": [
"strong",
"low_fibre",
"low_protein",
"low_variety",
"balanced"
],
"type": "string"
},
"plants": {
"type": "number"
},
"fibrePerServing": {
"type": [
"number",
"null"
]
},
"proteinPerServing": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
},
"pillars": {
"type": "object",
"required": [
"protein",
"fibre",
"plants"
],
"properties": {
"fibre": {
"$ref": "#/properties/analysis/anyOf/0/properties/pillars/properties/protein"
},
"plants": {
"$ref": "#/properties/analysis/anyOf/0/properties/pillars/properties/protein"
},
"protein": {
"type": "object",
"required": [
"score",
"label",
"summary"
],
"properties": {
"label": {
"type": "string"
},
"score": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"details": {
"type": "array",
"items": {
"type": "string"
}
},
"summary": {
"type": "string"
},
"weeklyGrams": {
"type": [
"number",
"null"
]
},
"fibreSignals": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceBuckets": {
"type": "array",
"items": {
"type": "string"
}
},
"refinedCarbRisk": {
"type": "boolean"
},
"mealsWithProtein": {
"type": "number"
},
"targetPlantCount": {
"type": "number",
"const": 30
},
"uniquePlantCount": {
"type": "number"
},
"weightedPlantScore": {
"type": "number"
},
"proteinVarietyCount": {
"type": "number"
},
"weeklyGramsRecipeCount": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"penalties": {
"type": "array",
"items": {
"type": "string"
}
},
"improvements": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"relatedPillar": {
"enum": [
"protein",
"fibre",
"plants"
],
"type": "string"
},
"estimatedScoreLift": {
"type": "number"
}
},
"additionalProperties": false
}
},
"overallLabel": {
"type": "string"
},
"overallScore": {
"type": "number"
},
"overallSummary": {
"type": "string"
},
"penaltySummary": {
"type": "array",
"items": {
"type": "string"
}
},
"excludedRecipes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"reason"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"nutritionTotals": {
"type": "object",
"required": [
"servingsTotal",
"recipesWithNutrition",
"perServing",
"weekly"
],
"properties": {
"weekly": {
"type": "object",
"required": [
"kcal",
"protein_g",
"fibre_g",
"carbs_g",
"saturates_g",
"plants"
],
"properties": {
"kcal": {
"type": [
"number",
"null"
]
},
"plants": {
"type": "number"
},
"carbs_g": {
"type": [
"number",
"null"
]
},
"fibre_g": {
"type": [
"number",
"null"
]
},
"protein_g": {
"type": [
"number",
"null"
]
},
"saturates_g": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"perServing": {
"type": "object",
"required": [
"kcal",
"protein_g",
"fibre_g",
"carbs_g",
"saturates_g",
"plants"
],
"properties": {
"kcal": {
"type": [
"number",
"null"
]
},
"plants": {
"type": "number"
},
"carbs_g": {
"type": [
"number",
"null"
]
},
"fibre_g": {
"type": [
"number",
"null"
]
},
"protein_g": {
"type": [
"number",
"null"
]
},
"saturates_g": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"servingsTotal": {
"type": "number"
},
"recipesWithNutrition": {
"type": "number"
}
},
"additionalProperties": false
},
"overallSummaryDetailed": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"recipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"missingRecipeIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Analyse dinner nutrition and diversity",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Searches Chop it's catalogue of 1,000+ tested recipes and returns recipe cards (title, photo, time, tags, protein) with links into the app. Suits dinner ideas, a named dish, protein, cuisine or dietary need, or ingredients the user mentions. Matches can cover only some ingredients; check the recipe before saying it uses all of them. Structured filters are hard constraints: 'quick chicken dinners' maps to filters.protein ['chicken'] and filters.maxTimeMins 30. The query text is also parsed for protein, time, dietary and dinner intent as a fallback, and dinner-intent searches leave out sides, dips and starters. limit is the page size (at most 20) and total is every match; pass nextOffset as offset while hasMore is true to read the rest. A query that names nothing in the catalogue returns no recipes and a note. Search cards never include method steps. Without an account, results come from the fixed 100-recipe guest preview; a linked account searches the complete catalogue. Read-only and search results do not change a menu draft.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Page size. total in the result is the whole match count. |
| query * | string | What to search the Chop it catalogue for, e.g. 'chicken traybake'. |
| offset | integer | Start at 0, then pass nextOffset from the previous page while hasMore is true. |
| filters | object |
{
"name": "search_recipes",
"title": "Search Chop it recipes",
"description": "Searches Chop it's catalogue of 1,000+ tested recipes and returns recipe cards (title, photo, time, tags, protein) with links into the app. Suits dinner ideas, a named dish, protein, cuisine or dietary need, or ingredients the user mentions. Matches can cover only some ingredients; check the recipe before saying it uses all of them. Structured filters are hard constraints: 'quick chicken dinners' maps to filters.protein ['chicken'] and filters.maxTimeMins 30. The query text is also parsed for protein, time, dietary and dinner intent as a fallback, and dinner-intent searches leave out sides, dips and starters. limit is the page size (at most 20) and total is every match; pass nextOffset as offset while hasMore is true to read the rest. A query that names nothing in the catalogue returns no recipes and a note. Search cards never include method steps. Without an account, results come from the fixed 100-recipe guest preview; a linked account searches the complete catalogue. Read-only and search results do not change a menu draft.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"default": 8,
"maximum": 20,
"minimum": 1,
"description": "Page size. total in the result is the whole match count."
},
"query": {
"type": "string",
"minLength": 1,
"description": "What to search the Chop it catalogue for, e.g. 'chicken traybake'."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Start at 0, then pass nextOffset from the previous page while hasMore is true."
},
"filters": {
"type": "object",
"properties": {
"cuisine": {
"type": "string"
},
"dietary": {
"type": "array",
"items": {
"type": "string"
},
"description": "e.g. vegetarian, vegan, gluten-conscious"
},
"protein": {
"type": "array",
"items": {
"type": "string"
},
"description": "e.g. chicken, beef, fish, veg"
},
"minFibreG": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Minimum credible estimated fibre grams per serving; unknown nutrition is not a match."
},
"maxTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"recipes",
"total"
],
"properties": {
"note": {
"type": "string"
},
"total": {
"type": "number"
},
"offset": {
"type": "integer",
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"title",
"oneLiner",
"imageUrl",
"totalTimeMins",
"servings",
"tags",
"protein",
"plantCount",
"appUrl"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"isSweet": {
"type": "boolean"
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"oneLiner": {
"type": [
"string",
"null"
]
},
"recipeId": {
"type": "string"
},
"servings": {
"type": [
"number",
"null"
]
},
"nutrition": {
"anyOf": [
{
"type": "object",
"required": [
"kcal",
"proteinG",
"carbsG",
"fatG",
"fibreG",
"coveragePercent"
],
"properties": {
"fatG": {
"type": [
"number",
"null"
]
},
"kcal": {
"type": [
"number",
"null"
]
},
"carbsG": {
"type": [
"number",
"null"
]
},
"fibreG": {
"type": [
"number",
"null"
]
},
"proteinG": {
"type": [
"number",
"null"
]
},
"coveragePercent": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"plantCount": {
"type": [
"number",
"null"
]
},
"totalTimeMins": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
},
"pageSize": {
"type": "integer",
"exclusiveMinimum": 0
},
"returned": {
"type": "integer",
"minimum": 0
},
"nextOffset": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"annotations": {
"title": "Search Chop it recipes",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Compatibility planning entry point for older callers. create_weekly_menu is the main planner. Returns optional weekly planning configuration as data: the user picks a protein mix (a balanced default is offered, such as 2 chicken, 1 fish and 1 veg for four dinners) and people per dinner, for building the week. The chooser has no priority setting; a priority the user states (quick, healthy, comfort) is passed as the priority parameter. Provides optional mix configuration when the user wants to choose the structure before recipe generation. The default mix is a suggestion shown to the user, not a choice made for them. Returns configuration only: no recipes are chosen and no account is needed; for a signed-in account, its diet (vegetarian, vegan, pescatarian) shapes the mixes offered. When the request already states a counted mix, slotRequirements, a mixPreset or 'surprise me', this tool builds the draft directly, exactly as create_weekly_menu does. Takes the same parameters as create_weekly_menu.
| Parameter | Type | Description |
|---|---|---|
| brief * | string | Free-text brief, e.g. 'quick midweek family dinners, no fish'. |
| dietary | array | |
| priority | string | quick and speedy are the same criterion: every dinner within 30 minutes of credible total time. healthy uses the documented per-serving nutrition rule; comfort is the curated comfort style. balanced applies no preference. |
| servings | integer | |
| mixPreset | string | one of ["balanced","plants","family","variety"] |
| pantryMode | string | Task only: default ignore for fresh inspiration; use only when explicitly asked to plan from stock; focus prioritises named ingredients. Never changes the diet, foods to avoid or other lasting preferences. |
| maxTimeMins | integer | Global hard cap for EVERY dinner. For quick weeknights plus a slower weekend, use slotRequirements instead. |
| dinnersCount | integer | How many dinners to plan. If omitted, the count named in the brief wins, else 5. |
| recipeSource | string | Saved means the linked library. Not recently planned excludes recent MCP draft selections; it does not imply never cooked. |
| configurationId | string | Set by the weekly chooser widget: the chooser this week is built from, so the widget can find it again after a reload. |
| excludeRecipeIds | array | |
| focusIngredients | array | Only ingredients explicitly named for using up; do not fill from remembered inventory. |
| includeRecipeIds | array | Recipe ids to pin into the week. |
| slotRequirements | array | One entry per dinner, in display order. Use for mixed briefs: quick slots have maxTimeMins, a slower weekend has minTimeMins and special, and a fish slot has protein fish. Empty entries mean a varied normal dinner. |
{
"name": "prepare_weekly_menu",
"title": "Choose a protein mix",
"description": "Compatibility planning entry point for older callers. create_weekly_menu is the main planner. Returns optional weekly planning configuration as data: the user picks a protein mix (a balanced default is offered, such as 2 chicken, 1 fish and 1 veg for four dinners) and people per dinner, for building the week. The chooser has no priority setting; a priority the user states (quick, healthy, comfort) is passed as the priority parameter. Provides optional mix configuration when the user wants to choose the structure before recipe generation. The default mix is a suggestion shown to the user, not a choice made for them. Returns configuration only: no recipes are chosen and no account is needed; for a signed-in account, its diet (vegetarian, vegan, pescatarian) shapes the mixes offered. When the request already states a counted mix, slotRequirements, a mixPreset or 'surprise me', this tool builds the draft directly, exactly as create_weekly_menu does. Takes the same parameters as create_weekly_menu.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brief"
],
"properties": {
"brief": {
"type": "string",
"minLength": 1,
"description": "Free-text brief, e.g. 'quick midweek family dinners, no fish'."
},
"dietary": {
"type": "array",
"items": {
"type": "string"
}
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"quick",
"comfort"
],
"type": "string",
"description": "quick and speedy are the same criterion: every dinner within 30 minutes of credible total time. healthy uses the documented per-serving nutrition rule; comfort is the curated comfort style. balanced applies no preference."
},
"servings": {
"type": "integer",
"maximum": 20,
"minimum": 1
},
"mixPreset": {
"enum": [
"balanced",
"plants",
"family",
"variety"
],
"type": "string"
},
"pantryMode": {
"enum": [
"ignore",
"use",
"focus"
],
"type": "string",
"description": "Task only: default ignore for fresh inspiration; use only when explicitly asked to plan from stock; focus prioritises named ingredients. Never changes the diet, foods to avoid or other lasting preferences."
},
"maxTimeMins": {
"type": "integer",
"description": "Global hard cap for EVERY dinner. For quick weeknights plus a slower weekend, use slotRequirements instead.",
"exclusiveMinimum": 0
},
"dinnersCount": {
"type": "integer",
"maximum": 14,
"minimum": 1,
"description": "How many dinners to plan. If omitted, the count named in the brief wins, else 5."
},
"recipeSource": {
"enum": [
"mixed",
"saved",
"not_recently_planned"
],
"type": "string",
"description": "Saved means the linked library. Not recently planned excludes recent MCP draft selections; it does not imply never cooked."
},
"configurationId": {
"type": "string",
"pattern": "^configure_[0-9a-f-]{36}$",
"description": "Set by the weekly chooser widget: the chooser this week is built from, so the widget can find it again after a reload."
},
"excludeRecipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"focusIngredients": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 20,
"description": "Only ingredients explicitly named for using up; do not fill from remembered inventory."
},
"includeRecipeIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Recipe ids to pin into the week."
},
"slotRequirements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"style": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"cuisine": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"protein": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegetarian",
"vegan",
"pescatarian"
],
"type": "string"
},
"special": {
"type": "boolean"
},
"proteins": {
"type": "array",
"items": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegan"
],
"type": "string"
},
"maxItems": 7,
"minItems": 1,
"description": "OR choices within this slot, e.g. beef or lamb."
},
"minFibreG": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Hard minimum credible estimated fibre grams per serving. Never relax to fill choices."
},
"maxTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"minTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"excludeFoods": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 40
},
"cookingMethod": {
"enum": [
"roast"
],
"type": "string"
},
"excludeProtein": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"maxItems": 14,
"minItems": 1,
"description": "One entry per dinner, in display order. Use for mixed briefs: quick slots have maxTimeMins, a slower weekend has minTimeMins and special, and a fish slot has protein fish. Empty entries mean a varied normal dinner."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status"
],
"properties": {
"note": {
"type": "string"
},
"brief": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"status": {
"enum": [
"needs_structure",
"needs_selections",
"ready"
],
"type": "string"
},
"canUndo": {
"type": "boolean"
},
"dietary": {
"type": "array",
"items": {
"type": "string"
}
},
"dinners": {
"type": "array",
"items": {
"type": "object",
"required": [
"slot",
"recipeId",
"title",
"reason",
"totalTimeMins",
"imageUrl",
"appUrl"
],
"properties": {
"slot": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"locked": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"slotId": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"$ref": "#/properties/dinners/items/properties/candidates/items"
},
"maxItems": 4
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"comfort"
],
"type": "string"
},
"recipeId": {
"type": [
"string",
"null"
]
},
"servings": {
"type": "number"
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"title",
"reason",
"totalTimeMins",
"imageUrl",
"appUrl"
],
"properties": {
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"reason": {
"type": "string"
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"recipeId": {
"type": "string"
},
"fibreEstimate": {
"$ref": "#/properties/dinners/items/properties/fibreEstimate"
},
"totalTimeMins": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"maxItems": 5
},
"requirement": {
"$ref": "#/properties/slotIssues/items/properties/requirement"
},
"displayLabel": {
"type": "string"
},
"fibreEstimate": {
"type": "object",
"required": [
"grams",
"coveragePercent",
"source",
"status"
],
"properties": {
"grams": {
"type": [
"number",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"estimated",
"unknown"
],
"type": "string"
},
"coveragePercent": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"totalTimeMins": {
"type": [
"number",
"null"
]
},
"repeatsAllowed": {
"type": "boolean"
},
"selectedRecipeId": {
"type": [
"string",
"null"
]
},
"previouslyShownRecipeIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"comfort"
],
"type": "string"
},
"progress": {
"type": "object",
"required": [
"selected",
"total",
"complete"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"complete": {
"type": "boolean"
},
"selected": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
"recovery": {
"type": "string",
"const": "review_current_draft"
},
"servings": {
"type": "number"
},
"diversity": {
"anyOf": [
{
"type": "object",
"required": [
"score",
"maxScore",
"rating",
"dimensions",
"warnings"
],
"properties": {
"score": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"rating": {
"type": "string"
},
"maxScore": {
"type": "number",
"const": 100
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"dimensions": {
"type": "object",
"required": [
"protein",
"fibre",
"plants"
],
"properties": {
"fibre": {
"type": "number"
},
"plants": {
"type": "number"
},
"protein": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"selection": {
"type": "object",
"required": [
"total",
"selected",
"unresolved",
"complete",
"unresolvedSlots",
"recipeIds",
"progressLabel",
"ctaLabel",
"summaryLabel"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"complete": {
"type": "boolean"
},
"ctaLabel": {
"type": "string"
},
"selected": {
"type": "integer",
"minimum": 0
},
"recipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"unresolved": {
"type": "integer",
"minimum": 0
},
"summaryLabel": {
"type": "string"
},
"progressLabel": {
"type": "string"
},
"unresolvedSlots": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"displayLabel",
"recipeId"
],
"properties": {
"slotId": {
"type": "string"
},
"recipeId": {
"type": "null"
},
"displayLabel": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"navigation": {
"type": "object",
"required": [
"savedWeekUrl",
"menuDraftId",
"state"
],
"properties": {
"state": {
"type": "string",
"const": "draft"
},
"menuDraftId": {
"type": "string"
},
"savedWeekUrl": {
"type": "string"
}
},
"additionalProperties": false
},
"pantryMode": {
"enum": [
"ignore",
"use",
"focus"
],
"type": "string"
},
"slotIssues": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"displayLabel",
"requirement",
"code",
"candidateCount",
"message"
],
"properties": {
"code": {
"enum": [
"NO_COMPLETE_MATCH",
"FEWER_CANDIDATES"
],
"type": "string"
},
"reason": {
"type": "string"
},
"slotId": {
"type": "string"
},
"message": {
"type": "string"
},
"requested": {
"type": "number"
},
"requirement": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"style": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"cuisine": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"protein": {
"type": "string"
},
"special": {
"type": "boolean"
},
"proteins": {
"type": "array",
"items": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegan"
],
"type": "string"
},
"maxItems": 7,
"minItems": 1,
"description": "OR choices within this slot, e.g. beef or lamb."
},
"minFibreG": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Hard minimum credible estimated fibre grams per serving. Never relax to fill choices."
},
"maxTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"minTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"excludeFoods": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 40
},
"cookingMethod": {
"enum": [
"roast"
],
"type": "string"
},
"excludeProtein": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"displayLabel": {
"type": "string"
},
"candidateCount": {
"type": "number"
}
},
"additionalProperties": false
}
},
"menuDraftId": {
"type": "string"
},
"savedWeekId": {
"type": "string"
},
"recipeSource": {
"enum": [
"mixed",
"saved",
"not_recently_planned"
],
"type": "string"
},
"changeApplied": {
"type": "boolean",
"const": false
},
"configuration": {},
"savedWeekTitle": {
"type": "string"
},
"diversityStatus": {
"enum": [
"complete",
"incomplete"
],
"type": "string"
},
"savedWeekAppUrl": {
"type": "string"
},
"focusIngredients": {
"type": "array",
"items": {
"type": "string"
}
},
"selectionWarnings": {
"type": "array",
"items": {
"type": "string"
}
},
"allowedNextActions": {
"type": "array",
"items": {
"enum": [
"select_recipe",
"reroll_slot",
"change_slot",
"undo_last_change",
"create_shopping_list",
"save_week",
"set_this_week",
"save_menu"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Choose a protein mix",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Main entry point for planning dinners. Builds a draft week of dinners from Chop it's catalogue, including broad requests such as 'plan five dinners' with a balanced protein mix adapted to food rules. Each dinner has up to five recipe choices. For a linked account with no This Week, the first different choice for each dinner is taken and the plan is saved as This Week in this call. Otherwise it remains a proposal until the person accepts it. Returns structured dinner choices and a menuDraftId that revise_weekly_menu, get_menu_draft, save_week and create_shopping_list accept. Building a draft works without an account from the fixed 100-recipe guest preview; a linked account plans from the complete catalogue. Parameters: brief is the user's own words; each counted protein ('2 chicken, 1 fish') or slotRequirement is one dinner slot; dietary holds whole-week food rules only (one vegetarian dinner is a slot, not dietary); maxTimeMins caps every dinner, while slotRequirements can mix quick and slower dinners; priority is balanced, quick (30-minute cap), healthy or comfort; pantryMode stays off unless the user wants to cook from their pantry (using account stock needs a linked account); includeRecipeIds are pinned as selected dinners. Dietary rules and time limits are hard constraints, and only dinner mains are offered. slotIssues lists any slot with fewer than five matches and the reason: fewer cards means fewer recipes met that slot's rules, not that the catalogue is short.
| Parameter | Type | Description |
|---|---|---|
| brief * | string | Free-text brief, e.g. 'quick midweek family dinners, no fish'. |
| dietary | array | |
| priority | string | quick and speedy are the same criterion: every dinner within 30 minutes of credible total time. healthy uses the documented per-serving nutrition rule; comfort is the curated comfort style. balanced applies no preference. |
| servings | integer | |
| mixPreset | string | one of ["balanced","plants","family","variety"] |
| pantryMode | string | Task only: default ignore for fresh inspiration; use only when explicitly asked to plan from stock; focus prioritises named ingredients. Never changes the diet, foods to avoid or other lasting preferences. |
| maxTimeMins | integer | Global hard cap for EVERY dinner. For quick weeknights plus a slower weekend, use slotRequirements instead. |
| dinnersCount | integer | How many dinners to plan. If omitted, the count named in the brief wins, else 5. |
| recipeSource | string | Saved means the linked library. Not recently planned excludes recent MCP draft selections; it does not imply never cooked. |
| configurationId | string | Set by the weekly chooser widget: the chooser this week is built from, so the widget can find it again after a reload. |
| excludeRecipeIds | array | |
| focusIngredients | array | Only ingredients explicitly named for using up; do not fill from remembered inventory. |
| includeRecipeIds | array | Recipe ids to pin into the week. |
| slotRequirements | array | One entry per dinner, in display order. Use for mixed briefs: quick slots have maxTimeMins, a slower weekend has minTimeMins and special, and a fish slot has protein fish. Empty entries mean a varied normal dinner. |
{
"name": "create_weekly_menu",
"title": "Build a weekly dinner menu",
"description": "Main entry point for planning dinners. Builds a draft week of dinners from Chop it's catalogue, including broad requests such as 'plan five dinners' with a balanced protein mix adapted to food rules. Each dinner has up to five recipe choices. For a linked account with no This Week, the first different choice for each dinner is taken and the plan is saved as This Week in this call. Otherwise it remains a proposal until the person accepts it. Returns structured dinner choices and a menuDraftId that revise_weekly_menu, get_menu_draft, save_week and create_shopping_list accept. Building a draft works without an account from the fixed 100-recipe guest preview; a linked account plans from the complete catalogue. Parameters: brief is the user's own words; each counted protein ('2 chicken, 1 fish') or slotRequirement is one dinner slot; dietary holds whole-week food rules only (one vegetarian dinner is a slot, not dietary); maxTimeMins caps every dinner, while slotRequirements can mix quick and slower dinners; priority is balanced, quick (30-minute cap), healthy or comfort; pantryMode stays off unless the user wants to cook from their pantry (using account stock needs a linked account); includeRecipeIds are pinned as selected dinners. Dietary rules and time limits are hard constraints, and only dinner mains are offered. slotIssues lists any slot with fewer than five matches and the reason: fewer cards means fewer recipes met that slot's rules, not that the catalogue is short.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brief"
],
"properties": {
"brief": {
"type": "string",
"minLength": 1,
"description": "Free-text brief, e.g. 'quick midweek family dinners, no fish'."
},
"dietary": {
"type": "array",
"items": {
"type": "string"
}
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"quick",
"comfort"
],
"type": "string",
"description": "quick and speedy are the same criterion: every dinner within 30 minutes of credible total time. healthy uses the documented per-serving nutrition rule; comfort is the curated comfort style. balanced applies no preference."
},
"servings": {
"type": "integer",
"maximum": 20,
"minimum": 1
},
"mixPreset": {
"enum": [
"balanced",
"plants",
"family",
"variety"
],
"type": "string"
},
"pantryMode": {
"enum": [
"ignore",
"use",
"focus"
],
"type": "string",
"description": "Task only: default ignore for fresh inspiration; use only when explicitly asked to plan from stock; focus prioritises named ingredients. Never changes the diet, foods to avoid or other lasting preferences."
},
"maxTimeMins": {
"type": "integer",
"description": "Global hard cap for EVERY dinner. For quick weeknights plus a slower weekend, use slotRequirements instead.",
"exclusiveMinimum": 0
},
"dinnersCount": {
"type": "integer",
"maximum": 14,
"minimum": 1,
"description": "How many dinners to plan. If omitted, the count named in the brief wins, else 5."
},
"recipeSource": {
"enum": [
"mixed",
"saved",
"not_recently_planned"
],
"type": "string",
"description": "Saved means the linked library. Not recently planned excludes recent MCP draft selections; it does not imply never cooked."
},
"configurationId": {
"type": "string",
"pattern": "^configure_[0-9a-f-]{36}$",
"description": "Set by the weekly chooser widget: the chooser this week is built from, so the widget can find it again after a reload."
},
"excludeRecipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"focusIngredients": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 20,
"description": "Only ingredients explicitly named for using up; do not fill from remembered inventory."
},
"includeRecipeIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Recipe ids to pin into the week."
},
"slotRequirements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"style": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"cuisine": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"protein": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegetarian",
"vegan",
"pescatarian"
],
"type": "string"
},
"special": {
"type": "boolean"
},
"proteins": {
"type": "array",
"items": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegan"
],
"type": "string"
},
"maxItems": 7,
"minItems": 1,
"description": "OR choices within this slot, e.g. beef or lamb."
},
"minFibreG": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Hard minimum credible estimated fibre grams per serving. Never relax to fill choices."
},
"maxTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"minTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"excludeFoods": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 40
},
"cookingMethod": {
"enum": [
"roast"
],
"type": "string"
},
"excludeProtein": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"maxItems": 14,
"minItems": 1,
"description": "One entry per dinner, in display order. Use for mixed briefs: quick slots have maxTimeMins, a slower weekend has minTimeMins and special, and a fish slot has protein fish. Empty entries mean a varied normal dinner."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"progress",
"allowedNextActions",
"selection",
"menuDraftId",
"title",
"dinners",
"servings",
"appUrl"
],
"properties": {
"note": {
"type": "string"
},
"brief": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"status": {
"enum": [
"needs_selections",
"ready"
],
"type": "string"
},
"canUndo": {
"type": "boolean"
},
"dietary": {
"type": "array",
"items": {
"type": "string"
}
},
"dinners": {
"type": "array",
"items": {
"type": "object",
"required": [
"slot",
"recipeId",
"title",
"reason",
"totalTimeMins",
"imageUrl",
"appUrl"
],
"properties": {
"slot": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"locked": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"slotId": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"$ref": "#/properties/dinners/items/properties/candidates/items"
},
"maxItems": 4
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"comfort"
],
"type": "string"
},
"recipeId": {
"type": [
"string",
"null"
]
},
"servings": {
"type": "number"
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"title",
"reason",
"totalTimeMins",
"imageUrl",
"appUrl"
],
"properties": {
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"reason": {
"type": "string"
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"recipeId": {
"type": "string"
},
"fibreEstimate": {
"$ref": "#/properties/dinners/items/properties/fibreEstimate"
},
"totalTimeMins": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"maxItems": 5
},
"requirement": {
"$ref": "#/properties/slotIssues/items/properties/requirement"
},
"displayLabel": {
"type": "string"
},
"fibreEstimate": {
"type": "object",
"required": [
"grams",
"coveragePercent",
"source",
"status"
],
"properties": {
"grams": {
"type": [
"number",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"estimated",
"unknown"
],
"type": "string"
},
"coveragePercent": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"totalTimeMins": {
"type": [
"number",
"null"
]
},
"repeatsAllowed": {
"type": "boolean"
},
"selectedRecipeId": {
"type": [
"string",
"null"
]
},
"previouslyShownRecipeIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"comfort"
],
"type": "string"
},
"progress": {
"type": "object",
"required": [
"selected",
"total",
"complete"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"complete": {
"type": "boolean"
},
"selected": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
"recovery": {
"type": "string",
"const": "review_current_draft"
},
"servings": {
"type": "number"
},
"diversity": {
"anyOf": [
{
"type": "object",
"required": [
"score",
"maxScore",
"rating",
"dimensions",
"warnings"
],
"properties": {
"score": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"rating": {
"type": "string"
},
"maxScore": {
"type": "number",
"const": 100
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"dimensions": {
"type": "object",
"required": [
"protein",
"fibre",
"plants"
],
"properties": {
"fibre": {
"type": "number"
},
"plants": {
"type": "number"
},
"protein": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"selection": {
"type": "object",
"required": [
"total",
"selected",
"unresolved",
"complete",
"unresolvedSlots",
"recipeIds",
"progressLabel",
"ctaLabel",
"summaryLabel"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"complete": {
"type": "boolean"
},
"ctaLabel": {
"type": "string"
},
"selected": {
"type": "integer",
"minimum": 0
},
"recipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"unresolved": {
"type": "integer",
"minimum": 0
},
"summaryLabel": {
"type": "string"
},
"progressLabel": {
"type": "string"
},
"unresolvedSlots": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"displayLabel",
"recipeId"
],
"properties": {
"slotId": {
"type": "string"
},
"recipeId": {
"type": "null"
},
"displayLabel": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"navigation": {
"type": "object",
"required": [
"savedWeekUrl",
"menuDraftId",
"state"
],
"properties": {
"state": {
"type": "string",
"const": "draft"
},
"menuDraftId": {
"type": "string"
},
"savedWeekUrl": {
"type": "string"
}
},
"additionalProperties": false
},
"pantryMode": {
"enum": [
"ignore",
"use",
"focus"
],
"type": "string"
},
"slotIssues": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"displayLabel",
"requirement",
"code",
"candidateCount",
"message"
],
"properties": {
"code": {
"enum": [
"NO_COMPLETE_MATCH",
"FEWER_CANDIDATES"
],
"type": "string"
},
"reason": {
"type": "string"
},
"slotId": {
"type": "string"
},
"message": {
"type": "string"
},
"requested": {
"type": "number"
},
"requirement": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"style": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"cuisine": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"protein": {
"type": "string"
},
"special": {
"type": "boolean"
},
"proteins": {
"type": "array",
"items": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegan"
],
"type": "string"
},
"maxItems": 7,
"minItems": 1,
"description": "OR choices within this slot, e.g. beef or lamb."
},
"minFibreG": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Hard minimum credible estimated fibre grams per serving. Never relax to fill choices."
},
"maxTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"minTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"excludeFoods": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 40
},
"cookingMethod": {
"enum": [
"roast"
],
"type": "string"
},
"excludeProtein": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"displayLabel": {
"type": "string"
},
"candidateCount": {
"type": "number"
}
},
"additionalProperties": false
}
},
"menuDraftId": {
"type": "string"
},
"savedWeekId": {
"type": "string"
},
"recipeSource": {
"enum": [
"mixed",
"saved",
"not_recently_planned"
],
"type": "string"
},
"changeApplied": {
"type": "boolean",
"const": false
},
"savedWeekTitle": {
"type": "string"
},
"diversityStatus": {
"enum": [
"complete",
"incomplete"
],
"type": "string"
},
"savedWeekAppUrl": {
"type": "string"
},
"focusIngredients": {
"type": "array",
"items": {
"type": "string"
}
},
"selectionWarnings": {
"type": "array",
"items": {
"type": "string"
}
},
"allowedNextActions": {
"type": "array",
"items": {
"enum": [
"select_recipe",
"reroll_slot",
"change_slot",
"undo_last_change",
"create_shopping_list",
"save_week",
"set_this_week",
"save_menu"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Build a weekly dinner menu",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Builds one consolidated, aisle-organised shopping list from a completed menu draft (menuDraftId) or a set of recipes (recipeIds: catalogue, the user's own, or both), merging duplicate ingredients and scaling to servings. Returns shoppingListId, the source draft and recipes, and counts: buy, covered (already have) and checkStock (pantry matches to confirm); remainingItemCount includes unresolved stock checks. Any recipe ID that can't be resolved is reported in note, meaning the list is incomplete. Pantry handling follows the draft, or explicit pantryMode for recipeIds: ignore and focus do not read stock; use covers comparable measured stock and leaves unmeasured matches as checkStock. Set leaveOutPantry only when asked to leave out Pantry items, matching Chef IQ Shop coverage. Low and zero stock cover nothing. Whole items round up for buying; measured quantities are recipe amounts. get_shopping_list, update_shopping_list and open_shop_handoff take the returned shoppingListId. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| servings | integer | |
| recipeIds | array | Explicit recipe ids (used when no menuDraftId). |
| pantryMode | string | For recipeIds, use checks your Pantry, ignore leaves it out, and focus does not read stock. For a draft, omit or match its pantryMode; change the draft first otherwise. |
| menuDraftId | string | A menuDraftId returned by create_weekly_menu. |
| leaveOutPantry | boolean | Only when asked to leave out Pantry items. Uses the same reversible stock coverage as Chef IQ Shop, including listed items without comparable amounts. Low or zero stock never covers a line. |
{
"name": "create_shopping_list",
"title": "Build a consolidated shopping list",
"description": "Builds one consolidated, aisle-organised shopping list from a completed menu draft (menuDraftId) or a set of recipes (recipeIds: catalogue, the user's own, or both), merging duplicate ingredients and scaling to servings. Returns shoppingListId, the source draft and recipes, and counts: buy, covered (already have) and checkStock (pantry matches to confirm); remainingItemCount includes unresolved stock checks. Any recipe ID that can't be resolved is reported in note, meaning the list is incomplete. Pantry handling follows the draft, or explicit pantryMode for recipeIds: ignore and focus do not read stock; use covers comparable measured stock and leaves unmeasured matches as checkStock. Set leaveOutPantry only when asked to leave out Pantry items, matching Chef IQ Shop coverage. Low and zero stock cover nothing. Whole items round up for buying; measured quantities are recipe amounts. get_shopping_list, update_shopping_list and open_shop_handoff take the returned shoppingListId. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"servings": {
"type": "integer",
"maximum": 20,
"minimum": 1
},
"recipeIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Explicit recipe ids (used when no menuDraftId)."
},
"pantryMode": {
"enum": [
"ignore",
"use",
"focus"
],
"type": "string",
"description": "For recipeIds, use checks your Pantry, ignore leaves it out, and focus does not read stock. For a draft, omit or match its pantryMode; change the draft first otherwise."
},
"menuDraftId": {
"type": "string",
"description": "A menuDraftId returned by create_weekly_menu."
},
"leaveOutPantry": {
"type": "boolean",
"description": "Only when asked to leave out Pantry items. Uses the same reversible stock coverage as Chef IQ Shop, including listed items without comparable amounts. Low or zero stock never covers a line."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"shoppingListId",
"sections"
],
"properties": {
"note": {
"type": "string"
},
"counts": {
"type": "object",
"required": [
"buy",
"covered",
"checkStock"
],
"properties": {
"buy": {
"type": "integer"
},
"covered": {
"type": "integer"
},
"checkStock": {
"type": "integer"
}
},
"additionalProperties": false
},
"source": {
"type": "string",
"const": "current_week"
},
"readOnly": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"sectionName",
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"quantity",
"unit",
"notes",
"sourceRecipeTitles"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": [
"string",
"null"
]
},
"notes": {
"type": [
"string",
"null"
]
},
"lineId": {
"type": "string"
},
"status": {
"enum": [
"buy",
"covered",
"checkStock"
],
"type": "string"
},
"excluded": {
"type": "boolean"
},
"inPantry": {
"type": "boolean"
},
"quantity": {
"type": [
"number",
"null"
]
},
"retailerTarget": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"quantity",
"unit"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"quantity": {
"type": "number"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"coveredQuantity": {
"type": "number"
},
"purchaseQuantity": {
"type": [
"number",
"null"
]
},
"remainingQuantity": {
"type": [
"number",
"null"
]
},
"sourceRecipeTitles": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"sectionName": {
"type": "string"
}
},
"additionalProperties": false
}
},
"recipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"recipeServings": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"shoppingListId": {
"type": "string"
},
"shopIntelligence": {},
"sourceMenuDraftId": {
"type": "string"
},
"remainingItemCount": {
"type": "integer"
},
"localStateAvailable": {
"type": "boolean",
"description": "False for app-week reads: browser-only ticks, extras and serving overrides are unavailable."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Build a consolidated shopping list",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Builds the shopping list for the exact completed menuDraftId or the displayed currentWeek with its active collection and per-dinner servings and returns its summary and Chop it review URL in one call. Never purchases anything. Leaves Saved Weeks and This Week unchanged. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| currentWeek | object | The exact saved-week card, including each displayed serving count. |
| menuDraftId | string |
{
"name": "shop_week",
"title": "Shop these dinners",
"description": "Builds the shopping list for the exact completed menuDraftId or the displayed currentWeek with its active collection and per-dinner servings and returns its summary and Chop it review URL in one call. Never purchases anything. Leaves Saved Weeks and This Week unchanged. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"currentWeek": {
"type": "object",
"required": [
"activeCollectionId",
"dinners"
],
"properties": {
"dinners": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"servings"
],
"properties": {
"recipeId": {
"type": "string",
"minLength": 1
},
"servings": {
"type": "integer",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
},
"activeCollectionId": {
"type": "string",
"minLength": 1
}
},
"description": "The exact saved-week card, including each displayed serving count.",
"additionalProperties": false
},
"menuDraftId": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"shoppingListId",
"appUrl",
"handoffUrl",
"whiskUrl",
"provider",
"message"
],
"properties": {
"note": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"counts": {
"type": "object",
"required": [
"buy",
"covered",
"checkStock"
],
"properties": {
"buy": {
"type": "integer"
},
"covered": {
"type": "integer"
},
"checkStock": {
"type": "integer"
}
},
"additionalProperties": false
},
"review": {
"type": "array",
"items": {
"type": "object",
"required": [
"sectionName",
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"quantity",
"unit",
"notes",
"sourceRecipeTitles"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": [
"string",
"null"
]
},
"notes": {
"type": [
"string",
"null"
]
},
"lineId": {
"type": "string"
},
"status": {
"enum": [
"buy",
"covered",
"checkStock"
],
"type": "string"
},
"excluded": {
"type": "boolean"
},
"inPantry": {
"type": "boolean"
},
"quantity": {
"type": [
"number",
"null"
]
},
"retailerTarget": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"quantity",
"unit"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"quantity": {
"type": "number"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"coveredQuantity": {
"type": "number"
},
"purchaseQuantity": {
"type": [
"number",
"null"
]
},
"remainingQuantity": {
"type": [
"number",
"null"
]
},
"sourceRecipeTitles": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"sectionName": {
"type": "string"
}
},
"additionalProperties": false
}
},
"message": {
"type": "string"
},
"provider": {
"type": "string",
"description": "Who hosts the review: \"Chop it\"."
},
"revision": {
"type": "number"
},
"whiskUrl": {
"type": "string",
"description": "Kept for compatibility: the same Chop it review page as handoffUrl. Not a retailer link and not a purchase."
},
"handoffUrl": {
"type": [
"string",
"null"
]
},
"reviewInWork": {
"type": "boolean",
"const": true
},
"shoppingListId": {
"type": "string"
},
"sourceMenuDraftId": {
"type": "string"
},
"remainingItemCount": {
"type": "number"
},
"sourceCollectionId": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Shop these dinners",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Creates a time-limited Chop it review link for the groceries still to buy on a shopping list (or a menu draft's list) at its current revision. On that page the user reviews and ticks off the list; any purchase happens on a supermarket's own site. This tool buys nothing. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| menuDraftId | string | A menuDraftId; a shopping list is derived if no shoppingListId is given. |
| shoppingListId | string | A shoppingListId returned by create_shopping_list. |
| expectedRevision | integer | Revision last reviewed; a changed list requires a fresh review. |
{
"name": "open_shop_handoff",
"title": "Open shopping review",
"description": "Creates a time-limited Chop it review link for the groceries still to buy on a shopping list (or a menu draft's list) at its current revision. On that page the user reviews and ticks off the list; any purchase happens on a supermarket's own site. This tool buys nothing. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"menuDraftId": {
"type": "string",
"description": "A menuDraftId; a shopping list is derived if no shoppingListId is given."
},
"shoppingListId": {
"type": "string",
"description": "A shoppingListId returned by create_shopping_list."
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Revision last reviewed; a changed list requires a fresh review."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"appUrl",
"handoffUrl",
"whiskUrl",
"provider",
"message"
],
"properties": {
"appUrl": {
"type": "string"
},
"review": {
"type": "array",
"items": {
"type": "object",
"required": [
"sectionName",
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"quantity",
"unit",
"notes",
"sourceRecipeTitles"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": [
"string",
"null"
]
},
"notes": {
"type": [
"string",
"null"
]
},
"lineId": {
"type": "string"
},
"status": {
"enum": [
"buy",
"covered",
"checkStock"
],
"type": "string"
},
"excluded": {
"type": "boolean"
},
"inPantry": {
"type": "boolean"
},
"quantity": {
"type": [
"number",
"null"
]
},
"retailerTarget": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"quantity",
"unit"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"quantity": {
"type": "number"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"coveredQuantity": {
"type": "number"
},
"purchaseQuantity": {
"type": [
"number",
"null"
]
},
"remainingQuantity": {
"type": [
"number",
"null"
]
},
"sourceRecipeTitles": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"sectionName": {
"type": "string"
}
},
"additionalProperties": false
}
},
"message": {
"type": "string"
},
"provider": {
"type": "string",
"description": "Who hosts the review: \"Chop it\"."
},
"revision": {
"type": "number"
},
"whiskUrl": {
"type": "string",
"description": "Kept for compatibility: the same Chop it review page as handoffUrl. Not a retailer link and not a purchase."
},
"handoffUrl": {
"type": [
"string",
"null"
]
},
"reviewInWork": {
"type": "boolean",
"const": true
},
"shoppingListId": {
"type": "string"
},
"remainingItemCount": {
"type": "number"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Open shopping review",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Reads the exact shoppingListId returned by get_my_week or create_shopping_list. A week: reference reads app-week requirements with saved servings and current Pantry without saving anything; browser-only ticks, extras and serving overrides are unavailable. It supports read-only review proposals, not update_shopping_list or open_shop_handoff. Otherwise returns the latest saved revision of a shopping list: lines with stable IDs, which are ticked off (excluded) or partly covered, and the revision number that update_shopping_list and open_shop_handoff take. For supermarket searches use retailerTarget (the product, quantity and unit to buy after confirmed coverage). Keep the original name, quantity and unit for cooking. A missing target needs a stock or product check. Saved state here supersedes earlier conversation output. Lists expire after 24 hours; retrying an unavailable ID cannot recover it. Recovery creates a new list from the exact known intended menuDraftId, reopening its exact known savedWeekId first if needed. Missing exact references require the user to reopen the intended week; guessed IDs and recent-week substitutions cannot establish the intended plan. Rebuilding does not restore ticks or partial coverage. Read-only. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| shoppingListId * | string | The exact shopping list to read or update. Never infer the list from an old widget. |
{
"name": "get_shopping_list",
"title": "Review your current shopping list",
"description": "Reads the exact shoppingListId returned by get_my_week or create_shopping_list. A week: reference reads app-week requirements with saved servings and current Pantry without saving anything; browser-only ticks, extras and serving overrides are unavailable. It supports read-only review proposals, not update_shopping_list or open_shop_handoff. Otherwise returns the latest saved revision of a shopping list: lines with stable IDs, which are ticked off (excluded) or partly covered, and the revision number that update_shopping_list and open_shop_handoff take. For supermarket searches use retailerTarget (the product, quantity and unit to buy after confirmed coverage). Keep the original name, quantity and unit for cooking. A missing target needs a stock or product check. Saved state here supersedes earlier conversation output. Lists expire after 24 hours; retrying an unavailable ID cannot recover it. Recovery creates a new list from the exact known intended menuDraftId, reopening its exact known savedWeekId first if needed. Missing exact references require the user to reopen the intended week; guessed IDs and recent-week substitutions cannot establish the intended plan. Rebuilding does not restore ticks or partial coverage. Read-only. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"shoppingListId"
],
"properties": {
"shoppingListId": {
"type": "string",
"minLength": 1,
"description": "The exact shopping list to read or update. Never infer the list from an old widget."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"shoppingListId",
"sections"
],
"properties": {
"note": {
"type": "string"
},
"counts": {
"type": "object",
"required": [
"buy",
"covered",
"checkStock"
],
"properties": {
"buy": {
"type": "integer"
},
"covered": {
"type": "integer"
},
"checkStock": {
"type": "integer"
}
},
"additionalProperties": false
},
"source": {
"type": "string",
"const": "current_week"
},
"readOnly": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"sectionName",
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"quantity",
"unit",
"notes",
"sourceRecipeTitles"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": [
"string",
"null"
]
},
"notes": {
"type": [
"string",
"null"
]
},
"lineId": {
"type": "string"
},
"status": {
"enum": [
"buy",
"covered",
"checkStock"
],
"type": "string"
},
"excluded": {
"type": "boolean"
},
"inPantry": {
"type": "boolean"
},
"quantity": {
"type": [
"number",
"null"
]
},
"retailerTarget": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"quantity",
"unit"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"quantity": {
"type": "number"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"coveredQuantity": {
"type": "number"
},
"purchaseQuantity": {
"type": [
"number",
"null"
]
},
"remainingQuantity": {
"type": [
"number",
"null"
]
},
"sourceRecipeTitles": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"sectionName": {
"type": "string"
}
},
"additionalProperties": false
}
},
"recipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"recipeServings": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"shoppingListId": {
"type": "string"
},
"shopIntelligence": {},
"sourceMenuDraftId": {
"type": "string"
},
"remainingItemCount": {
"type": "integer"
},
"localStateAvailable": {
"type": "boolean",
"description": "False for app-week reads: browser-only ticks, extras and serving overrides are unavailable."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Review your current shopping list",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Ticks off, unticks or partly covers lines on a shopping list ('I already have rice', 'I only need 200g more'). Takes shoppingListId, expectedRevision and changes keyed by line ID (excluded or coveredQuantity), all from get_shopping_list. Changes only what to buy; recipes and pantry are untouched. Repeating the same values is safe; a revision conflict means the list changed and get_shopping_list has the new revision. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| changes * | array | |
| shoppingListId * | string | The exact shopping list to read or update. Never infer the list from an old widget. |
| expectedRevision * | integer |
{
"name": "update_shopping_list",
"title": "Mark shopping ingredients covered",
"description": "Ticks off, unticks or partly covers lines on a shopping list ('I already have rice', 'I only need 200g more'). Takes shoppingListId, expectedRevision and changes keyed by line ID (excluded or coveredQuantity), all from get_shopping_list. Changes only what to buy; recipes and pantry are untouched. Repeating the same values is safe; a revision conflict means the list changed and get_shopping_list has the new revision. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"shoppingListId",
"expectedRevision",
"changes"
],
"properties": {
"changes": {
"type": "array",
"items": {
"type": "object",
"required": [
"lineId"
],
"properties": {
"lineId": {
"type": "string",
"minLength": 1
},
"excluded": {
"type": "boolean",
"description": "True means do not buy this line; false restores it."
},
"coveredQuantity": {
"type": "number",
"minimum": 0,
"description": "Amount already covered, in the list line unit. E.g. 100 of 400g leaves 300g to buy. Never guess unknown stock."
}
},
"additionalProperties": false
},
"maxItems": 300,
"minItems": 1
},
"shoppingListId": {
"type": "string",
"minLength": 1,
"description": "The exact shopping list to read or update. Never infer the list from an old widget."
},
"expectedRevision": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"shoppingListId",
"sections"
],
"properties": {
"note": {
"type": "string"
},
"counts": {
"type": "object",
"required": [
"buy",
"covered",
"checkStock"
],
"properties": {
"buy": {
"type": "integer"
},
"covered": {
"type": "integer"
},
"checkStock": {
"type": "integer"
}
},
"additionalProperties": false
},
"source": {
"type": "string",
"const": "current_week"
},
"readOnly": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"sectionName",
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"quantity",
"unit",
"notes",
"sourceRecipeTitles"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": [
"string",
"null"
]
},
"notes": {
"type": [
"string",
"null"
]
},
"lineId": {
"type": "string"
},
"status": {
"enum": [
"buy",
"covered",
"checkStock"
],
"type": "string"
},
"excluded": {
"type": "boolean"
},
"inPantry": {
"type": "boolean"
},
"quantity": {
"type": [
"number",
"null"
]
},
"retailerTarget": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"quantity",
"unit"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"quantity": {
"type": "number"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"coveredQuantity": {
"type": "number"
},
"purchaseQuantity": {
"type": [
"number",
"null"
]
},
"remainingQuantity": {
"type": [
"number",
"null"
]
},
"sourceRecipeTitles": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"sectionName": {
"type": "string"
}
},
"additionalProperties": false
}
},
"recipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"recipeServings": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"shoppingListId": {
"type": "string"
},
"shopIntelligence": {},
"sourceMenuDraftId": {
"type": "string"
},
"remainingItemCount": {
"type": "integer"
},
"localStateAvailable": {
"type": "boolean",
"description": "False for app-week reads: browser-only ticks, extras and serving overrides are unavailable."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Mark shopping ingredients covered",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Returns the current state of a menu draft: dinner slots and their labels, the offered choices, what is selected and locked, servings and slotIssues. Useful before an edit, after the user has chosen dinners in the widget, or whenever the latest menuDraftId is uncertain. Follows revisions of that exact draft. Unavailable drafts can be recovered through open_saved_week with their exact known savedWeekId; otherwise the user needs to reopen the intended week. Works before sign-in for a draft built before sign-in; once the user links their account, reading the draft attaches it to that account and, if they have no This Week, saves it as their week. The note states when the dinners are in the app.
| Parameter | Type | Description |
|---|---|---|
| menuDraftId | string | The draft to read. Omit only when reading by configurationId. |
| configurationId | string | Set by the weekly chooser widget after a reload: reads the newest draft built from that chooser. |
{
"name": "get_menu_draft",
"title": "Review a dinner draft",
"description": "Returns the current state of a menu draft: dinner slots and their labels, the offered choices, what is selected and locked, servings and slotIssues. Useful before an edit, after the user has chosen dinners in the widget, or whenever the latest menuDraftId is uncertain. Follows revisions of that exact draft. Unavailable drafts can be recovered through open_saved_week with their exact known savedWeekId; otherwise the user needs to reopen the intended week. Works before sign-in for a draft built before sign-in; once the user links their account, reading the draft attaches it to that account and, if they have no This Week, saves it as their week. The note states when the dinners are in the app.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"menuDraftId": {
"type": "string",
"description": "The draft to read. Omit only when reading by configurationId."
},
"configurationId": {
"type": "string",
"pattern": "^configure_[0-9a-f-]{36}$",
"description": "Set by the weekly chooser widget after a reload: reads the newest draft built from that chooser."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"progress",
"allowedNextActions",
"selection",
"menuDraftId",
"title",
"dinners",
"servings",
"appUrl"
],
"properties": {
"note": {
"type": "string"
},
"brief": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"status": {
"enum": [
"needs_selections",
"ready"
],
"type": "string"
},
"canUndo": {
"type": "boolean"
},
"dietary": {
"type": "array",
"items": {
"type": "string"
}
},
"dinners": {
"type": "array",
"items": {
"type": "object",
"required": [
"slot",
"recipeId",
"title",
"reason",
"totalTimeMins",
"imageUrl",
"appUrl"
],
"properties": {
"slot": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"locked": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"slotId": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"$ref": "#/properties/dinners/items/properties/candidates/items"
},
"maxItems": 4
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"comfort"
],
"type": "string"
},
"recipeId": {
"type": [
"string",
"null"
]
},
"servings": {
"type": "number"
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"title",
"reason",
"totalTimeMins",
"imageUrl",
"appUrl"
],
"properties": {
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"reason": {
"type": "string"
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"recipeId": {
"type": "string"
},
"fibreEstimate": {
"$ref": "#/properties/dinners/items/properties/fibreEstimate"
},
"totalTimeMins": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"maxItems": 5
},
"requirement": {
"$ref": "#/properties/slotIssues/items/properties/requirement"
},
"displayLabel": {
"type": "string"
},
"fibreEstimate": {
"type": "object",
"required": [
"grams",
"coveragePercent",
"source",
"status"
],
"properties": {
"grams": {
"type": [
"number",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"estimated",
"unknown"
],
"type": "string"
},
"coveragePercent": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"totalTimeMins": {
"type": [
"number",
"null"
]
},
"repeatsAllowed": {
"type": "boolean"
},
"selectedRecipeId": {
"type": [
"string",
"null"
]
},
"previouslyShownRecipeIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"comfort"
],
"type": "string"
},
"progress": {
"type": "object",
"required": [
"selected",
"total",
"complete"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"complete": {
"type": "boolean"
},
"selected": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
"recovery": {
"type": "string",
"const": "review_current_draft"
},
"servings": {
"type": "number"
},
"diversity": {
"anyOf": [
{
"type": "object",
"required": [
"score",
"maxScore",
"rating",
"dimensions",
"warnings"
],
"properties": {
"score": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"rating": {
"type": "string"
},
"maxScore": {
"type": "number",
"const": 100
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"dimensions": {
"type": "object",
"required": [
"protein",
"fibre",
"plants"
],
"properties": {
"fibre": {
"type": "number"
},
"plants": {
"type": "number"
},
"protein": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"selection": {
"type": "object",
"required": [
"total",
"selected",
"unresolved",
"complete",
"unresolvedSlots",
"recipeIds",
"progressLabel",
"ctaLabel",
"summaryLabel"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"complete": {
"type": "boolean"
},
"ctaLabel": {
"type": "string"
},
"selected": {
"type": "integer",
"minimum": 0
},
"recipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"unresolved": {
"type": "integer",
"minimum": 0
},
"summaryLabel": {
"type": "string"
},
"progressLabel": {
"type": "string"
},
"unresolvedSlots": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"displayLabel",
"recipeId"
],
"properties": {
"slotId": {
"type": "string"
},
"recipeId": {
"type": "null"
},
"displayLabel": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"navigation": {
"type": "object",
"required": [
"savedWeekUrl",
"menuDraftId",
"state"
],
"properties": {
"state": {
"type": "string",
"const": "draft"
},
"menuDraftId": {
"type": "string"
},
"savedWeekUrl": {
"type": "string"
}
},
"additionalProperties": false
},
"pantryMode": {
"enum": [
"ignore",
"use",
"focus"
],
"type": "string"
},
"slotIssues": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"displayLabel",
"requirement",
"code",
"candidateCount",
"message"
],
"properties": {
"code": {
"enum": [
"NO_COMPLETE_MATCH",
"FEWER_CANDIDATES"
],
"type": "string"
},
"reason": {
"type": "string"
},
"slotId": {
"type": "string"
},
"message": {
"type": "string"
},
"requested": {
"type": "number"
},
"requirement": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"style": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"cuisine": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"protein": {
"type": "string"
},
"special": {
"type": "boolean"
},
"proteins": {
"type": "array",
"items": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegan"
],
"type": "string"
},
"maxItems": 7,
"minItems": 1,
"description": "OR choices within this slot, e.g. beef or lamb."
},
"minFibreG": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Hard minimum credible estimated fibre grams per serving. Never relax to fill choices."
},
"maxTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"minTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"excludeFoods": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 40
},
"cookingMethod": {
"enum": [
"roast"
],
"type": "string"
},
"excludeProtein": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"displayLabel": {
"type": "string"
},
"candidateCount": {
"type": "number"
}
},
"additionalProperties": false
}
},
"menuDraftId": {
"type": "string"
},
"savedWeekId": {
"type": "string"
},
"recipeSource": {
"enum": [
"mixed",
"saved",
"not_recently_planned"
],
"type": "string"
},
"changeApplied": {
"type": "boolean",
"const": false
},
"savedWeekTitle": {
"type": "string"
},
"diversityStatus": {
"enum": [
"complete",
"incomplete"
],
"type": "string"
},
"savedWeekAppUrl": {
"type": "string"
},
"focusIngredients": {
"type": "array",
"items": {
"type": "string"
}
},
"selectionWarnings": {
"type": "array",
"items": {
"type": "string"
}
},
"allowedNextActions": {
"type": "array",
"items": {
"enum": [
"select_recipe",
"reroll_slot",
"change_slot",
"undo_last_change",
"create_shopping_list",
"save_week",
"set_this_week",
"save_menu"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Review a dinner draft",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Changes a menu draft and returns the updated draft with a new menuDraftId; unrelated dinners, locks, dietary rules and pantry choice are kept. Operations: select one offered choice for a slot (slotId + replacementRecipeId, which also locks it); select several unlocked dinners in one revision (choices pairs slotIds and recipeIds in order; each recipe must belong to its slot unless all slots are interchangeable); five new choices for one slot (slotId + reroll: true); top up every slot listed in slotIssues in one call (refillShortSlots: true, no slotId); change a slot's protein, timing or health aim (slotRequirement or replacementBrief); change servings for one slot, or for the whole week without slotId; change pantry ranking (pantryMode, focusIngredients); lock or unlock a dinner (locked); undo the last change (undoLastChange). An explicit chooseForMe request can select a matching candidate for one slot; ordinary replacement requests leave that slot unselected. For a plan automatically made This Week, an approved change takes the first different matching choice and updates that same live week while it is still current and unedited in the app; Saved Week snapshots stay unchanged. Other proposals remain unselected until chosen. Changes described only in chat leave the plan as it was. The returned menuDraftId is the one to save or shop. A stale-edit error includes the current draft and changeApplied=false; the returned state supports review and a retry of only the unapplied change using its current menuDraftId. Exact slot IDs and labels come from get_menu_draft. Choosing and changing dinners works before sign-in; saving or shopping the result needs a linked account.
| Parameter | Type | Description |
|---|---|---|
| slot | string | Exact slot label to change; never rebuild unrelated dinners. |
| locked | boolean | Keep this dinner through future changes. Unlock explicitly before replacing. |
| reroll | boolean | Five new candidates for the target unresolved slot only. Preserve all constraints and unrelated slots; exclude its previously shown recipes where possible. |
| slotId | string | Stable slot ID, preferred over the legacy slot label. |
| choices | object | For two or more dinners only. For one dinner use slotId and replacementRecipeId instead. Pair each unlocked slot with its own offered recipe in the same order. Interchangeable slots may share their offered recipes. Supply one distinct offered recipe per slot. This is one atomic draft revision; never… |
| servings | integer | Change the selected slot, or all slots when slot is omitted. |
| pantryMode | string | Refresh unselected dinners using this task-only pantry choice, preserving all selected slots, servings and dietary restrictions. |
| chooseForMe | boolean | Select one matching candidate for this slot only when the user explicitly asks you to choose. May accompany replacementBrief or reroll. Never saves or activates the week. |
| menuDraftId * | string | |
| undoLastChange | boolean | Undo the latest draft edit as a new revision. Does not change Saved Weeks, This Week or previous shopping lists. |
| slotRequirement | object | Replace this slot’s structure only. Other dinners stay unchanged. |
| focusIngredients | array | |
| refillShortSlots | boolean | One repair for the whole draft: top up every unselected slot that has fewer than five candidates (see slotIssues), keeping its existing cards, every full slot and every selection. No slotId. Use this instead of rerolling short slots one by one; do not call it when slotIssues is empty. |
| replacementBrief | string | What to change about this dinner, e.g. vegetarian or something new. Existing exclusions remain enforced. |
| replacementRecipeId | string | Select an exact offered alternative for this slot. Must belong to this draft's options; cannot duplicate another chosen dinner. |
{
"name": "revise_weekly_menu",
"title": "Change one dinner or its servings",
"description": "Changes a menu draft and returns the updated draft with a new menuDraftId; unrelated dinners, locks, dietary rules and pantry choice are kept. Operations: select one offered choice for a slot (slotId + replacementRecipeId, which also locks it); select several unlocked dinners in one revision (choices pairs slotIds and recipeIds in order; each recipe must belong to its slot unless all slots are interchangeable); five new choices for one slot (slotId + reroll: true); top up every slot listed in slotIssues in one call (refillShortSlots: true, no slotId); change a slot's protein, timing or health aim (slotRequirement or replacementBrief); change servings for one slot, or for the whole week without slotId; change pantry ranking (pantryMode, focusIngredients); lock or unlock a dinner (locked); undo the last change (undoLastChange). An explicit chooseForMe request can select a matching candidate for one slot; ordinary replacement requests leave that slot unselected. For a plan automatically made This Week, an approved change takes the first different matching choice and updates that same live week while it is still current and unedited in the app; Saved Week snapshots stay unchanged. Other proposals remain unselected until chosen. Changes described only in chat leave the plan as it was. The returned menuDraftId is the one to save or shop. A stale-edit error includes the current draft and changeApplied=false; the returned state supports review and a retry of only the unapplied change using its current menuDraftId. Exact slot IDs and labels come from get_menu_draft. Choosing and changing dinners works before sign-in; saving or shopping the result needs a linked account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"menuDraftId"
],
"properties": {
"slot": {
"type": "string",
"description": "Exact slot label to change; never rebuild unrelated dinners."
},
"locked": {
"type": "boolean",
"description": "Keep this dinner through future changes. Unlock explicitly before replacing."
},
"reroll": {
"type": "boolean",
"description": "Five new candidates for the target unresolved slot only. Preserve all constraints and unrelated slots; exclude its previously shown recipes where possible."
},
"slotId": {
"type": "string",
"minLength": 1,
"description": "Stable slot ID, preferred over the legacy slot label."
},
"choices": {
"type": "object",
"required": [
"slotIds",
"recipeIds"
],
"properties": {
"slotIds": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 14,
"minItems": 2
},
"recipeIds": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 14,
"minItems": 2
}
},
"description": "For two or more dinners only. For one dinner use slotId and replacementRecipeId instead. Pair each unlocked slot with its own offered recipe in the same order. Interchangeable slots may share their offered recipes. Supply one distinct offered recipe per slot. This is one atomic draft revision; never combine with other edits.",
"additionalProperties": false
},
"servings": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Change the selected slot, or all slots when slot is omitted."
},
"pantryMode": {
"enum": [
"ignore",
"use",
"focus"
],
"type": "string",
"description": "Refresh unselected dinners using this task-only pantry choice, preserving all selected slots, servings and dietary restrictions."
},
"chooseForMe": {
"type": "boolean",
"description": "Select one matching candidate for this slot only when the user explicitly asks you to choose. May accompany replacementBrief or reroll. Never saves or activates the week."
},
"menuDraftId": {
"type": "string",
"minLength": 1
},
"undoLastChange": {
"type": "boolean",
"description": "Undo the latest draft edit as a new revision. Does not change Saved Weeks, This Week or previous shopping lists."
},
"slotRequirement": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"style": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"cuisine": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"protein": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegetarian",
"vegan",
"pescatarian"
],
"type": "string"
},
"special": {
"type": "boolean"
},
"proteins": {
"type": "array",
"items": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegan"
],
"type": "string"
},
"maxItems": 7,
"minItems": 1,
"description": "OR choices within this slot, e.g. beef or lamb."
},
"minFibreG": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Hard minimum credible estimated fibre grams per serving. Never relax to fill choices."
},
"maxTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"minTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"excludeFoods": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 40
},
"cookingMethod": {
"enum": [
"roast"
],
"type": "string"
},
"excludeProtein": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 12
}
},
"description": "Replace this slot’s structure only. Other dinners stay unchanged.",
"additionalProperties": false
},
"focusIngredients": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 20
},
"refillShortSlots": {
"type": "boolean",
"description": "One repair for the whole draft: top up every unselected slot that has fewer than five candidates (see slotIssues), keeping its existing cards, every full slot and every selection. No slotId. Use this instead of rerolling short slots one by one; do not call it when slotIssues is empty."
},
"replacementBrief": {
"type": "string",
"minLength": 1,
"description": "What to change about this dinner, e.g. vegetarian or something new. Existing exclusions remain enforced."
},
"replacementRecipeId": {
"type": "string",
"minLength": 1,
"description": "Select an exact offered alternative for this slot. Must belong to this draft's options; cannot duplicate another chosen dinner."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"progress",
"allowedNextActions",
"selection",
"menuDraftId",
"title",
"dinners",
"servings",
"appUrl"
],
"properties": {
"note": {
"type": "string"
},
"brief": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"status": {
"enum": [
"needs_selections",
"ready"
],
"type": "string"
},
"canUndo": {
"type": "boolean"
},
"dietary": {
"type": "array",
"items": {
"type": "string"
}
},
"dinners": {
"type": "array",
"items": {
"type": "object",
"required": [
"slot",
"recipeId",
"title",
"reason",
"totalTimeMins",
"imageUrl",
"appUrl"
],
"properties": {
"slot": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"locked": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"slotId": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"$ref": "#/properties/dinners/items/properties/candidates/items"
},
"maxItems": 4
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"comfort"
],
"type": "string"
},
"recipeId": {
"type": [
"string",
"null"
]
},
"servings": {
"type": "number"
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"title",
"reason",
"totalTimeMins",
"imageUrl",
"appUrl"
],
"properties": {
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"reason": {
"type": "string"
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"recipeId": {
"type": "string"
},
"fibreEstimate": {
"$ref": "#/properties/dinners/items/properties/fibreEstimate"
},
"totalTimeMins": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"maxItems": 5
},
"requirement": {
"$ref": "#/properties/slotIssues/items/properties/requirement"
},
"displayLabel": {
"type": "string"
},
"fibreEstimate": {
"type": "object",
"required": [
"grams",
"coveragePercent",
"source",
"status"
],
"properties": {
"grams": {
"type": [
"number",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"estimated",
"unknown"
],
"type": "string"
},
"coveragePercent": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"totalTimeMins": {
"type": [
"number",
"null"
]
},
"repeatsAllowed": {
"type": "boolean"
},
"selectedRecipeId": {
"type": [
"string",
"null"
]
},
"previouslyShownRecipeIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"comfort"
],
"type": "string"
},
"progress": {
"type": "object",
"required": [
"selected",
"total",
"complete"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"complete": {
"type": "boolean"
},
"selected": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
"recovery": {
"type": "string",
"const": "review_current_draft"
},
"servings": {
"type": "number"
},
"diversity": {
"anyOf": [
{
"type": "object",
"required": [
"score",
"maxScore",
"rating",
"dimensions",
"warnings"
],
"properties": {
"score": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"rating": {
"type": "string"
},
"maxScore": {
"type": "number",
"const": 100
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"dimensions": {
"type": "object",
"required": [
"protein",
"fibre",
"plants"
],
"properties": {
"fibre": {
"type": "number"
},
"plants": {
"type": "number"
},
"protein": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"selection": {
"type": "object",
"required": [
"total",
"selected",
"unresolved",
"complete",
"unresolvedSlots",
"recipeIds",
"progressLabel",
"ctaLabel",
"summaryLabel"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"complete": {
"type": "boolean"
},
"ctaLabel": {
"type": "string"
},
"selected": {
"type": "integer",
"minimum": 0
},
"recipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"unresolved": {
"type": "integer",
"minimum": 0
},
"summaryLabel": {
"type": "string"
},
"progressLabel": {
"type": "string"
},
"unresolvedSlots": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"displayLabel",
"recipeId"
],
"properties": {
"slotId": {
"type": "string"
},
"recipeId": {
"type": "null"
},
"displayLabel": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"navigation": {
"type": "object",
"required": [
"savedWeekUrl",
"menuDraftId",
"state"
],
"properties": {
"state": {
"type": "string",
"const": "draft"
},
"menuDraftId": {
"type": "string"
},
"savedWeekUrl": {
"type": "string"
}
},
"additionalProperties": false
},
"pantryMode": {
"enum": [
"ignore",
"use",
"focus"
],
"type": "string"
},
"slotIssues": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"displayLabel",
"requirement",
"code",
"candidateCount",
"message"
],
"properties": {
"code": {
"enum": [
"NO_COMPLETE_MATCH",
"FEWER_CANDIDATES"
],
"type": "string"
},
"reason": {
"type": "string"
},
"slotId": {
"type": "string"
},
"message": {
"type": "string"
},
"requested": {
"type": "number"
},
"requirement": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"style": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"cuisine": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"protein": {
"type": "string"
},
"special": {
"type": "boolean"
},
"proteins": {
"type": "array",
"items": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegan"
],
"type": "string"
},
"maxItems": 7,
"minItems": 1,
"description": "OR choices within this slot, e.g. beef or lamb."
},
"minFibreG": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Hard minimum credible estimated fibre grams per serving. Never relax to fill choices."
},
"maxTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"minTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"excludeFoods": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 40
},
"cookingMethod": {
"enum": [
"roast"
],
"type": "string"
},
"excludeProtein": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"displayLabel": {
"type": "string"
},
"candidateCount": {
"type": "number"
}
},
"additionalProperties": false
}
},
"menuDraftId": {
"type": "string"
},
"savedWeekId": {
"type": "string"
},
"recipeSource": {
"enum": [
"mixed",
"saved",
"not_recently_planned"
],
"type": "string"
},
"changeApplied": {
"type": "boolean",
"const": false
},
"savedWeekTitle": {
"type": "string"
},
"diversityStatus": {
"enum": [
"complete",
"incomplete"
],
"type": "string"
},
"savedWeekAppUrl": {
"type": "string"
},
"focusIngredients": {
"type": "array",
"items": {
"type": "string"
}
},
"selectionWarnings": {
"type": "array",
"items": {
"type": "string"
}
},
"allowedNextActions": {
"type": "array",
"items": {
"enum": [
"select_recipe",
"reroll_slot",
"change_slot",
"undo_last_change",
"create_shopping_list",
"save_week",
"set_this_week",
"save_menu"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Change one dinner or its servings",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Canonical saving operation. Saves a completed menu draft (every dinner selected) as a reusable Saved Week, keeping the exact recipes, order, slot labels, locks and per-dinner servings. Returns savedWeekId alongside the menuDraftId; create_shopping_list accepts that same menuDraftId, and open_saved_week recreates the draft from savedWeekId if the draft has expired. Leaves This Week unchanged and creates no shopping list. Idempotent: saving the same draft revision again returns the same Saved Week (status already_saved). A draft changed since it was read returns a conflict; get_menu_draft then gives the current revision. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| menuDraftId * | string |
{
"name": "save_week",
"title": "Save week",
"description": "Canonical saving operation. Saves a completed menu draft (every dinner selected) as a reusable Saved Week, keeping the exact recipes, order, slot labels, locks and per-dinner servings. Returns savedWeekId alongside the menuDraftId; create_shopping_list accepts that same menuDraftId, and open_saved_week recreates the draft from savedWeekId if the draft has expired. Leaves This Week unchanged and creates no shopping list. Idempotent: saving the same draft revision again returns the same Saved Week (status already_saved). A draft changed since it was read returns a conflict; get_menu_draft then gives the current revision. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"menuDraftId"
],
"properties": {
"menuDraftId": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"menuDraftId",
"savedWeekId",
"title",
"dinnerCount",
"diversity",
"appUrl",
"state",
"message",
"allowedNextActions"
],
"properties": {
"state": {
"type": "string",
"const": "saved"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string",
"format": "uri"
},
"status": {
"enum": [
"saved",
"already_saved"
],
"type": "string"
},
"message": {
"type": "string"
},
"diversity": {
"anyOf": [
{
"type": "object",
"required": [
"score",
"maxScore",
"rating",
"dimensions",
"warnings"
],
"properties": {
"score": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"rating": {
"type": "string"
},
"maxScore": {
"type": "number",
"const": 100
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"dimensions": {
"type": "object",
"required": [
"protein",
"fibre",
"plants"
],
"properties": {
"fibre": {
"type": "number"
},
"plants": {
"type": "number"
},
"protein": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"dinnerCount": {
"type": "integer",
"exclusiveMinimum": 0
},
"menuDraftId": {
"type": "string"
},
"savedWeekId": {
"type": "string"
},
"allowedNextActions": {
"type": "array",
"items": {
"enum": [
"create_shopping_list",
"open_saved_week",
"set_this_week",
"share_week"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Save week",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Lists the user's Saved Weeks as compact data for browsing or picking a week to reuse, with savedWeekId and up to three dinner previews per card. Counts and duplicate comparisons are available through analyse_saved_weeks; get_saved_week reads the complete dinners of one week without opening a draft. Use nextOffset only for further browsing. Use analyse_saved_weeks for counts or duplicates, and get_saved_week for one week. A week saved earlier in this conversation is identified by the savedWeekId save_week returned, not by its position or recency in this list. Provenance is not recorded for personal snapshots; never infer Chef IQ origin from a title. Read-only. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| offset | integer | Start at 0, then pass nextOffset from the previous page. Read every page before proposing whole-library changes; restart if records change while browsing. |
{
"name": "list_saved_weeks",
"title": "Find saved weeks",
"description": "Lists the user's Saved Weeks as compact data for browsing or picking a week to reuse, with savedWeekId and up to three dinner previews per card. Counts and duplicate comparisons are available through analyse_saved_weeks; get_saved_week reads the complete dinners of one week without opening a draft. Use nextOffset only for further browsing. Use analyse_saved_weeks for counts or duplicates, and get_saved_week for one week. A week saved earlier in this conversation is identified by the savedWeekId save_week returned, not by its position or recency in this list. Provenance is not recorded for personal snapshots; never infer Chef IQ origin from a title. Read-only. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Start at 0, then pass nextOffset from the previous page. Read every page before proposing whole-library changes; restart if records change while browsing."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"weeks",
"note"
],
"properties": {
"note": {
"type": "string"
},
"total": {
"type": "integer",
"minimum": 0
},
"weeks": {
"type": "array",
"items": {
"type": "object",
"required": [
"savedWeekId",
"title",
"appUrl",
"dinnerCount",
"servings",
"updatedAt",
"previewRecipes",
"heroImageUrl"
],
"properties": {
"title": {
"type": "string"
},
"appUrl": {
"type": "string",
"format": "uri"
},
"servings": {
"type": [
"number",
"null"
]
},
"updatedAt": {
"type": [
"string",
"null"
]
},
"dinnerCount": {
"type": "integer",
"minimum": 0
},
"savedWeekId": {
"type": "string"
},
"heroImageUrl": {
"type": [
"string",
"null"
]
},
"previewRecipes": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"title",
"imageUrl"
],
"properties": {
"title": {
"type": "string"
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"recipeId": {
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 3
}
},
"additionalProperties": false
}
},
"offset": {
"type": "integer",
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"pageSize": {
"type": "integer",
"exclusiveMinimum": 0
},
"returned": {
"type": "integer",
"minimum": 0
},
"nextOffset": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"annotations": {
"title": "Find saved weeks",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Answers how many Saved Weeks the user has and how many repeat the same meals in one read-only data response, without opening the app or creating drafts. Compares every stored recipe ID, ignoring week titles and dinner order, and reports serving-setting differences and unknown portions separately. Empty weeks are counted separately. Counts are returned by default. includeGroups adds up to 50 duplicate week references; nextOffset continues those references and expectedRevision accepts the previous analysisRevision to detect changed data. Reads the complete account library on the server, without loading full recipes, images, nutrition or shopping data. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| offset | integer | Offset over duplicate week references, using nextOffset from the previous page. |
| includeGroups | boolean | Include a page of duplicate week names and IDs; counts alone are returned by default. |
| expectedRevision | string | analysisRevision from the previous page; a changed analysis is refused so pagination can restart. |
{
"name": "analyse_saved_weeks",
"title": "Count and compare saved weeks",
"description": "Answers how many Saved Weeks the user has and how many repeat the same meals in one read-only data response, without opening the app or creating drafts. Compares every stored recipe ID, ignoring week titles and dinner order, and reports serving-setting differences and unknown portions separately. Empty weeks are counted separately. Counts are returned by default. includeGroups adds up to 50 duplicate week references; nextOffset continues those references and expectedRevision accepts the previous analysisRevision to detect changed data. Reads the complete account library on the server, without loading full recipes, images, nutrition or shopping data. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"offset": {
"type": "integer",
"minimum": 0,
"description": "Offset over duplicate week references, using nextOffset from the previous page."
},
"includeGroups": {
"type": "boolean",
"description": "Include a page of duplicate week names and IDs; counts alone are returned by default."
},
"expectedRevision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "analysisRevision from the previous page; a changed analysis is refused so pagination can restart."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"complete",
"analysisRevision",
"totalWeeks",
"emptyWeeks",
"uniqueMealSelections",
"duplicateGroupCount",
"weeksInDuplicateGroups",
"extraCopies",
"groupsWithDifferentServingSettings",
"groupsWithUnknownServings",
"groupsIncluded",
"pageSize",
"offset",
"returnedWeeks",
"nextOffset",
"hasMore",
"groups",
"note"
],
"properties": {
"note": {
"type": "string"
},
"groups": {
"type": "array",
"items": {
"type": "object",
"required": [
"groupId",
"weekCount",
"dinnerCount",
"servingSettingsMatch",
"hasUnknownServings",
"weeks"
],
"properties": {
"weeks": {
"type": "array",
"items": {
"type": "object",
"required": [
"savedWeekId",
"title"
],
"properties": {
"title": {
"type": "string"
},
"savedWeekId": {
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 50,
"minItems": 1
},
"groupId": {
"type": "string"
},
"weekCount": {
"type": "integer",
"minimum": 2
},
"dinnerCount": {
"type": "integer",
"exclusiveMinimum": 0
},
"hasUnknownServings": {
"type": "boolean"
},
"servingSettingsMatch": {
"type": "boolean",
"description": "The stored week defaults and per-recipe overrides match; unknown values do not prove equal portion sizes."
}
},
"additionalProperties": false
},
"maxItems": 50
},
"offset": {
"type": "integer",
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"complete": {
"type": "boolean",
"const": true,
"description": "All owner-scoped rows were enumerated and checked against exact counts. This is not a transactional snapshot."
},
"pageSize": {
"type": "number",
"const": 50
},
"emptyWeeks": {
"type": "integer",
"minimum": 0
},
"nextOffset": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"totalWeeks": {
"type": "integer",
"minimum": 0
},
"extraCopies": {
"type": "integer",
"minimum": 0,
"description": "Weeks beyond one per matching meal-selection group; not necessarily identical serving settings."
},
"returnedWeeks": {
"type": "integer",
"maximum": 50,
"minimum": 0
},
"groupsIncluded": {
"type": "boolean"
},
"analysisRevision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"duplicateGroupCount": {
"type": "integer",
"minimum": 0
},
"uniqueMealSelections": {
"type": "integer",
"minimum": 0,
"description": "Distinct non-empty recipe ID multisets, ignoring titles and dinner order."
},
"weeksInDuplicateGroups": {
"type": "integer",
"minimum": 0
},
"groupsWithUnknownServings": {
"type": "integer",
"minimum": 0
},
"groupsWithDifferentServingSettings": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"title": "Count and compare saved weeks",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Reads every dinner in one Saved Week by savedWeekId, with compact recipe titles and stored serving settings, as data for a chat answer. Keeps unavailable recipe IDs and unknown portions explicit. No app widget, new draft, full recipe hydration or change to This Week. For contents and comparison questions; open_saved_week creates an editable copy when changes or shopping are wanted. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| savedWeekId * | string |
{
"name": "get_saved_week",
"title": "Read a saved week",
"description": "Reads every dinner in one Saved Week by savedWeekId, with compact recipe titles and stored serving settings, as data for a chat answer. Keeps unavailable recipe IDs and unknown portions explicit. No app widget, new draft, full recipe hydration or change to This Week. For contents and comparison questions; open_saved_week creates an editable copy when changes or shopping are wanted. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"savedWeekId"
],
"properties": {
"savedWeekId": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"complete",
"savedWeekId",
"title",
"appUrl",
"dinnerCount",
"servings",
"updatedAt",
"dinners",
"note"
],
"properties": {
"note": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string",
"format": "uri"
},
"dinners": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"title",
"available",
"servingsOverride",
"servings"
],
"properties": {
"title": {
"type": [
"string",
"null"
]
},
"recipeId": {
"type": "string"
},
"servings": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"available": {
"type": "boolean"
},
"servingsOverride": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"complete": {
"type": "boolean",
"const": true
},
"servings": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": [
"string",
"null"
]
},
"dinnerCount": {
"type": "integer",
"minimum": 0
},
"savedWeekId": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read a saved week",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Creates a private, editable menu draft copied from a Saved Week, keeping its dinner order and servings, and returns its menuDraftId for revise_weekly_menu, save_week or create_shopping_list. For editing, reuse or shopping; get_saved_week reads contents and analyse_saved_weeks answers counts and duplicate questions without creating drafts. The Saved Week and This Week are unchanged. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| savedWeekId * | string |
{
"name": "open_saved_week",
"title": "Use a saved week as a new draft",
"description": "Creates a private, editable menu draft copied from a Saved Week, keeping its dinner order and servings, and returns its menuDraftId for revise_weekly_menu, save_week or create_shopping_list. For editing, reuse or shopping; get_saved_week reads contents and analyse_saved_weeks answers counts and duplicate questions without creating drafts. The Saved Week and This Week are unchanged. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"savedWeekId"
],
"properties": {
"savedWeekId": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"progress",
"allowedNextActions",
"selection",
"menuDraftId",
"title",
"dinners",
"servings",
"appUrl"
],
"properties": {
"note": {
"type": "string"
},
"brief": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"status": {
"enum": [
"needs_selections",
"ready"
],
"type": "string"
},
"canUndo": {
"type": "boolean"
},
"dietary": {
"type": "array",
"items": {
"type": "string"
}
},
"dinners": {
"type": "array",
"items": {
"type": "object",
"required": [
"slot",
"recipeId",
"title",
"reason",
"totalTimeMins",
"imageUrl",
"appUrl"
],
"properties": {
"slot": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"locked": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"slotId": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"$ref": "#/properties/dinners/items/properties/candidates/items"
},
"maxItems": 4
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"comfort"
],
"type": "string"
},
"recipeId": {
"type": [
"string",
"null"
]
},
"servings": {
"type": "number"
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"title",
"reason",
"totalTimeMins",
"imageUrl",
"appUrl"
],
"properties": {
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"reason": {
"type": "string"
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"recipeId": {
"type": "string"
},
"fibreEstimate": {
"$ref": "#/properties/dinners/items/properties/fibreEstimate"
},
"totalTimeMins": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"maxItems": 5
},
"requirement": {
"$ref": "#/properties/slotIssues/items/properties/requirement"
},
"displayLabel": {
"type": "string"
},
"fibreEstimate": {
"type": "object",
"required": [
"grams",
"coveragePercent",
"source",
"status"
],
"properties": {
"grams": {
"type": [
"number",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"estimated",
"unknown"
],
"type": "string"
},
"coveragePercent": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"totalTimeMins": {
"type": [
"number",
"null"
]
},
"repeatsAllowed": {
"type": "boolean"
},
"selectedRecipeId": {
"type": [
"string",
"null"
]
},
"previouslyShownRecipeIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"comfort"
],
"type": "string"
},
"progress": {
"type": "object",
"required": [
"selected",
"total",
"complete"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"complete": {
"type": "boolean"
},
"selected": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
"recovery": {
"type": "string",
"const": "review_current_draft"
},
"servings": {
"type": "number"
},
"diversity": {
"anyOf": [
{
"type": "object",
"required": [
"score",
"maxScore",
"rating",
"dimensions",
"warnings"
],
"properties": {
"score": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"rating": {
"type": "string"
},
"maxScore": {
"type": "number",
"const": 100
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"dimensions": {
"type": "object",
"required": [
"protein",
"fibre",
"plants"
],
"properties": {
"fibre": {
"type": "number"
},
"plants": {
"type": "number"
},
"protein": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"selection": {
"type": "object",
"required": [
"total",
"selected",
"unresolved",
"complete",
"unresolvedSlots",
"recipeIds",
"progressLabel",
"ctaLabel",
"summaryLabel"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"complete": {
"type": "boolean"
},
"ctaLabel": {
"type": "string"
},
"selected": {
"type": "integer",
"minimum": 0
},
"recipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"unresolved": {
"type": "integer",
"minimum": 0
},
"summaryLabel": {
"type": "string"
},
"progressLabel": {
"type": "string"
},
"unresolvedSlots": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"displayLabel",
"recipeId"
],
"properties": {
"slotId": {
"type": "string"
},
"recipeId": {
"type": "null"
},
"displayLabel": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"navigation": {
"type": "object",
"required": [
"savedWeekUrl",
"menuDraftId",
"state"
],
"properties": {
"state": {
"type": "string",
"const": "draft"
},
"menuDraftId": {
"type": "string"
},
"savedWeekUrl": {
"type": "string"
}
},
"additionalProperties": false
},
"pantryMode": {
"enum": [
"ignore",
"use",
"focus"
],
"type": "string"
},
"slotIssues": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"displayLabel",
"requirement",
"code",
"candidateCount",
"message"
],
"properties": {
"code": {
"enum": [
"NO_COMPLETE_MATCH",
"FEWER_CANDIDATES"
],
"type": "string"
},
"reason": {
"type": "string"
},
"slotId": {
"type": "string"
},
"message": {
"type": "string"
},
"requested": {
"type": "number"
},
"requirement": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"style": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"cuisine": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"protein": {
"type": "string"
},
"special": {
"type": "boolean"
},
"proteins": {
"type": "array",
"items": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegan"
],
"type": "string"
},
"maxItems": 7,
"minItems": 1,
"description": "OR choices within this slot, e.g. beef or lamb."
},
"minFibreG": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Hard minimum credible estimated fibre grams per serving. Never relax to fill choices."
},
"maxTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"minTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"excludeFoods": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 40
},
"cookingMethod": {
"enum": [
"roast"
],
"type": "string"
},
"excludeProtein": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"displayLabel": {
"type": "string"
},
"candidateCount": {
"type": "number"
}
},
"additionalProperties": false
}
},
"menuDraftId": {
"type": "string"
},
"savedWeekId": {
"type": "string"
},
"recipeSource": {
"enum": [
"mixed",
"saved",
"not_recently_planned"
],
"type": "string"
},
"changeApplied": {
"type": "boolean",
"const": false
},
"savedWeekTitle": {
"type": "string"
},
"diversityStatus": {
"enum": [
"complete",
"incomplete"
],
"type": "string"
},
"savedWeekAppUrl": {
"type": "string"
},
"focusIngredients": {
"type": "array",
"items": {
"type": "string"
}
},
"selectionWarnings": {
"type": "array",
"items": {
"type": "string"
}
},
"allowedNextActions": {
"type": "array",
"items": {
"enum": [
"select_recipe",
"reroll_slot",
"change_slot",
"undo_last_change",
"create_shopping_list",
"save_week",
"set_this_week",
"save_menu"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Use a saved week as a new draft",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Makes a Saved Week the user's This Week (the week the Chop it app shows for cooking) as an independent working copy with the same servings. Replaces the current This Week; the Saved Week stays reusable. Returns the working copy servings, or null when unset. To change portions, open_saved_week, revise_weekly_menu with servings, save_week, then activate that exact new savedWeekId. Suits a request to make a saved week the current one. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| savedWeekId * | string |
{
"name": "set_this_week",
"title": "Make a saved week This Week",
"description": "Makes a Saved Week the user's This Week (the week the Chop it app shows for cooking) as an independent working copy with the same servings. Replaces the current This Week; the Saved Week stays reusable. Returns the working copy servings, or null when unset. To change portions, open_saved_week, revise_weekly_menu with servings, save_week, then activate that exact new savedWeekId. Suits a request to make a saved week the current one. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"savedWeekId"
],
"properties": {
"savedWeekId": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"activeCollectionId",
"state",
"message",
"appUrl",
"savedWeekId",
"servings",
"recipeServings"
],
"properties": {
"state": {
"type": "string",
"const": "active"
},
"appUrl": {
"type": "string",
"format": "uri"
},
"status": {
"type": "string",
"const": "active"
},
"message": {
"type": "string"
},
"servings": {
"type": [
"number",
"null"
]
},
"savedWeekId": {
"type": "string"
},
"recipeServings": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"activeCollectionId": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Make a saved week This Week",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Renames one of the user's Saved Weeks by savedWeekId. Its dinners, servings and This Week are unchanged. Idempotent for the same title. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| title * | string | |
| savedWeekId * | string |
{
"name": "rename_saved_week",
"title": "Rename a saved week",
"description": "Renames one of the user's Saved Weeks by savedWeekId. Its dinners, servings and This Week are unchanged. Idempotent for the same title. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"savedWeekId",
"title"
],
"properties": {
"title": {
"type": "string",
"maxLength": 50,
"minLength": 2
},
"savedWeekId": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"savedWeekId",
"title",
"appUrl"
],
"properties": {
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"status": {
"type": "string",
"const": "renamed"
},
"savedWeekId": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Rename a saved week",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Permanently deletes one of the user's Saved Weeks by savedWeekId; irreversible, so it suits an explicit request that names the week. expectedTitle is the week's current title as list_saved_weeks shows it; a mismatch, or a week that is currently This Week, is refused and nothing is deleted. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| savedWeekId * | string | |
| expectedTitle * | string |
{
"name": "delete_saved_week",
"title": "Delete a saved week",
"description": "Permanently deletes one of the user's Saved Weeks by savedWeekId; irreversible, so it suits an explicit request that names the week. expectedTitle is the week's current title as list_saved_weeks shows it; a mismatch, or a week that is currently This Week, is refused and nothing is deleted. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"savedWeekId",
"expectedTitle"
],
"properties": {
"savedWeekId": {
"type": "string",
"format": "uuid"
},
"expectedTitle": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"savedWeekId"
],
"properties": {
"status": {
"type": "string",
"const": "deleted"
},
"savedWeekId": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete a saved week",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Saves a Chop it catalogue recipe, unchanged, into the user's own library, reusing the existing copy if they already saved it. Takes a recipeId from search_recipes, get_recipe or a menu draft and returns the library copy's own recipeId and appUrl. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| recipeId * | string |
{
"name": "save_discovered_recipe",
"title": "Save a discovered recipe",
"description": "Saves a Chop it catalogue recipe, unchanged, into the user's own library, reusing the existing copy if they already saved it. Takes a recipeId from search_recipes, get_recipe or a menu draft and returns the library copy's own recipeId and appUrl. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"recipeId"
],
"properties": {
"recipeId": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"recipeId",
"appUrl"
],
"properties": {
"appUrl": {
"type": "string",
"format": "uri"
},
"status": {
"enum": [
"saved",
"already_saved"
],
"type": "string"
},
"recipeId": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Save a discovered recipe",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Creates a public link to one of the user's Saved Weeks (savedWeekId) so others can preview it and import a copy. Anyone with the link can see the dinners and recipe contents, so it suits a request to share. Draft IDs are private and are never share codes. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| savedWeekId * | string |
{
"name": "share_week",
"title": "Create a public week link",
"description": "Creates a public link to one of the user's Saved Weeks (savedWeekId) so others can preview it and import a copy. Anyone with the link can see the dinners and recipe contents, so it suits a request to share. Draft IDs are private and are never share codes. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"savedWeekId"
],
"properties": {
"savedWeekId": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"created",
"shareCode",
"shareUrl",
"message"
],
"properties": {
"status": {
"type": "string",
"const": "shared"
},
"created": {
"type": "boolean"
},
"message": {
"type": "string"
},
"shareUrl": {
"type": "string",
"format": "uri"
},
"shareCode": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create a public week link",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Shows the dinners and cooking details behind a shared week link (shareCode). Available without an account and changes nothing.
| Parameter | Type | Description |
|---|---|---|
| shareCode * | string | The intentional public share code, never a private collection or draft ID. |
{
"name": "preview_shared_week",
"title": "Preview a publicly shared week",
"description": "Shows the dinners and cooking details behind a shared week link (shareCode). Available without an account and changes nothing.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"shareCode"
],
"properties": {
"shareCode": {
"type": "string",
"pattern": "^[A-Z0-9]{6,8}$",
"description": "The intentional public share code, never a private collection or draft ID."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"shareCode",
"title",
"dinnerCount",
"dinners",
"message",
"allowedNextActions"
],
"properties": {
"title": {
"type": "string"
},
"status": {
"type": "string",
"const": "preview"
},
"dinners": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"slot",
"servings",
"locked",
"title",
"ingredientServings"
],
"properties": {
"slot": {
"type": "string"
},
"title": {
"type": "string"
},
"locked": {
"type": "boolean"
},
"method": {},
"slotId": {
"type": "string"
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"servings": {
"type": "number"
},
"ingredients": {},
"requirement": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"style": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"cuisine": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"protein": {
"type": "string"
},
"special": {
"type": "boolean"
},
"proteins": {
"type": "array",
"items": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegan"
],
"type": "string"
},
"maxItems": 7,
"minItems": 1,
"description": "OR choices within this slot, e.g. beef or lamb."
},
"minFibreG": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Hard minimum credible estimated fibre grams per serving. Never relax to fill choices."
},
"maxTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"minTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"excludeFoods": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 40
},
"cookingMethod": {
"enum": [
"roast"
],
"type": "string"
},
"excludeProtein": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"displayLabel": {
"type": "string"
},
"ingredientServings": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
},
"message": {
"type": "string"
},
"shareCode": {
"type": "string"
},
"dinnerCount": {
"type": "integer",
"exclusiveMinimum": 0
},
"allowedNextActions": {
"type": "array",
"items": {
"type": "string",
"const": "import_shared_week"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Preview a publicly shared week",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Copies a shared week (shareCode) into the user's account: its recipes join their library and a private menu draft is created, returned as menuDraftId for review, save_week or shopping. The source week and the user's This Week are unchanged. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| shareCode * | string | The intentional public share code, never a private collection or draft ID. |
{
"name": "import_shared_week",
"title": "Import your own copy of a shared week",
"description": "Copies a shared week (shareCode) into the user's account: its recipes join their library and a private menu draft is created, returned as menuDraftId for review, save_week or shopping. The source week and the user's This Week are unchanged. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"shareCode"
],
"properties": {
"shareCode": {
"type": "string",
"pattern": "^[A-Z0-9]{6,8}$",
"description": "The intentional public share code, never a private collection or draft ID."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"progress",
"allowedNextActions",
"selection",
"menuDraftId",
"title",
"dinners",
"servings",
"appUrl",
"dinnerCount",
"message"
],
"properties": {
"note": {
"type": "string"
},
"brief": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"status": {
"enum": [
"needs_selections",
"ready"
],
"type": "string"
},
"canUndo": {
"type": "boolean"
},
"dietary": {
"type": "array",
"items": {
"type": "string"
}
},
"dinners": {
"type": "array",
"items": {
"type": "object",
"required": [
"slot",
"recipeId",
"title",
"reason",
"totalTimeMins",
"imageUrl",
"appUrl"
],
"properties": {
"slot": {
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"locked": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"slotId": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"$ref": "#/properties/dinners/items/properties/candidates/items"
},
"maxItems": 4
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"comfort"
],
"type": "string"
},
"recipeId": {
"type": [
"string",
"null"
]
},
"servings": {
"type": "number"
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"title",
"reason",
"totalTimeMins",
"imageUrl",
"appUrl"
],
"properties": {
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"reason": {
"type": "string"
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"recipeId": {
"type": "string"
},
"fibreEstimate": {
"$ref": "#/properties/dinners/items/properties/fibreEstimate"
},
"totalTimeMins": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"maxItems": 5
},
"requirement": {
"$ref": "#/properties/slotIssues/items/properties/requirement"
},
"displayLabel": {
"type": "string"
},
"fibreEstimate": {
"type": "object",
"required": [
"grams",
"coveragePercent",
"source",
"status"
],
"properties": {
"grams": {
"type": [
"number",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"estimated",
"unknown"
],
"type": "string"
},
"coveragePercent": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"totalTimeMins": {
"type": [
"number",
"null"
]
},
"repeatsAllowed": {
"type": "boolean"
},
"selectedRecipeId": {
"type": [
"string",
"null"
]
},
"previouslyShownRecipeIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"message": {
"type": "string"
},
"priority": {
"enum": [
"balanced",
"healthy",
"speedy",
"comfort"
],
"type": "string"
},
"progress": {
"type": "object",
"required": [
"selected",
"total",
"complete"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"complete": {
"type": "boolean"
},
"selected": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
"recovery": {
"type": "string",
"const": "review_current_draft"
},
"servings": {
"type": "number"
},
"diversity": {
"anyOf": [
{
"type": "object",
"required": [
"score",
"maxScore",
"rating",
"dimensions",
"warnings"
],
"properties": {
"score": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"rating": {
"type": "string"
},
"maxScore": {
"type": "number",
"const": 100
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"dimensions": {
"type": "object",
"required": [
"protein",
"fibre",
"plants"
],
"properties": {
"fibre": {
"type": "number"
},
"plants": {
"type": "number"
},
"protein": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"selection": {
"type": "object",
"required": [
"total",
"selected",
"unresolved",
"complete",
"unresolvedSlots",
"recipeIds",
"progressLabel",
"ctaLabel",
"summaryLabel"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"complete": {
"type": "boolean"
},
"ctaLabel": {
"type": "string"
},
"selected": {
"type": "integer",
"minimum": 0
},
"recipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"unresolved": {
"type": "integer",
"minimum": 0
},
"summaryLabel": {
"type": "string"
},
"progressLabel": {
"type": "string"
},
"unresolvedSlots": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"displayLabel",
"recipeId"
],
"properties": {
"slotId": {
"type": "string"
},
"recipeId": {
"type": "null"
},
"displayLabel": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"navigation": {
"type": "object",
"required": [
"savedWeekUrl",
"menuDraftId",
"state"
],
"properties": {
"state": {
"type": "string",
"const": "draft"
},
"menuDraftId": {
"type": "string"
},
"savedWeekUrl": {
"type": "string"
}
},
"additionalProperties": false
},
"pantryMode": {
"enum": [
"ignore",
"use",
"focus"
],
"type": "string"
},
"slotIssues": {
"type": "array",
"items": {
"type": "object",
"required": [
"slotId",
"displayLabel",
"requirement",
"code",
"candidateCount",
"message"
],
"properties": {
"code": {
"enum": [
"NO_COMPLETE_MATCH",
"FEWER_CANDIDATES"
],
"type": "string"
},
"reason": {
"type": "string"
},
"slotId": {
"type": "string"
},
"message": {
"type": "string"
},
"requested": {
"type": "number"
},
"requirement": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 40
},
"style": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"cuisine": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"protein": {
"type": "string"
},
"special": {
"type": "boolean"
},
"proteins": {
"type": "array",
"items": {
"enum": [
"fish",
"chicken",
"beef",
"pork",
"lamb",
"veg",
"vegan"
],
"type": "string"
},
"maxItems": 7,
"minItems": 1,
"description": "OR choices within this slot, e.g. beef or lamb."
},
"minFibreG": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Hard minimum credible estimated fibre grams per serving. Never relax to fill choices."
},
"maxTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"minTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"excludeFoods": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 40
},
"cookingMethod": {
"enum": [
"roast"
],
"type": "string"
},
"excludeProtein": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"displayLabel": {
"type": "string"
},
"candidateCount": {
"type": "number"
}
},
"additionalProperties": false
}
},
"dinnerCount": {
"type": "integer",
"exclusiveMinimum": 0
},
"menuDraftId": {
"type": "string"
},
"savedWeekId": {
"type": "string"
},
"recipeSource": {
"enum": [
"mixed",
"saved",
"not_recently_planned"
],
"type": "string"
},
"changeApplied": {
"type": "boolean",
"const": false
},
"savedWeekTitle": {
"type": "string"
},
"diversityStatus": {
"enum": [
"complete",
"incomplete"
],
"type": "string"
},
"savedWeekAppUrl": {
"type": "string"
},
"focusIngredients": {
"type": "array",
"items": {
"type": "string"
}
},
"selectionWarnings": {
"type": "array",
"items": {
"type": "string"
}
},
"allowedNextActions": {
"type": "array",
"items": {
"enum": [
"select_recipe",
"reroll_slot",
"change_slot",
"undo_last_change",
"create_shopping_list",
"save_week",
"set_this_week",
"save_menu"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Import your own copy of a shared week",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Returns the brief for writing a recipe to Chop it's library standard (structure, UK ingredient names, metric quantities, method detail), pantry context when the user wants to cook from their pantry, and a recipeDraftToken. save_recipe checks a recipe against the brief named by that token, so a recipe written to this brief is accepted first time. The token is a signed copy of the brief the user can see; it holds no secret and grants no access. Makes no AI call and saves nothing. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| cuisine | string | Cuisine the user asked for, if any. |
| dishIdea * | string | What the user wants to cook, in their words. |
| servings | integer | |
| exclusions | array | Anything ruled out, in plain words: 'no pork', 'dairy-free', 'no peanuts'. Resolved server-side. |
| pantryMode | string | one of ["ignore","use","focus"] |
| maxTimeMins | integer | Hard ceiling on total time, when the user gave one. |
| focusIngredients | array |
{
"name": "start_recipe",
"title": "Get the rules before writing a recipe",
"description": "Returns the brief for writing a recipe to Chop it's library standard (structure, UK ingredient names, metric quantities, method detail), pantry context when the user wants to cook from their pantry, and a recipeDraftToken. save_recipe checks a recipe against the brief named by that token, so a recipe written to this brief is accepted first time. The token is a signed copy of the brief the user can see; it holds no secret and grants no access. Makes no AI call and saves nothing. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"dishIdea"
],
"properties": {
"cuisine": {
"type": "string",
"description": "Cuisine the user asked for, if any."
},
"dishIdea": {
"type": "string",
"minLength": 2,
"description": "What the user wants to cook, in their words."
},
"servings": {
"type": "integer",
"default": 2,
"maximum": 20,
"minimum": 1
},
"exclusions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Anything ruled out, in plain words: 'no pork', 'dairy-free', 'no peanuts'. Resolved server-side."
},
"pantryMode": {
"enum": [
"ignore",
"use",
"focus"
],
"type": "string"
},
"maxTimeMins": {
"type": "integer",
"description": "Hard ceiling on total time, when the user gave one.",
"exclusiveMinimum": 0
},
"focusIngredients": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 20
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"recipeDraftToken",
"servings",
"outputContract",
"methodRules",
"ukVocabulary",
"bannedPhrases",
"excludeProtein",
"excludeFoods",
"dietary",
"unrecognisedExclusions",
"maxTimeMins",
"pantryMatches",
"note"
],
"properties": {
"note": {
"type": "string"
},
"dietary": {
"type": "array",
"items": {
"type": "string"
}
},
"servings": {
"type": "number"
},
"maxTimeMins": {
"type": [
"number",
"null"
]
},
"methodRules": {
"type": "array",
"items": {
"type": "string"
}
},
"excludeFoods": {
"type": "array",
"items": {
"type": "string"
}
},
"ukVocabulary": {
"type": "array",
"items": {
"type": "string"
}
},
"bannedPhrases": {
"type": "array",
"items": {
"type": "string"
}
},
"pantryMatches": {
"type": "array",
"items": {
"type": "string"
}
},
"excludeProtein": {
"type": "array",
"items": {
"type": "string"
}
},
"outputContract": {
"type": "array",
"items": {
"type": "string"
}
},
"recipeDraftToken": {
"type": "string",
"description": "A signed copy of the brief start_recipe just issued, so the server can confirm the recipe was written to the brief it actually gave out. It is not a credential and not a secret: it carries no keys, grants no access to anything, and everything inside it (servings, the excluded ingredients, the attempt count) was already returned to you in this same response, in the clear. The signature stops those constraints being edited in transit, not read. It is safe to show the user."
},
"unrecognisedExclusions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get the rules before writing a recipe",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Saves a structured recipe to the user's Chop it library: one read from a cookbook photo, one created with the user, or a corrected import. Takes the recipeDraftToken from start_recipe; the recipe is checked against that brief (UK ingredient names and metric quantities, ingredients in logical sections, a complete method with sensory cues, a plain title). status needs_revision means nothing was saved and fixes lists what to change, with a fresh recipeDraftToken; status saved means it is in the library and appUrl opens it. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| tags | array | e.g. cuisine, 'quick', 'family favourite'. |
| steps * | array | Complete numbered method with sensory cues (golden, bubbling). |
| title * | string | Recipe title in plain title case, no marketing words. |
| fidelity | string | 'transcription' for a faithful copy of an existing recipe (a cookbook page, pasted text). Honoured ONLY when sourceUrl or sourceNote carries real evidence — otherwise treated as 'generated'. |
| servings | integer | |
| sourceUrl | string | Where the recipe came from, if a link exists. |
| sourceNote | string | Provenance, e.g. 'photographed from a family cookbook'. |
| description | string | One-sentence appetising description of the finished dish. |
| cookTimeMins | integer | |
| prepTimeMins | integer | |
| finishingTouch | string | One vivid sentence describing the plated dish. |
| recipeDraftToken | string | A signed copy of the brief start_recipe just issued, so the server can confirm the recipe was written to the brief it actually gave out. It is not a credential and not a secret: it carries no keys, grants no access to anything, and everything inside it (servings, the excluded ingredients, the attemp… |
| ingredientSections * | array |
{
"name": "save_recipe",
"title": "Save a recipe to the Chop it library",
"description": "Saves a structured recipe to the user's Chop it library: one read from a cookbook photo, one created with the user, or a corrected import. Takes the recipeDraftToken from start_recipe; the recipe is checked against that brief (UK ingredient names and metric quantities, ingredients in logical sections, a complete method with sensory cues, a plain title). status needs_revision means nothing was saved and fixes lists what to change, with a fresh recipeDraftToken; status saved means it is in the library and appUrl opens it. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"title",
"ingredientSections",
"steps"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "e.g. cuisine, 'quick', 'family favourite'."
},
"steps": {
"type": "array",
"items": {
"type": "string",
"minLength": 3
},
"minItems": 1,
"description": "Complete numbered method with sensory cues (golden, bubbling)."
},
"title": {
"type": "string",
"minLength": 2,
"description": "Recipe title in plain title case, no marketing words."
},
"fidelity": {
"enum": [
"generated",
"transcription"
],
"type": "string",
"description": "'transcription' for a faithful copy of an existing recipe (a cookbook page, pasted text). Honoured ONLY when sourceUrl or sourceNote carries real evidence — otherwise treated as 'generated'."
},
"servings": {
"type": "integer",
"default": 2,
"maximum": 20,
"minimum": 1
},
"sourceUrl": {
"type": "string",
"description": "Where the recipe came from, if a link exists."
},
"sourceNote": {
"type": "string",
"description": "Provenance, e.g. 'photographed from a family cookbook'."
},
"description": {
"type": "string",
"description": "One-sentence appetising description of the finished dish."
},
"cookTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"prepTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"finishingTouch": {
"type": "string",
"description": "One vivid sentence describing the plated dish."
},
"recipeDraftToken": {
"type": "string",
"description": "A signed copy of the brief start_recipe just issued, so the server can confirm the recipe was written to the brief it actually gave out. It is not a credential and not a secret: it carries no keys, grants no access to anything, and everything inside it (servings, the excluded ingredients, the attempt count) was already returned to you in this same response, in the clear. The signature stops those constraints being edited in transit, not read. It is safe to show the user. Include the one start_recipe returned so the recipe is checked against that brief."
},
"ingredientSections": {
"type": "array",
"items": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Ingredient name, UK vocabulary (coriander, courgette, mince)."
},
"notes": {
"type": "string",
"description": "Prep notes, e.g. 'finely sliced'."
},
"optional": {
"type": "boolean",
"description": "True for a garnish or 'to serve' accompaniment: kept off the shopping list and out of nutrition scoring. Leave unset if unsure."
},
"quantity": {
"type": "string",
"description": "Metric quantity as text, e.g. '500 g', '2 tbsp', '1 large'."
}
},
"additionalProperties": false
},
"minItems": 1
},
"title": {
"type": "string",
"description": "Section label, e.g. 'The crispy chicken' or 'To serve'."
}
},
"additionalProperties": false
},
"minItems": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"message"
],
"properties": {
"fixes": {
"type": "array",
"items": {
"type": "object",
"required": [
"rule",
"severity",
"detail"
],
"properties": {
"rule": {
"type": "string"
},
"detail": {
"type": "string"
},
"severity": {
"enum": [
"CRITICAL",
"WARNING"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"status": {
"enum": [
"saved",
"saved_to_chat",
"saved_unclaimed",
"needs_revision"
],
"type": "string"
},
"keepUrl": {
"type": [
"string",
"null"
]
},
"message": {
"type": "string"
},
"recipeId": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"$ref": "#/properties/fixes/items"
}
},
"savesAfterCap": {
"type": "boolean"
},
"recipeDraftToken": {
"type": "string",
"description": "The same signed brief, re-issued with the revision count advanced. Not a credential and not a secret; see the description on start_recipe's output."
},
"attemptsRemaining": {
"type": "number"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Save a recipe to the Chop it library",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Imports a recipe from a link (TikTok, Instagram or any recipe website), or from pasted caption text when the link can't be read, restructures it to Chop it's recipe standard and saves it to the user's library. A needs_review result carries a preview and the issues found; the corrected recipe can then be saved with save_recipe. Imports that need paid processing require confirmPaidImport after the user agrees. Limited per conversation. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| url | string | TikTok, Instagram or website link to a recipe. |
| caption | string | Pasted caption/recipe text — used alone or to supplement the url. |
| requestId | string | Generate a unique ID before starting a new import. Reuse it until that import completes, including confirmation and recovery; a later new import needs a new ID. |
| confirmPaidImport | boolean | True only after the user explicitly approves 1 credit once the 10 free weekly imports are exhausted. |
{
"name": "import_recipe_from_url",
"title": "Import a recipe from a link",
"description": "Imports a recipe from a link (TikTok, Instagram or any recipe website), or from pasted caption text when the link can't be read, restructures it to Chop it's recipe standard and saves it to the user's library. A needs_review result carries a preview and the issues found; the corrected recipe can then be saved with save_recipe. Imports that need paid processing require confirmPaidImport after the user agrees. Limited per conversation. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"url": {
"type": "string",
"description": "TikTok, Instagram or website link to a recipe."
},
"caption": {
"type": "string",
"description": "Pasted caption/recipe text — used alone or to supplement the url."
},
"requestId": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "Generate a unique ID before starting a new import. Reuse it until that import completes, including confirmation and recovery; a later new import needs a new ID."
},
"confirmPaidImport": {
"type": "boolean",
"description": "True only after the user explicitly approves 1 credit once the 10 free weekly imports are exhausted."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"message"
],
"properties": {
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"status": {
"enum": [
"saved",
"needs_review",
"failed"
],
"type": "string"
},
"keepUrl": {
"type": [
"string",
"null"
]
},
"message": {
"type": "string"
},
"recipeId": {
"type": "string"
},
"failedRules": {
"type": "array",
"items": {
"type": "string"
}
},
"recipePreview": {}
},
"additionalProperties": false
},
"annotations": {
"title": "Import a recipe from a link",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Imports a recipe from a photo (cookbook page, screenshot or handwritten card) given a fetchable http(s) imageUrl, restructures it to Chop it's recipe standard and saves it to the user's library. A needs_review result carries a preview and the issues found, for correction with save_recipe. If the image can't be fetched, the recipe text can be imported as a caption with import_recipe_from_url. Imports that need paid processing require confirmPaidImport after the user agrees. Limited per conversation. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| caption | string | Optional extra context, e.g. the dish name or text the photo cuts off. |
| imageUrl * | string | http(s) URL of a photo of the recipe — a cookbook page, screenshot, or handwritten card. Must be a fetchable link; if the fetch fails, fall back to import_recipe_from_url with the recipe text as caption. |
| requestId | string | Generate a unique ID before starting a new import. Reuse it until that import completes, including confirmation and recovery; a later new import needs a new ID. |
| confirmPaidImport | boolean | True only after the user explicitly approves 1 credit once the 10 free weekly imports are exhausted. |
{
"name": "import_recipe_from_image",
"title": "Import a recipe from a photo",
"description": "Imports a recipe from a photo (cookbook page, screenshot or handwritten card) given a fetchable http(s) imageUrl, restructures it to Chop it's recipe standard and saves it to the user's library. A needs_review result carries a preview and the issues found, for correction with save_recipe. If the image can't be fetched, the recipe text can be imported as a caption with import_recipe_from_url. Imports that need paid processing require confirmPaidImport after the user agrees. Limited per conversation. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"imageUrl"
],
"properties": {
"caption": {
"type": "string",
"description": "Optional extra context, e.g. the dish name or text the photo cuts off."
},
"imageUrl": {
"type": "string",
"format": "uri",
"description": "http(s) URL of a photo of the recipe — a cookbook page, screenshot, or handwritten card. Must be a fetchable link; if the fetch fails, fall back to import_recipe_from_url with the recipe text as caption."
},
"requestId": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "Generate a unique ID before starting a new import. Reuse it until that import completes, including confirmation and recovery; a later new import needs a new ID."
},
"confirmPaidImport": {
"type": "boolean",
"description": "True only after the user explicitly approves 1 credit once the 10 free weekly imports are exhausted."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"message"
],
"properties": {
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"status": {
"enum": [
"saved",
"needs_review",
"failed"
],
"type": "string"
},
"keepUrl": {
"type": [
"string",
"null"
]
},
"message": {
"type": "string"
},
"recipeId": {
"type": "string"
},
"failedRules": {
"type": "array",
"items": {
"type": "string"
}
},
"recipePreview": {}
},
"additionalProperties": false
},
"annotations": {
"title": "Import a recipe from a photo",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Lists recipes in the user's Chop it library, the same ones the app shows (including anything imported or saved in this chat), most recently updated first. Paginated, read-only: returned is this page, total is the library count. Follow nextOffset only when more matches or a whole-library review is needed; a targeted edit needs only its recipes. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| offset | integer | Start at 0, then pass nextOffset from the previous page. Read every page before proposing whole-library changes; restart if records change while browsing. |
{
"name": "list_saved_recipes",
"title": "See my saved recipes",
"description": "Lists recipes in the user's Chop it library, the same ones the app shows (including anything imported or saved in this chat), most recently updated first. Paginated, read-only: returned is this page, total is the library count. Follow nextOffset only when more matches or a whole-library review is needed; a targeted edit needs only its recipes. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Start at 0, then pass nextOffset from the previous page. Read every page before proposing whole-library changes; restart if records change while browsing."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"recipes",
"total",
"returned",
"pageSize"
],
"properties": {
"note": {
"type": "string"
},
"total": {
"type": "number"
},
"offset": {
"type": "integer",
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"title",
"oneLiner",
"imageUrl",
"totalTimeMins",
"servings",
"tags",
"protein",
"plantCount",
"appUrl"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"isSweet": {
"type": "boolean"
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"oneLiner": {
"type": [
"string",
"null"
]
},
"recipeId": {
"type": "string"
},
"servings": {
"type": [
"number",
"null"
]
},
"nutrition": {
"anyOf": [
{
"type": "object",
"required": [
"kcal",
"proteinG",
"carbsG",
"fatG",
"fibreG",
"coveragePercent"
],
"properties": {
"fatG": {
"type": [
"number",
"null"
]
},
"kcal": {
"type": [
"number",
"null"
]
},
"carbsG": {
"type": [
"number",
"null"
]
},
"fibreG": {
"type": [
"number",
"null"
]
},
"proteinG": {
"type": [
"number",
"null"
]
},
"coveragePercent": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"plantCount": {
"type": [
"number",
"null"
]
},
"totalTimeMins": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
},
"pageSize": {
"type": "number"
},
"returned": {
"type": "number"
},
"nextOffset": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"annotations": {
"title": "See my saved recipes",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Returns one complete recipe by recipeId: ingredients with quantities, method steps, timings and photo. Accepts IDs from search_recipes, a menu draft, a week or list_saved_recipes. Without an account, full ingredients and method are available only for the fixed 100-recipe guest preview and are subject to a small hourly detail budget; a linked account can read up to 20 distinct full catalogue recipes per rolling 24 hours, shared across sessions and catalogue copy/share tools. Repeat admitted reads do not use another place. Own saved recipes remain available. Bulk exports require business access. servings scales simple ingredient amounts (the app's Shop list rounding); scaledFrom holds the written count. If scalingNote is present, amounts embedded in the instructions need review: the whole recipe stays at its returned original servings. Do not claim it was adapted; review ingredients and method together before a separate copy; the returned servings describe the recipe's actual portions. Garnishes and 'to serve' ingredients carry optional: true. nutrition holds per-serving kcal, protein, carbs, fat and fibre when the catalogue can vouch for them (an estimate, not medical advice); nutritionNote says why they are withheld otherwise. Read-only.
| Parameter | Type | Description |
|---|---|---|
| recipeId * | string | Recipe id from search_recipes, create_weekly_menu, or list_saved_recipes. |
| servings | integer | Requested servings. Simple ingredient amounts scale using Shop rounding; a scalingNote explains when embedded quantities require keeping the complete written recipe for review. Omit for the recipe's own count. |
{
"name": "get_recipe",
"title": "Get the full recipe",
"description": "Returns one complete recipe by recipeId: ingredients with quantities, method steps, timings and photo. Accepts IDs from search_recipes, a menu draft, a week or list_saved_recipes. Without an account, full ingredients and method are available only for the fixed 100-recipe guest preview and are subject to a small hourly detail budget; a linked account can read up to 20 distinct full catalogue recipes per rolling 24 hours, shared across sessions and catalogue copy/share tools. Repeat admitted reads do not use another place. Own saved recipes remain available. Bulk exports require business access. servings scales simple ingredient amounts (the app's Shop list rounding); scaledFrom holds the written count. If scalingNote is present, amounts embedded in the instructions need review: the whole recipe stays at its returned original servings. Do not claim it was adapted; review ingredients and method together before a separate copy; the returned servings describe the recipe's actual portions. Garnishes and 'to serve' ingredients carry optional: true. nutrition holds per-serving kcal, protein, carbs, fat and fibre when the catalogue can vouch for them (an estimate, not medical advice); nutritionNote says why they are withheld otherwise. Read-only.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"recipeId"
],
"properties": {
"recipeId": {
"type": "string",
"minLength": 1,
"description": "Recipe id from search_recipes, create_weekly_menu, or list_saved_recipes."
},
"servings": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Requested servings. Simple ingredient amounts scale using Shop rounding; a scalingNote explains when embedded quantities require keeping the complete written recipe for review. Omit for the recipe's own count."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"recipeId",
"title",
"oneLiner",
"imageUrl",
"totalTimeMins",
"servings",
"tags",
"appUrl",
"ingredients",
"method"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"method": {
"type": "array",
"items": {
"type": "string"
}
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"oneLiner": {
"type": [
"string",
"null"
]
},
"recipeId": {
"type": "string"
},
"servings": {
"type": [
"number",
"null"
]
},
"nutrition": {
"anyOf": [
{
"type": "object",
"required": [
"kcal",
"proteinG",
"carbsG",
"fatG",
"fibreG",
"coveragePercent"
],
"properties": {
"fatG": {
"type": [
"number",
"null"
]
},
"kcal": {
"type": [
"number",
"null"
]
},
"carbsG": {
"type": [
"number",
"null"
]
},
"fibreG": {
"type": [
"number",
"null"
]
},
"proteinG": {
"type": [
"number",
"null"
]
},
"coveragePercent": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"scaledFrom": {
"type": [
"number",
"null"
]
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"optional": {
"type": "boolean"
},
"quantity": {
"type": "number"
}
},
"additionalProperties": false
}
},
"scalingNote": {
"type": "string"
},
"nutritionNote": {
"type": "string"
},
"totalTimeMins": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get the full recipe",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Lists the items in the user's Chop it pantry (name, location, quantity, how full, expiry), the same pantry the app shows. Relevant when the user wants to cook from what they have or use things up; general dinner ideas don't need it. Live pantry data supersedes remembered or earlier details. Read-only. Requires a linked Chop it account.
No parameters.
{
"name": "get_pantry",
"title": "See what's in the pantry",
"description": "Lists the items in the user's Chop it pantry (name, location, quantity, how full, expiry), the same pantry the app shows. Relevant when the user wants to cook from what they have or use things up; general dinner ideas don't need it. Live pantry data supersedes remembered or earlier details. Read-only. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"items",
"total",
"appUrl",
"note"
],
"properties": {
"note": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"pantryItemId",
"canonicalName",
"name",
"location",
"quantity",
"unit",
"expiryDate",
"fullness"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": [
"string",
"null"
]
},
"fullness": {
"type": [
"string",
"null"
]
},
"location": {
"type": "string"
},
"quantity": {
"type": [
"number",
"null"
]
},
"expiryDate": {
"type": [
"string",
"null"
]
},
"pantryItemId": {
"type": "string"
},
"canonicalName": {
"type": "string"
}
},
"additionalProperties": false
}
},
"total": {
"type": "number"
},
"appUrl": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "See what's in the pantry",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Updates the user's Chop it pantry from what they've bought, have or used up: add items (topping up existing ones), remove by name, or change or remove exact rows by pantryItemId. On add, location places stock directly in pantry, fridge or freezer; only compatible items in that location are topped up. Omit unknown quantities or expiry dates rather than guessing. Read back before retrying a top-up, which is additive. An ambiguous item returns its candidates without changing that item; other unambiguous items in the request can still change. Staples such as salt, pepper and oil are skipped. Edits the same pantry the app shows. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| add | array | Items to add (or top up when already present). |
| remove | array | Ingredient names to remove; matched on the same canonical key the app uses. |
| update | array | Set fields on an exact row; quantity replaces rather than adds. |
| removeItemIds | array | Exact pantryItemIds from get_pantry to delete. Preferred for duplicate names. |
{
"name": "update_pantry",
"title": "Update the pantry",
"description": "Updates the user's Chop it pantry from what they've bought, have or used up: add items (topping up existing ones), remove by name, or change or remove exact rows by pantryItemId. On add, location places stock directly in pantry, fridge or freezer; only compatible items in that location are topped up. Omit unknown quantities or expiry dates rather than guessing. Read back before retrying a top-up, which is additive. An ambiguous item returns its candidates without changing that item; other unambiguous items in the request can still change. Staples such as salt, pepper and oil are skipped. Edits the same pantry the app shows. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"add": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Ingredient name, UK vocabulary (coriander, courgette, mince)."
},
"unit": {
"type": "string",
"description": "e.g. g, kg, ml, tins"
},
"location": {
"enum": [
"pantry",
"fridge",
"freezer"
],
"type": "string",
"description": "Use the location the user identifies. Omit only when unknown; then the usual storage location is inferred."
},
"quantity": {
"type": "number",
"exclusiveMinimum": 0
},
"expiryDate": {
"type": "string",
"description": "ISO date the item should be used by, if known."
}
},
"additionalProperties": false
},
"maxItems": 50,
"description": "Items to add (or top up when already present)."
},
"remove": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 50,
"description": "Ingredient names to remove; matched on the same canonical key the app uses."
},
"update": {
"type": "array",
"items": {
"type": "object",
"required": [
"pantryItemId"
],
"properties": {
"unit": {
"type": [
"string",
"null"
]
},
"fullness": {
"enum": [
"plenty",
"some",
"low"
],
"type": "string"
},
"location": {
"enum": [
"pantry",
"fridge",
"freezer"
],
"type": "string"
},
"quantity": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"pantryItemId": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"maxItems": 50,
"description": "Set fields on an exact row; quantity replaces rather than adds."
},
"removeItemIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 50,
"description": "Exact pantryItemIds from get_pantry to delete. Preferred for duplicate names."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"updated",
"ambiguities",
"added",
"merged",
"removed",
"notFound",
"skipped",
"total",
"appUrl",
"note"
],
"properties": {
"note": {
"type": "string"
},
"added": {
"type": "array",
"items": {
"type": "string"
}
},
"total": {
"type": "number"
},
"appUrl": {
"type": "string"
},
"merged": {
"type": "array",
"items": {
"type": "string"
}
},
"removed": {
"type": "array",
"items": {
"type": "string"
}
},
"skipped": {
"type": "array",
"items": {
"type": "string"
}
},
"updated": {
"type": "array",
"items": {
"type": "string"
}
},
"notFound": {
"type": "array",
"items": {
"type": "string"
}
},
"ambiguities": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"candidates"
],
"properties": {
"name": {
"type": "string"
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"pantryItemId",
"canonicalName",
"name",
"location",
"quantity",
"unit",
"expiryDate",
"fullness"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": [
"string",
"null"
]
},
"fullness": {
"type": [
"string",
"null"
]
},
"location": {
"type": "string"
},
"quantity": {
"type": [
"number",
"null"
]
},
"expiryDate": {
"type": [
"string",
"null"
]
},
"pantryItemId": {
"type": "string"
},
"canonicalName": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Update the pantry",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Accepts the proposed dinners, saves a Saved Week and makes it This Week in one call. Unchosen dinners use their first different matching choice; existing choices are preserved. Use when the person accepts the proposal, for example use these five. It replaces whatever week the user currently has set, so it suits an explicit request such as 'make this my week now', the person's acceptance is sufficient. save_week is the save that leaves This Week unchanged. Idempotent for the same draft. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| menuDraftId * | string | The menuDraftId returned by create_weekly_menu. |
{
"name": "save_menu",
"title": "Save and activate this week",
"description": "Accepts the proposed dinners, saves a Saved Week and makes it This Week in one call. Unchosen dinners use their first different matching choice; existing choices are preserved. Use when the person accepts the proposal, for example use these five. It replaces whatever week the user currently has set, so it suits an explicit request such as 'make this my week now', the person's acceptance is sufficient. save_week is the save that leaves This Week unchanged. Idempotent for the same draft. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"menuDraftId"
],
"properties": {
"menuDraftId": {
"type": "string",
"description": "The menuDraftId returned by create_weekly_menu."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"appUrl",
"message"
],
"properties": {
"appUrl": {
"type": "string"
},
"status": {
"enum": [
"saved",
"already_saved",
"expired",
"needs_account",
"failed"
],
"type": "string"
},
"message": {
"type": "string"
},
"recipeCount": {
"type": "number"
},
"savedCollectionId": {
"type": "string"
},
"activeCollectionId": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Save and activate this week",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Returns the dinners currently set as This Week in the user's Chop it app, with recipe links: the week they are cooking now. Answers 'what's for dinner tonight?' or 'what's on this week?' without planning anything new. Drafts and Saved Weeks do not change it. Returns shoppingListId for an existing matching owned snapshot, or a read-only week: reference for an app-created week without a chat draft. App-week reads use saved servings and current Pantry; browser-only ticks, extras and serving overrides are unavailable; read it with get_shopping_list for the latest revision, line IDs and Pantry coverage. A null ID with none/stale/unavailable status is not permission to create a list. Discovery never creates or refreshes shopping data. Read-only. Requires a linked Chop it account.
No parameters.
{
"name": "get_my_week",
"title": "See what I'm cooking this week",
"description": "Returns the dinners currently set as This Week in the user's Chop it app, with recipe links: the week they are cooking now. Answers 'what's for dinner tonight?' or 'what's on this week?' without planning anything new. Drafts and Saved Weeks do not change it. Returns shoppingListId for an existing matching owned snapshot, or a read-only week: reference for an app-created week without a chat draft. App-week reads use saved servings and current Pantry; browser-only ticks, extras and serving overrides are unavailable; read it with get_shopping_list for the latest revision, line IDs and Pantry coverage. A null ID with none/stale/unavailable status is not permission to create a list. Discovery never creates or refreshes shopping data. Read-only. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"shoppingListId",
"shoppingListStatus",
"activeCollectionId",
"recipeIds",
"unavailableRecipeIds",
"title",
"recipes",
"total",
"appUrl",
"message"
],
"properties": {
"title": {
"type": "string"
},
"total": {
"type": "number"
},
"appUrl": {
"type": "string"
},
"message": {
"type": "string"
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId",
"title",
"oneLiner",
"imageUrl",
"totalTimeMins",
"servings",
"tags",
"protein",
"plantCount",
"appUrl"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"isSweet": {
"type": "boolean"
},
"protein": {
"type": "array",
"items": {
"type": "string"
}
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"oneLiner": {
"type": [
"string",
"null"
]
},
"recipeId": {
"type": "string"
},
"servings": {
"type": [
"number",
"null"
]
},
"nutrition": {
"anyOf": [
{
"type": "object",
"required": [
"kcal",
"proteinG",
"carbsG",
"fatG",
"fibreG",
"coveragePercent"
],
"properties": {
"fatG": {
"type": [
"number",
"null"
]
},
"kcal": {
"type": [
"number",
"null"
]
},
"carbsG": {
"type": [
"number",
"null"
]
},
"fibreG": {
"type": [
"number",
"null"
]
},
"proteinG": {
"type": [
"number",
"null"
]
},
"coveragePercent": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"plantCount": {
"type": [
"number",
"null"
]
},
"totalTimeMins": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
},
"recipeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"shoppingListId": {
"type": [
"string",
"null"
],
"description": "Owned shopping reference for these dinners. week: references derive read-only requirements from the app week; browser-only ticks, extras and serving overrides are unavailable. Read with get_shopping_list; never create during discovery."
},
"activeCollectionId": {
"type": [
"string",
"null"
]
},
"shoppingListStatus": {
"enum": [
"none",
"available",
"stale",
"unavailable"
],
"type": "string"
},
"unavailableRecipeIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "See what I'm cooking this week",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}For a user-requested food photo, use the chat host’s own image tool and then attach its actual file with recipeId and photo only. Attachment costs no Chop it credits and changes only the photo; never call a paid generation/import route or invent a file URL. Reviews changes to 1–20 recipes with action preview and changes; read every library page first for whole-library work. mode update tidies only titles, descriptions and tags. mode copy creates separate private recipes, protecting originals and all existing plans. Adaptations need complete ingredients and steps together, including serving changes; preserve optional garnishes. Show the exact preview, then action apply with changeSetId and confirmed true only after user approval. Retry the same ID to recover its receipt; never create a fresh batch after an uncertain write. Conflicts change nothing and require a fresh review. Metadata-only batches support confirmed undo for 24 hours if unchanged; undo never deletes copies. Omitting action retains the immediate single-recipe edit for an explicitly requested change to an original. Copies and reviews make no AI call or credit debit. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| tags | array | |
| photo | object | Attach the user's chosen or chat-generated food photo to this owned recipe, with no Chop it credit charge. Send recipeId and photo only, not batch actions or text edits. Use the actual file supplied by the host; never invent a download URL. |
| steps | array | Replaces the WHOLE method — send every step, not only the changed ones. |
| title | string | New title, plain title case, no marketing words. |
| action | string | Preview a bounded batch or separate recipe copies, then apply its changeSetId only after the user approves. Undo a metadata batch only while its results are unchanged. Omit for the existing single-recipe edit. |
| changes | array | Exact recipes and complete requested changes. Update permits only title, description and tags. Culinary changes use copy, preserving every original recipe and plan. Collect the full library before proposing batches. |
| recipeId | string | Id of one of the user's own saved recipes (from list_saved_recipes). |
| servings | integer | New serving count. |
| confirmed | boolean | True only after the user approves the displayed preview or undo. A preview itself grants no permission. |
| changeSetId | string | |
| description | string | New one-sentence description of the finished dish. |
| cookTimeMins | integer | |
| prepTimeMins | integer | |
| finishingTouch | string | One vivid sentence describing the plated dish. |
| ingredientSections | array | Replaces the WHOLE ingredient list — send every ingredient, not only the changed ones. |
{
"name": "update_recipe",
"title": "Review or edit my recipes",
"description": "For a user-requested food photo, use the chat host’s own image tool and then attach its actual file with recipeId and photo only. Attachment costs no Chop it credits and changes only the photo; never call a paid generation/import route or invent a file URL. Reviews changes to 1–20 recipes with action preview and changes; read every library page first for whole-library work. mode update tidies only titles, descriptions and tags. mode copy creates separate private recipes, protecting originals and all existing plans. Adaptations need complete ingredients and steps together, including serving changes; preserve optional garnishes. Show the exact preview, then action apply with changeSetId and confirmed true only after user approval. Retry the same ID to recover its receipt; never create a fresh batch after an uncertain write. Conflicts change nothing and require a fresh review. Metadata-only batches support confirmed undo for 24 hours if unchanged; undo never deletes copies. Omitting action retains the immediate single-recipe edit for an explicitly requested change to an original. Copies and reviews make no AI call or credit debit. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"photo": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string",
"maxLength": 512,
"minLength": 1
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"format": "uri"
}
},
"description": "Attach the user's chosen or chat-generated food photo to this owned recipe, with no Chop it credit charge. Send recipeId and photo only, not batch actions or text edits. Use the actual file supplied by the host; never invent a download URL.",
"additionalProperties": false
},
"steps": {
"type": "array",
"items": {
"type": "string",
"minLength": 3
},
"minItems": 1,
"description": "Replaces the WHOLE method — send every step, not only the changed ones."
},
"title": {
"type": "string",
"minLength": 2,
"description": "New title, plain title case, no marketing words."
},
"action": {
"enum": [
"preview",
"apply",
"undo"
],
"type": "string",
"description": "Preview a bounded batch or separate recipe copies, then apply its changeSetId only after the user approves. Undo a metadata batch only while its results are unchanged. Omit for the existing single-recipe edit."
},
"changes": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipeId"
],
"properties": {
"mode": {
"enum": [
"update",
"copy"
],
"type": "string",
"default": "copy"
},
"tags": {
"$ref": "#/properties/tags"
},
"steps": {
"$ref": "#/properties/steps"
},
"title": {
"$ref": "#/properties/title"
},
"recipeId": {
"$ref": "#/properties/recipeId"
},
"servings": {
"$ref": "#/properties/servings"
},
"description": {
"$ref": "#/properties/description"
},
"cookTimeMins": {
"$ref": "#/properties/cookTimeMins"
},
"prepTimeMins": {
"$ref": "#/properties/prepTimeMins"
},
"finishingTouch": {
"$ref": "#/properties/finishingTouch"
},
"ingredientSections": {
"$ref": "#/properties/ingredientSections"
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Exact recipes and complete requested changes. Update permits only title, description and tags. Culinary changes use copy, preserving every original recipe and plan. Collect the full library before proposing batches."
},
"recipeId": {
"type": "string",
"description": "Id of one of the user's own saved recipes (from list_saved_recipes)."
},
"servings": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "New serving count."
},
"confirmed": {
"type": "boolean",
"description": "True only after the user approves the displayed preview or undo. A preview itself grants no permission."
},
"changeSetId": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"description": {
"type": "string",
"description": "New one-sentence description of the finished dish."
},
"cookTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"prepTimeMins": {
"type": "integer",
"exclusiveMinimum": 0
},
"finishingTouch": {
"type": "string",
"description": "One vivid sentence describing the plated dish."
},
"ingredientSections": {
"type": "array",
"items": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Ingredient name, UK vocabulary (coriander, courgette, mince)."
},
"notes": {
"type": "string",
"description": "Prep notes, e.g. 'finely sliced'."
},
"optional": {
"type": "boolean",
"description": "True for a garnish or 'to serve' accompaniment: kept off the shopping list and out of nutrition scoring. Leave unset if unsure."
},
"quantity": {
"type": "string",
"description": "Metric quantity as text, e.g. '500 g', '2 tbsp', '1 large'."
}
},
"additionalProperties": false
},
"minItems": 1
},
"title": {
"type": "string",
"description": "Section label, e.g. 'The crispy chicken' or 'To serve'."
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Replaces the WHOLE ingredient list — send every ingredient, not only the changed ones."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"message"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"sourceRecipeId",
"recipeId",
"mode",
"title",
"changes",
"warnings",
"appUrl"
],
"properties": {
"mode": {
"enum": [
"update",
"copy"
],
"type": "string"
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"changes": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"before",
"after"
],
"properties": {
"after": {
"type": "string"
},
"field": {
"type": "string"
},
"before": {
"type": "string"
}
},
"additionalProperties": false
}
},
"recipeId": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceRecipeId": {
"type": "string"
}
},
"additionalProperties": false
}
},
"title": {
"type": "string"
},
"appUrl": {
"type": "string"
},
"status": {
"enum": [
"updated",
"not_found",
"catalogue_recipe",
"preview",
"applied",
"undone",
"conflict",
"needs_revision"
],
"type": "string"
},
"canUndo": {
"type": "boolean"
},
"message": {
"type": "string"
},
"recipeId": {
"type": "string"
},
"replayed": {
"type": "boolean"
},
"expiresAt": {
"type": "string"
},
"changeSetId": {
"type": "string"
},
"updatedFields": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Review or edit my recipes",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Permanently deletes one of the user's own saved recipes, such as a duplicate or a bad import. It cannot be undone, so it suits a request where the user has confirmed which recipe to delete. Catalogue recipes can't be deleted. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| recipeId * | string | Id of one of the user's own saved recipes (from list_saved_recipes). |
{
"name": "delete_recipe",
"title": "Remove a recipe from my library",
"description": "Permanently deletes one of the user's own saved recipes, such as a duplicate or a bad import. It cannot be undone, so it suits a request where the user has confirmed which recipe to delete. Catalogue recipes can't be deleted. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"recipeId"
],
"properties": {
"recipeId": {
"type": "string",
"description": "Id of one of the user's own saved recipes (from list_saved_recipes)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"message"
],
"properties": {
"title": {
"type": "string"
},
"status": {
"enum": [
"deleted",
"not_found",
"catalogue_recipe"
],
"type": "string"
},
"message": {
"type": "string"
},
"recipeId": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Remove a recipe from my library",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Returns the account's food preferences, the same record the app's Food preferences settings show: the diet (none, vegetarian, vegan or pescatarian), the foods to avoid (fourteen common foods such as milk, eggs, peanuts or gluten) and dislikes (other foods the household doesn't eat). Every planning, search and recipe tool applies these on each call. Read-only. Requires a linked Chop it account.
No parameters.
{
"name": "get_food_preferences",
"title": "See food preferences",
"description": "Returns the account's food preferences, the same record the app's Food preferences settings show: the diet (none, vegetarian, vegan or pescatarian), the foods to avoid (fourteen common foods such as milk, eggs, peanuts or gluten) and dislikes (other foods the household doesn't eat). Every planning, search and recipe tool applies these on each call. Read-only. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"diet",
"foodsToAvoid",
"dislikes",
"summary"
],
"properties": {
"diet": {
"enum": [
"none",
"vegetarian",
"vegan",
"pescatarian"
],
"type": "string"
},
"summary": {
"type": "string"
},
"dislikes": {
"type": "array",
"items": {
"type": "string"
}
},
"foodsToAvoid": {
"type": "array",
"items": {
"enum": [
"milk",
"eggs",
"fish",
"crustaceans",
"molluscs",
"peanuts",
"tree nuts",
"sesame",
"soya",
"gluten",
"celery",
"mustard",
"lupin",
"sulphites"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "See food preferences",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Overwrites the supplied account food preferences: diet, foods to avoid and dislikes, in plain words. Omitted fields keep their current value; a supplied list replaces that list whole, so a change to one item is sent as the full updated list (get_food_preferences gives the current one). Returns the saved preferences. They apply to the next planning, search or recipe call on every surface: recipes that use these foods are left out. Chop it leaves out the foods a person chooses but is not built for managing allergies, and never describes a recipe, plan or list as safe for one. Idempotent. Requires a linked Chop it account.
| Parameter | Type | Description |
|---|---|---|
| diet | string | The whole-week diet. Omit to keep the current one. |
| dislikes | array | The complete list of other foods the household doesn't eat, in plain words ('mushrooms', 'coriander'). Omit to keep the current list; pass [] to clear it. |
| foodsToAvoid | array | The complete list of the fourteen common foods to leave out; recipes using them are left out. Omit to keep the current list; pass [] to clear it. |
{
"name": "update_food_preferences",
"title": "Change food preferences",
"description": "Overwrites the supplied account food preferences: diet, foods to avoid and dislikes, in plain words. Omitted fields keep their current value; a supplied list replaces that list whole, so a change to one item is sent as the full updated list (get_food_preferences gives the current one). Returns the saved preferences. They apply to the next planning, search or recipe call on every surface: recipes that use these foods are left out. Chop it leaves out the foods a person chooses but is not built for managing allergies, and never describes a recipe, plan or list as safe for one. Idempotent. Requires a linked Chop it account.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"diet": {
"enum": [
"none",
"vegetarian",
"vegan",
"pescatarian"
],
"type": "string",
"description": "The whole-week diet. Omit to keep the current one."
},
"dislikes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"maxItems": 50,
"description": "The complete list of other foods the household doesn't eat, in plain words ('mushrooms', 'coriander'). Omit to keep the current list; pass [] to clear it."
},
"foodsToAvoid": {
"type": "array",
"items": {
"enum": [
"milk",
"eggs",
"fish",
"crustaceans",
"molluscs",
"peanuts",
"tree nuts",
"sesame",
"soya",
"gluten",
"celery",
"mustard",
"lupin",
"sulphites"
],
"type": "string"
},
"maxItems": 14,
"description": "The complete list of the fourteen common foods to leave out; recipes using them are left out. Omit to keep the current list; pass [] to clear it."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"diet",
"foodsToAvoid",
"dislikes",
"summary"
],
"properties": {
"diet": {
"enum": [
"none",
"vegetarian",
"vegan",
"pescatarian"
],
"type": "string"
},
"summary": {
"type": "string"
},
"dislikes": {
"type": "array",
"items": {
"type": "string"
}
},
"foodsToAvoid": {
"type": "array",
"items": {
"enum": [
"milk",
"eggs",
"fish",
"crustaceans",
"molluscs",
"peanuts",
"tree nuts",
"sesame",
"soya",
"gluten",
"celery",
"mustard",
"lupin",
"sulphites"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Change food preferences",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Used by the Chop it widget itself to load screens. Never call this; it returns nothing useful in chat.
No parameters.
{
"name": "get_widget_session",
"title": "Widget session",
"description": "Used by the Chop it widget itself to load screens. Never call this; it returns nothing useful in chat.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"signedIn"
],
"properties": {
"token": {
"type": "string"
},
"userId": {
"type": "string"
},
"signedIn": {
"type": "boolean"
},
"expiresAt": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Widget session",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Chop it is a UK meal-planning app. It plans a week of dinners from 1,000+ tested recipes, turns them into one shopping list, keeps a pantry, and saves recipes from links, photos or ideas into the user's library. Speak as a friendly cook would: say your week, these dinners, your shopping list. Words such as draft, slot, candidate, selected, unselected, activate, menuDraftId and tool names are internal and stay out of replies. Ordinary tools return structured data for natural chat answers, without opening a screen. open_chopit is the separate launcher for explicit app-opening requests, with a view for This Week, Saved Weeks, recipes, pantry, shopping or meal planning. It offers a browser link where embedding is disabled. Recipe names in replies are plain text, not links to the website: when someone wants to see a recipe, open_chopit with its recipeId shows it here in the chat, and an appUrl is for when they ask for a link to share or open in a browser. Read-only suggestions: questions about nutrition or two possible swaps use the exact current week from get_my_week, get_recipe for its ingredients and credible nutrition, and bounded catalogue or saved-library searches for replacements. Suggestions do not create, revise, save, activate or shop a draft. Missing nutrition and portions remain unknown; analyse_recipe_selection calculates the exact current or proposed selection through the existing scoring engine without creating a draft; otherwise a changed score is unavailable or a clearly labelled estimate. An approved swap uses the existing draft/revision workflow and preserves other dinners; automatically saved plans follow the current-week rule below. How the tools fit together: Planning: create_weekly_menu is the main entry point for broad requests and stated mixes alike; a broad request uses the balanced default adapted to food rules. prepare_weekly_menu remains an optional mix chooser for compatibility, rather than a required planning step. A plan offers up to five choices per dinner. For a linked account with no This Week, create_weekly_menu takes the first different choice for each dinner, saves it and makes it their week. Say plainly that these dinners are now their week in the app when the result note confirms it. For an account with a week, present the proposal; use save_menu once when they say use these, without a separate selection or activation turn or another confirmation. revise_weekly_menu records individual choices and changes. Conversation is the default selection experience: structured results contain the recipe choices, and revise_weekly_menu persists conversational choices without rebuilding the plan. The explicitly opened app makes its own tool calls (building from the chooser, Choose, Save week, Shop); those calls show their result in the widget and can appear in the conversation without a text result; a missing text result says nothing about the outcome, the widget state or get_menu_draft does. Edits to the same draft form a sequence: each response supplies the new menuDraftId for the next edit. Parallel edits against the same revision conflict; after a conflict get_menu_draft resolves the latest state before retrying only the unapplied change. The newest menuDraftId, from tool results or widget state, is the draft to save or shop; get_menu_draft reads it. Saving: a new plan becomes This Week automatically only when the account has no week; a guest plan does the same on the first linked call that resumes it. After linking, resume the exact menuDraftId with get_menu_draft if this is a new session. Swaps to an automatically saved plan update that same live week while it is still current and unedited in the app, without duplicate Saved Weeks. Otherwise, use save_menu for an accepted proposal in one step. save_week stores a completed draft as a Saved Week and leaves This Week alone; set_this_week makes a Saved Week the current week; save_menu accepts proposed choices and saves and makes them This Week together;
Names, descriptions and schemas were written by the server and are shown as data.