Hent opskrift
get_recipeUse this when the user wants the ingredients or details of one recipe returned by search_recipes or suggest_meal_plan. Returns ingredients, servings, time and the method; when the source site keeps the method, instructions is empty and visitUrl links to the author's page.
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": "get_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipeId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The recipe's page on goma.gg. | |
| title | Yes | ||
| author | Yes | ||
| imageUrl | Yes | ||
| recipeId | Yes | ||
| servings | Yes | ||
| visitUrl | Yes | The author's page for the method, when the recipe has a source; else null. | |
| ingredients | Yes | ||
| instructions | Yes | Empty when visitUrl is set. | |
| totalTimeMinutes | Yes |