Sabor

v0.5.0
io.github.JlMoreno00/sabor Checked 2 days ago Published 3 days ago

Recipes, meal plans and shopping lists with SQLite by default; Mealie and Postgres optional.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_recipes

Search recipes by stable filter IDs with upstream pagination; sort by name.

ParameterTypeDescription
category_ids
cookbook_id
directionstring
food_ids
pageinteger
per_pageinteger
querystring
require_allboolean
sortstring
tag_ids
tool_ids

get_recipe

Read structured ingredients, instructions, taxonomy and times; unknowns stay null.

ParameterTypeDescription
slug *string

update_recipe

Preview or PATCH selected fields. Arrays replace whole lists, not individual entries.

ParameterTypeDescription
patch *object
slug *string
confirmboolean

suggest_recipes

Suggest recipes from food/tool IDs, preserving missing foods and tools.

ParameterTypeDescription
foods *array
include_foods_on_handboolean
limitinteger
max_missing_foodsinteger
max_missing_toolsinteger
tools

create_recipe

Create a recipe in Mealie using structured fields, not URL import.

ParameterTypeDescription
name *string
description
ingredients
instructions
recipe_yield
source_url
tags
total_time

import_recipe

Preview or import a recipe from a web page URL; Sabor uses no AI provider. A video URL, or an absolute path to a local video file when Sabor runs on the user's machine, returns its metadata, subtitles and frames (on stdio also as files) and writes no recipe: read the recipe from them, then save it with create_recipe. For text or images, read the recipe yourself and save it with create_recipe.

ParameterTypeDescription
source *string
dry_runboolean
kindstring
languagestring
max_recipesinteger
min_confidencenumber

get_shopping_lists

Devuelve todas las listas de compra del hogar con sus IDs y nombres.

create_shopping_list

Crea una nueva lista de compra vacia con el nombre indicado.

ParameterTypeDescription
name *string

delete_shopping_list

Preview deletion of a shopping list; pass confirm=True to delete it permanently.

ParameterTypeDescription
list_id *string
confirmboolean

clear_shopping_list

Preview removal of all shopping items; pass confirm=True to clear the list.

ParameterTypeDescription
list_id *string
confirmboolean

get_or_create_shopping_list

Busca una lista de compra por nombre; si no existe, la crea. Devuelve siempre el ID.

ParameterTypeDescription
name *string

add_to_shopping_list

Add exactly one source to a list. The client must get user approval before calling. Items remain unparsed notes; recipe scaling uses the explicit servings multiplier. With subtract_pantry, items the structured pantry covers in full are marked as bought.

ParameterTypeDescription
list_id *string
items
mealplan_end
mealplan_start
recipe_slugs
servings_multipliernumber
subtract_pantryboolean

get_shopping_list_items

Read one list's items, optionally filter checked state, then paginate locally.

ParameterTypeDescription
list_id *string
checked
pageinteger
per_pageinteger

check_shopping_list_items

Set checked state only after verifying every requested item belongs to the list.

ParameterTypeDescription
item_ids *array
list_id *string
checkedboolean

remove_shopping_list_items

Preview item removal; confirm=True deletes exactly the verified item IDs.

ParameterTypeDescription
item_ids *array
list_id *string
confirmboolean

get_mealplan_week

Obtiene el plan de comidas para un rango de fechas (YYYY-MM-DD).

ParameterTypeDescription
end_date *string
start_date *string

set_mealplan_entry

Anade una entrada al calendario de Mealie. entry_type: lunch|dinner|breakfast|side.

ParameterTypeDescription
date_str *string
entry_type *string
title *string
recipe_slug

delete_mealplan_entry

Elimina una entrada del plan de comidas por su ID.

ParameterTypeDescription
entry_id *string

clear_mealplan_week

Preview entries removed in a date range; pass confirm=True to clear them.

ParameterTypeDescription
end_date *string
start_date *string
confirmboolean

get_or_create_tag

Busca un tag por nombre (case-insensitive); si no existe, lo crea.

ParameterTypeDescription
name *string

tag_recipe

Asigna etiquetas a una receta. Conserva tags existentes y anade los nuevos.

ParameterTypeDescription
slug *string
tags *array

add_recipe_comment

Anade un comentario a una receta en Mealie (rating, notas, feedback).

ParameterTypeDescription
slug *string
text *string

log_cooking_event

Registra un evento en el timeline de una receta (cooking log / historial).

ParameterTypeDescription
slug *string
subject *string
message

sabor_capabilities

Describe configured toolsets and the actual registered tool surface.