Add a Community recipe
add_library_recipeCopy a recipe from the community library into your household, optionally marking it a favorite. Returns the household copy ID for voting.
Instructions
Copy a recipe from Community recipes (search_recipes with scope 'library') into this household. Pass favorite: true to also mark it a favorite. Returns the household's copy; use its id on ballots. Passing a library id straight to propose_recipes or add_candidates does the same copy automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| favorite | No | Default false | |
| recipe_id | Yes | Library recipe id from search_recipes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| tags | No | ||
| steps | No | ||
| title | Yes | ||
| ratings | No | ||
| servings | No | ||
| image_url | No | ||
| is_public | No | ||
| avg_rating | No | ||
| created_at | No | ||
| public_url | No | Indexable public page, when published | |
| source_url | No | ||
| description | No | ||
| ingredients | No | ||
| is_favorite | No | ||
| image_generated | No | Photo was generated by Agent Chef, so it is safe to show publicly | |
| source_recipe_id | No | Set when this is the household's copy of a Community recipe |