{"tools":[{"name":"search","description":"Search Thali for dishes (by name, native name, other spelling, ingredient or theme), countries, cities, food days, ways of eating and glossary terms. Start here when unsure which tool fits.","parameters":{"type":"object","properties":{"query":{"type":"string","description":"For example \"biryani\", \"dumpling\", \"lentils\", \"Lent\", \"Oaxaca\", \"umami\""},"limit":{"type":"number","description":"1-30, default 10"}},"required":["query"],"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/search"},{"name":"get_dish","description":"The full page for one dish: what it is, where it comes from, how it is made and eaten, variations, its place in culture, the meals and occasions it belongs to, main ingredients, FAQ and sources. Give a slug from another tool, or a name.","parameters":{"type":"object","properties":{"slug":{"type":"string","description":"Slug such as \"masala-dosa\""},"name":{"type":"string","description":"A name, used if slug is not given"}},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/get_dish"},{"name":"list_dishes","description":"List dishes, filtered by any mix of country, city, region, meal, kind of food, occasion, faith, diet, main ingredient and food day. Sorted best known first unless sort says otherwise. Use offset to page.","parameters":{"type":"object","properties":{"country":{"type":"string","description":"ISO code or English name, e.g. \"IN\" or \"Mexico\""},"city":{"type":"string","description":"City slug from list_cities, or a city name"},"region":{"type":"string","enum":["africa","asia","europe","north-america","south-america","oceania"]},"meal":{"type":"string","enum":["breakfast","lunch","tea","dinner","supper","snack"]},"kind":{"type":"string","enum":["main","street","soup","stew","rice","noodle","dumpling","bread","grill","sandwich","pastry","salad","cheese","cured","preserve","sweet","drink"],"description":"main = Main dishes; street = Street food; soup = Soups; stew = Stews and curries; rice = Rice dishes; noodle = Noodles and pasta; dumpling = Dumplings; bread = Breads; grill = Grills and roasts; sandwich = Sandwiches and wraps; pastry = Pies and savoury pastries; salad = Salads and sides; cheese = Cheese and dairy; cured = Sausages and cured foods; preserve = Sauces, pickles and ferments; sweet = Sweets and desserts; drink = Drinks"},"occasion":{"type":"string","enum":["everyday","festival","wedding","religious","fasting","mourning","harvest","newyear","weekly"],"description":"everyday = Everyday food; festival = Festival food; wedding = Wedding and feast food; religious = Sacred food and offerings; fasting = Fasting and fast-breaking; mourning = Food of mourning and remembrance; harvest = Harvest and seasonal food; newyear = New year food; weekly = Day-of-the-week food"},"faith":{"type":"string","enum":["hindu","muslim","christian","jewish","buddhist","sikh","jain","other"]},"diet":{"type":"string","enum":["vegan","vegetarian","fish","meat","varies"],"description":"vegetarian also includes vegan dishes"},"ingredient":{"type":"string","description":"A main ingredient in plain English, e.g. \"rice\", \"coconut milk\""},"day":{"type":"string","description":"Food day slug or name from list_food_days, e.g. \"diwali\""},"sort":{"type":"string","enum":["known","name","new","seen"],"description":"known = best documented first, new = newest pages first, seen = most read first"},"limit":{"type":"number","description":"1-100, default 25"},"offset":{"type":"number"}},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/list_dishes"},{"name":"random_dish","description":"One published dish chosen at random, in full. Good for discovery.","parameters":{"type":"object","properties":{},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/random_dish"},{"name":"dish_of_the_day","description":"The dish featured on the Thali home page today.","parameters":{"type":"object","properties":{},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/dish_of_the_day"},{"name":"on_the_table_today","description":"Food days (festivals, fasts, feasts and holidays) that are on now or start within the next few days, each with the dishes eaten for it, plus the traditions tied to today's day of the week and the dish of the day. Dates are worked out from each calendar's rule.","parameters":{"type":"object","properties":{"date":{"type":"string","description":"A day as YYYY-MM-DD; default today (UTC)"},"days_ahead":{"type":"number","description":"0-60, default 7"}},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/on_the_table_today"},{"name":"get_food_day","description":"One food day in full: what it is, who keeps it and where, when it next falls, and the dishes eaten for it. Also covers weekly traditions such as Friday fish. Give a slug from list_food_days, or a name.","parameters":{"type":"object","properties":{"slug":{"type":"string","description":"Slug such as \"eid-al-fitr\""},"name":{"type":"string","description":"A name, used if slug is not given"}},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/get_food_day"},{"name":"list_food_days","description":"Every food day in the year ahead, soonest first, with the date each next falls on, plus weekly traditions. Optionally for one faith or one country.","parameters":{"type":"object","properties":{"faith":{"type":"string","enum":["hindu","muslim","christian","jewish","buddhist","sikh","jain","other"]},"country":{"type":"string","description":"ISO code or English name"}},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/list_food_days"},{"name":"in_season","description":"Fruit, vegetables and other produce in season in a month, for the northern or southern hemisphere, each with up to five dishes that use it.","parameters":{"type":"object","properties":{"month":{"type":"number","description":"1-12, default the current month"},"hemisphere":{"type":"string","enum":["north","south"],"description":"default north"}},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/in_season"},{"name":"list_countries","description":"Every country with the number of dishes on Thali that belong to it and whether its cuisine overview is written, optionally for one region.","parameters":{"type":"object","properties":{"region":{"type":"string","enum":["africa","asia","europe","north-america","south-america","oceania"]}},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/list_countries"},{"name":"get_cuisine","description":"How one country eats: an overview of its cooking (staples, breakfast, lunch, dinner, snacks, sweets and drinks, regions, customs at the table, festive food), how many dishes Thali has for each meal, its best known dishes and its food cities.","parameters":{"type":"object","properties":{"country":{"type":"string","description":"ISO code or English name, e.g. \"JP\" or \"Ethiopia\""}},"required":["country"],"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/get_cuisine"},{"name":"list_cities","description":"Cities and regions that dishes on Thali are tied to, with how many dishes each has, optionally for one country. Use the slug with list_dishes.","parameters":{"type":"object","properties":{"country":{"type":"string","description":"ISO code or English name"},"limit":{"type":"number","description":"1-400, default 100"}},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/list_cities"},{"name":"list_ways_of_eating","description":"The ways of eating Thali explains: meal formats, customs and food traditions such as the thali, meze, tapas, bento, langar and iftar.","parameters":{"type":"object","properties":{},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/list_ways_of_eating"},{"name":"get_way_of_eating","description":"One way of eating in full: what it is, where it is kept, how it works, the etiquette, and the dishes that belong to it. Give a slug from list_ways_of_eating, or a name.","parameters":{"type":"object","properties":{"slug":{"type":"string","description":"Slug such as \"thali\""},"name":{"type":"string","description":"A name, used if slug is not given"}},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/get_way_of_eating"},{"name":"define_term","description":"A plain-language definition of a word used about food and cooking (braise, umami, halal, kosher, tempering, terroir, mise en place...).","parameters":{"type":"object","properties":{"term":{"type":"string"}},"required":["term"],"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/define_term"},{"name":"latest_news","description":"Recent headlines about food, cooking and food culture, with outlet and link. Thali does not write these stories.","parameters":{"type":"object","properties":{"limit":{"type":"number","description":"1-40, default 12"}},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/latest_news"},{"name":"stats","description":"How many dishes Thali covers, by region, meal, kind, occasion, faith and diet, and how many are still waiting to be written. Use this to judge completeness.","parameters":{"type":"object","properties":{},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/stats"},{"name":"site_info","description":"A publication card for Thali: name, tagline, publisher, network, topics, catalogue counts, feeds, MCP and API addresses, ad slots and contact. For directories and for ClearTrust's network tools.","parameters":{"type":"object","properties":{},"additionalProperties":false},"url":"https://thali.cleartrust.cc/api/v1/site_info"}]}