Ret opskrift
update_recipeUse this when the user wants to change one of their own Goma recipes (ret opskrift): title, description, servings, times, category, ingredients, instructions or whether it is public. Only the fields included change; ingredients and instructions each replace the whole list.
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": {
"recipeId": "<recipeId>"
},
"name": "update_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| isPublic | No | False when the user wants the recipe private, true to publish it. Imported recipes with a source stay public. | |
| recipeId | Yes | The user's own recipe, from create_recipe or another earlier result. | |
| servings | No | ||
| description | No | ||
| ingredients | No | The complete new ingredient list; replaces the current one. | |
| instructions | No | The complete new steps; replace the current ones. | |
| mainCategory | No | ||
| workTimeMinutes | No | ||
| totalTimeMinutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The recipe's page on goma.gg, or Dine opskrifter for a private recipe. | |
| title | Yes | ||
| imageUrl | Yes | The recipe's photo; a new recipe has none. | |
| isPublic | Yes | ||
| recipeId | Yes | ||
| servings | Yes | ||
| ingredients | Yes | ||
| instructions | Yes | ||
| totalTimeMinutes | Yes |