{"openapi":"3.1.0","info":{"title":"Tiny Plates (BYOK) API","version":"0.1.0","description":"Tiny Plates (BYOK) lets an AI assistant read your own Tiny Plates data through the Tiny Plates API with a key you supply (Tiny Plates API key (starts with rd_)). Read-only: 9 tools (search_recipes, list_popular_recipes, get_recipe, find_recipes_from_pantry, build_shopping_list, get_ingredient_substitutions, list_ingredients, get_vocabularies, list_recipes). The BYOK key travels with each request,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-tinyplates.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-tinyplates/docs"},"termsOfService":"https://connectorbay.com/byok-tinyplates/terms"},"servers":[{"url":"https://byok-tinyplates.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-tinyplates/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/search_recipes":{"post":{"operationId":"search_recipes","summary":"Search recipes by meaning as well as wording across names, ingredients and descriptions. Returns the best matches with a","description":"Search recipes by meaning as well as wording across names, ingredients and descriptions. Returns the best matches with a relevance score (only comparable inside one answer). Free accounts have 50 requests a day. Use for \"Find a creamy pasta recipe without nuts\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"What to search for, for example 'creamy pasta'.","maxLength":200,"title":"Query","type":"string"},"language":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Only recipes written in this language, as a two-letter ISO 639-1 code such as en, es or sv.","title":"Language"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 50).","title":"Limit"},"without":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated allergen ids (from get_vocabularies, for example 'milk,peanuts') to exclude; only recipes known not to contain any of them are returned. Informational, not medical advice.","title":"Without"}},"required":["query"],"title":"search_recipesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_popular_recipes":{"post":{"operationId":"list_popular_recipes","summary":"List the best-loved recipes, ranked by rating and number of ratings, with title, source link, times, servings, rating an","description":"List the best-loved recipes, ranked by rating and number of ratings, with title, source link, times, servings, rating and dietary flags, plus the total count. Use for \"What are the most popular recipes\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"language":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Only recipes written in this language, as a two-letter ISO 639-1 code such as en, es or sv.","title":"Language"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many recipes to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many recipes to skip; use with limit to page.","title":"Offset"}},"title":"list_popular_recipesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_recipe":{"post":{"operationId":"get_recipe","summary":"Get one recipe by id with plain-text ingredient and step lines, times, servings, rating, dietary flags, nutrition and th","description":"Get one recipe by id with plain-text ingredient and step lines, times, servings, rating, dietary flags, nutrition and the source link. Quantities can be rescaled to a serving count or converted to metric or imperial. Use for \"Show me recipe 6a9820a88f8122ec891b680b for 4 servings in metric\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"recipe_id":{"description":"Recipe id, from search_recipes, list_popular_recipes or find_recipes_from_pantry.","maxLength":64,"title":"Recipe Id","type":"string"},"servings":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Rescale every quantity for this many servings (1 to 100). Fails for a recipe that does not say what it makes.","title":"Servings"},"units":{"anyOf":[{"enum":["metric","imperial"],"type":"string"},{"type":"null"}],"default":null,"description":"Rewrite amounts and oven temperatures in this unit system.","title":"Units"}},"required":["recipe_id"],"title":"get_recipeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/find_recipes_from_pantry":{"post":{"operationId":"find_recipes_from_pantry","summary":"Rank recipes by how much of them the given ingredients already cover, listing which ingredients match, which are missing","description":"Rank recipes by how much of them the given ingredients already cover, listing which ingredients match, which are missing and which staples are assumed on hand. Use for \"What can I cook with chicken, rice and onion\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ingredients":{"description":"Ingredients on hand: 1 to 20 comma-separated names or canonical ids, for example 'chicken,rice,onion'.","maxLength":1600,"title":"Ingredients","type":"string"},"max_missing":{"anyOf":[{"maximum":20,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only recipes missing at most this many ingredients (0 to 20); 0 means cookable right now.","title":"Max Missing"},"staples":{"anyOf":[{"enum":["true","false"],"type":"string"},{"type":"null"}],"default":null,"description":"Whether salt, pepper, water, oil, sugar and flour count as on hand: true (default) or false.","title":"Staples"},"without":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated allergen ids (from get_vocabularies, for example 'milk,peanuts') to exclude; only recipes known not to contain any of them are returned. Informational, not medical advice.","title":"Without"},"language":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Only recipes written in this language, as a two-letter ISO 639-1 code such as en, es or sv.","title":"Language"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many recipes to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many recipes to skip; use with limit to page.","title":"Offset"}},"required":["ingredients"],"title":"find_recipes_from_pantryArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/build_shopping_list":{"post":{"operationId":"build_shopping_list","summary":"Combine several recipes, each with an optional serving count, into one shopping list grouped by aisle with shared ingred","description":"Combine several recipes, each with an optional serving count, into one shopping list grouped by aisle with shared ingredient amounts added together. Use for \"Make a shopping list for two recipes\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"recipes":{"description":"1 to 20 comma-separated recipe ids, each optionally followed by ':' and the servings to cook, for example '6a98...:4,6a99...:2'.","maxLength":1000,"title":"Recipes","type":"string"}},"required":["recipes"],"title":"build_shopping_listArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_ingredient_substitutions":{"post":{"operationId":"get_ingredient_substitutions","summary":"Look up what can replace each given ingredient, with the ratio to use, a usage note and cautions; ingredients with no kn","description":"Look up what can replace each given ingredient, with the ratio to use, a usage note and cautions; ingredients with no known swap are listed as unknown. Use for \"What can I use instead of butter\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ingredients":{"description":"1 to 20 comma-separated ingredient names or canonical ids to replace, for example 'butter,buttermilk'.","maxLength":1600,"title":"Ingredients","type":"string"}},"required":["ingredients"],"title":"get_ingredient_substitutionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_ingredients":{"post":{"operationId":"list_ingredients","summary":"List the canonical ingredient vocabulary, most used first, with the name in each language and how many recipes use it. U","description":"List the canonical ingredient vocabulary, most used first, with the name in each language and how many recipes use it. Use for \"Which ingredients appear in the most recipes\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many ingredients to return (1 to 500).","title":"Limit"}},"title":"list_ingredientsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_vocabularies":{"post":{"operationId":"get_vocabularies","summary":"Get the closed lists recipes are classified with: allergen ids, courses, cuisines, diets and units. Use these values in ","description":"Get the closed lists recipes are classified with: allergen ids, courses, cuisines, diets and units. Use these values in other tools' filters. Use for \"Which cuisines and diets can I filter recipes by\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_vocabulariesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_recipes":{"post":{"operationId":"list_recipes","summary":"Page through the recipe database, filtered by cuisine, course, category, diet, ingredient, language or total time. Needs","description":"Page through the recipe database, filtered by cuisine, course, category, diet, ingredient, language or total time. Needs the Business plan. Use for \"List vegetarian Italian recipes that take under 30 minutes\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cuisine":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"One cuisine slug from get_vocabularies, for example 'italian'.","title":"Cuisine"},"course":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"One course slug from get_vocabularies, for example 'dinner'.","title":"Course"},"diet":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"One diet slug from get_vocabularies; only recipes known to suit it are returned.","title":"Diet"},"category":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"One category slug, for example 'pasta'.","title":"Category"},"ingredient":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"One canonical ingredient id the recipe must use, for example 'chicken-thigh'.","title":"Ingredient"},"max_total_minutes":{"anyOf":[{"maximum":10080,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only recipes whose total time is at most this many minutes.","title":"Max Total Minutes"},"language":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Only recipes written in this language, as a two-letter ISO 639-1 code such as en, es or sv.","title":"Language"},"without":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated allergen ids (from get_vocabularies, for example 'milk,peanuts') to exclude; only recipes known not to contain any of them are returned. Informational, not medical advice.","title":"Without"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many recipes to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many recipes to skip; use with limit to page.","title":"Offset"}},"title":"list_recipesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}