Tilføj billede til opskrift
set_recipe_imageUse this when the user wants a photo on one of their own Goma recipes, e.g. an image they uploaded in the chat or one created in the conversation. Goma stores it as the recipe's photo, replacing any earlier one, and returns the recipe card. Needs the recipeId from create_recipe, get_my_recipes or another earlier result.
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>",
"image": "<image>"
},
"name": "set_recipe_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | The image file: JPEG, PNG or WebP, at most 10 MB. | |
| recipeId | Yes | The user's own recipe. |
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 stored photo. | |
| isPublic | Yes | ||
| recipeId | Yes |