Add Recipe
add_recipeCreates a NEW recipe in your library only when the user explicitly asks to save/add it or taps Save in the recipe card. For a newly generated recipe the user has not chosen to keep, use display_recipe instead. Does not update existing recipes — to change a saved recipe use update_recipe. To make cooking-time tweaks use apply_recipe_patches. The server mints the stored import-* or ai-* recipe id; any caller-supplied recipe.id is treated only as source payload and is not used for upsert.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe | Yes | ||
| sourceUrl | No | ||
| sourceKind | No | ||
| idempotencyKey | No | Opaque client retry token. Reuse it only for retries of the same create request; otherwise omit it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||