[
{"type":"function","name":"get_weather","description":"Get the current weather for a specific city.","parameters":{"type":"object","properties":{"city":{"type":"string","description":"The name of the city to get weather for."},"unit":{"type":"string","enum":["celsius","fahrenheit"],"description":"Temperature unit to return results in."}},"required":["city"]}},
{"type":"function","name":"get_news_headlines","description":"Fetch the latest news headlines for a given topic.","parameters":{"type":"object","properties":{"topic":{"type":"string","description":"The topic to get headlines for, e.g. technology, sports, health."},"limit":{"type":"integer","description":"Number of headlines to return."}},"required":["topic"]}},
{"type":"function","name":"convert_currency","description":"Convert an amount between two currencies.","parameters":{"type":"object","properties":{"amount":{"type":"number","description":"Amount of money to convert."},"from_currency":{"type":"string","description":"The source currency code, e.g. USD."},"to_currency":{"type":"string","description":"The target currency code, e.g. EUR."}},"required":["amount","from_currency","to_currency"]}},
{"type":"function","name":"get_flight_status","description":"Retrieve the live status of a flight.","parameters":{"type":"object","properties":{"flight_number":{"type":"string","description":"The airline flight number, e.g. AA100 or LH760."},"date":{"type":"string","description":"Date of the flight in YYYY-MM-DD format."}},"required":["flight_number"]}},
{"type":"function","name":"find_restaurant","description":"Find restaurants in a city that match a cuisine type.","parameters":{"type":"object","properties":{"city":{"type":"string","description":"City where to search for restaurants."},"cuisine":{"type":"string","description":"Type of cuisine, e.g. Italian, Chinese, Mexican."},"limit":{"type":"integer","description":"Number of restaurants to return."}},"required":["city"]}},
{"type":"function","name":"get_holiday_info","description":"Check if a given date is a public holiday in a specific country.","parameters":{"type":"object","properties":{"date":{"type":"string","description":"The date to check, in YYYY-MM-DD format."},"country":{"type":"string","description":"The country code, e.g. US or IN."}},"required":["date","country"]}},
{"type":"function","name":"get_game_stats","description":"Get the latest statistics for a sports team or player.","parameters":{"type":"object","properties":{"sport":{"type":"string","description":"Type of sport, e.g. basketball, football."},"team_or_player":{"type":"string","description":"Name of the team or player."}},"required":["sport","team_or_player"]}},
{"type":"function","name":"calculate_bmi","description":"Calculate Body Mass Index from weight and height.","parameters":{"type":"object","properties":{"weight_kg":{"type":"number","description":"Weight in kilograms."},"height_cm":{"type":"number","description":"Height in centimeters."}},"required":["weight_kg","height_cm"]}},
{"type":"function","name":"search_movies","description":"Search for movies by title, genre, or year.","parameters":{"type":"object","properties":{"query":{"type":"string","description":"The search term or movie title."},"year":{"type":"integer","description":"Year of release."},"genre":{"type":"string","description":"Movie genre, e.g. comedy, horror."}},"required":["query"]}},
{"type":"function","name":"get_random_quote","description":"Fetch a random inspirational or famous quote.","parameters":{"type":"object","properties":{"category":{"type":"string","description":"Type of quote, e.g. motivational, humorous, philosophical."}},"required":[]}}
]