Opret opskrift
create_recipeUse this when the user asks to create or save a recipe of their own in Goma (opret opskrift), e.g. one written in the conversation; not for copying recipes from websites or cookbooks. Goma's recipes are in Danish, and ingredients with an amount and unit can be matched to products in the shops and priced. The recipe is public on Goma, as in the Goma app, unless the user asks to keep it private.
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": {
"title": "<title>",
"ingredients": "<ingredients>"
},
"name": "create_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| isPublic | No | False only when the user asks to keep the recipe private; then only they see it, under Dine opskrifter. | |
| servings | No | ||
| description | No | ||
| ingredients | Yes | ||
| instructions | No | ||
| 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 |