Adicionar receita
adicionar_receitaAdd a new recipe to the catalog by saving it to a JSON file, using a unique ID and rejecting duplicates to ensure data integrity.
Instructions
Cadastra uma nova receita (persistida em data/receitas.json). Falha se o id ja existir.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| fonte | No | ||
| imagem | No | ||
| titulo | Yes | ||
| porcoes | No | ||
| calorias | No | ||
| categoria | Yes | ||
| descricao | No | ||
| dificuldade | Yes | ||
| modoPreparo | Yes | ||
| ingredientes | Yes | ||
| tempoPreparo | No |