validate_guided_recipe_structure
Validate a complete custom recipe with guided-cooking annotations, ensuring TTS, MODE, and INGREDIENT steps follow Cookidoo's exact request schema to prevent structural errors in your recipe.
Instructions
Validate a complete custom recipe, including guided-cooking annotations.
Step annotations use Cookidoo's exact request schema:
TTS: manual time, temperature, speed, and direction
MODE: Dough, Blend, Turbo, Warm Up, Rice Cooker, Steaming, or Browning
INGREDIENT: a linked ingredient for on-device weighing
INGREDIENT annotations must be in ingredient-only steps. TTS and MODE annotations belong in following, separate machine-action steps.
Every annotation position is a zero-based JavaScript UTF-16 range into its enclosing step text. VOLUME positions use their enclosing ingredient text. Use calculate_annotation_position instead of normal Python string indexes.
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": {
"recipe_json": "<recipe_json>"
},
"name": "validate_guided_recipe_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |