Generate recipe cards
generate_recipe_cardsUse this when the user wants printable recipe cards ("recipe card", "recipe cards printable", "4x6 recipe card", "recipe card template", "3x5 recipe cards", "print my recipe on a card") or wants a recipe doubled, halved or scaled to a number of servings for printing. If the user pastes or uploads a recipe (text, a web page or a photo of a card), first copy its title, servings, ingredient lines and steps into recipes, keeping amounts as written, then call. Builds a PDF of 4x6, 3x5, 5x7, half-letter or A6 cards, up to 4 per Letter or A4 sheet with cut lines or one per page, scales amounts with fractions kept as fractions, converts units only when asked, and continues long recipes on a second card instead of shrinking text below 8 pt. Returns the scaled ingredient lines, card counts and a PDF link. Does not find or invent recipes, does not compute nutrition, and does not change cooking times.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_recipe_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Optional footer name, printed as "From the kitchen of <name>", e.g. "Grandma Rose". | |
| color | No | Accent colour: hex like #C2410C or a name (terracotta, red, rose, berry, purple, blue, navy, teal, green, sage, olive, mustard, brown, slate, black). Default terracotta. | |
| paper | No | letter (default; 2 to 4 cards per sheet with cut lines), a4, or card (one card per page at true size, for card stock). Default a4 for A6 cards. | |
| scale | No | Scale every recipe by this factor instead: 2 (double), 0.5 (half), 1.5 or "3/4". Amounts stay fractions, e.g. 3/4 cup x 2 = 1 1/2 cups. | |
| steps | No | Only when sending one recipe without the recipes list: its steps. | |
| title | No | Only when sending one recipe without the recipes list: its name. | |
| units | No | keep (default, amounts as written), metric (ml, l, g, kg) or us (cups, tbsp, tsp, oz, lb). Converts volume to volume and weight to weight only. | |
| recipes | No | The recipes, one object each with title, servings, ingredients and steps. If the user pasted or photographed a recipe, copy its title, servings, ingredient lines and steps into these fields first; keep amounts exactly as written. | |
| scale_to | No | Same as servings: the target number of servings, e.g. 12. | |
| servings | No | Scale every recipe to this many servings, e.g. 12. Each recipe needs its own servings to scale from. | |
| card_size | No | 4x6 (default), 3x5, 5x7, half-letter (5.5x8.5 in) or a6. | |
| ingredients | No | Only when sending one recipe without the recipes list: its ingredient lines. | |
| orientation | No | landscape (default for 4x6, 3x5, 5x7) or portrait (default for half-letter and A6). | |
| recipe_text | No | Fallback: a whole recipe pasted as plain text (title on the first line, then Ingredients and Instructions sections). Use recipes when you can. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| notes | Yes | ||
| paper | Yes | ||
| units | Yes | ||
| accent | Yes | ||
| inputs | Yes | ||
| recipes | Yes | ||
| card_size | Yes | ||
| downloads | Yes | ||
| card_count | Yes | ||
| page_count | Yes | ||
| card_inches | Yes | ||
| orientation | Yes | ||
| recipes_count | No | ||
| cards_per_page | Yes |