Generate Recipe Structure
generate_recipe_structureBuild and validate a Cookidoo-ready recipe structure, including Thermomix-compatible settings, without changing anything on Cookidoo. Returns JSON for custom recipe upload or update.
Instructions
Generate and validate a recipe structure ready for upload to Cookidoo. Changes nothing on Cookidoo.
Returns a JSON structure to show to the user and then pass to upload_custom_recipe or update_custom_recipe. Thermomix settings are checked against what the target device supports (see get_thermomix_modes).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"ingredients": "<ingredients>",
"steps": "<steps>"
},
"name": "generate_recipe_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Recipe name (required) | |
| hints | No | Optional cooking tips, as a list (or one per line) | |
| steps | Yes | Cooking steps, as a list (or one per line). A step without machine settings or ingredient links is plain text. Otherwise it is an object whose text holds one {settings} placeholder per entry of settings; the server writes each setting into the text and presets it on the Thermomix. A setting's "mode" picks its fields (allowed values are in the schema): "manual" (default: time, temperature, speed, reverse), "dough", "browning", "steaming", "turbo", "rice_cooker", "warm_up", "blend". "ingredients" links words of the text to an ingredient line. Example: {"text": "Add the onion and sauté {settings}.", "settings": [{"time": 180, "temperature": "120", "speed": "1"}], "ingredients": [{"text": "the onion", "ingredient": "1 onion"}]} | |
| device | No | Target Thermomix, "TM5", "TM6" or "TM7". Default: the COOKIDOO_DEVICE setting, else the devices linked to the account (TM6 rules if a TM6 is among them), else TM6 | |
| servings | No | Number of servings (default: 4, range: 1-20) | |
| prep_time | No | Active preparation time in minutes (default: 30) | |
| total_time | No | Total time in minutes, at least prep_time (default: 60) | |
| ingredients | Yes | Ingredients with quantities, as a list (or one per line) |