{"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我在哪裡可以找到提供 beta 存取與遊戲的即時贈品?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "live_giveaways_by_type", "arguments": {"type": "beta"}}}, {"type": "function", "function": {"name": "live_giveaways_by_type", "arguments": {"type": "game"}}}]}], "tools": [{"type": "function", "function": {"name": "live_giveaways_by_type", "description": "Retrieve live giveaways from the GamerPower API based on the specified type.", "parameters": {"type": "object", "properties": {"type": {"type": "string", "description": "The type of giveaways to retrieve (e.g., game, loot, beta).", "default": "game"}}, "required": ["type"]}}}], "meta": {"source_format": "D", "id": 0}} {"messages": [{"role": "system", "content": "您是位樂於助人的助理。"}, {"role": "user", "content": "我需要了解以太坊區塊鏈的詳細資訊,以便我的加密貨幣專案使用。您可以取得 'ethereum' 的詳細資料嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "web_chain_details", "arguments": {"chain_slug": "ethereum"}}}]}], "tools": [{"type": "function", "function": {"name": "peers", "description": "Retrieves a list of company peers given a stock symbol.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol for the company.", "default": ""}}, "required": ["symbol"]}}}, {"type": "function", "function": {"name": "web_chain_details", "description": "python", "parameters": {"type": "object", "properties": {"chain_slug": {"type": "string", "description": "The slug identifier for the blockchain (e.g., 'ethereum' for Ethereum mainnet).", "default": "ethereum"}}, "required": ["chain_slug"]}}}], "meta": {"source_format": "D", "id": 1}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請問在 1 小時 間隔且時間週期為 14 的情況下,'ETH/BTC' 的 T3MA 為多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "t3ma", "arguments": {"symbol": "ETH/BTC", "interval": "1h"}}}]}], "tools": [{"type": "function", "function": {"name": "t3ma", "description": "Fetches the Triple Exponential Moving Average (T3MA) for a given financial instrument.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "Instrument symbol, which can be any equity, index, ETF, forex, or cryptocurrency (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC').", "default": "AAPL"}, "interval": {"type": "string", "description": "Interval between two consecutive points in the time series. Supported intervals include '1min', '5min', '15min', '30min', '45min', '1h', '2h', '4h', '1day', '1week', and '1month'.", "default": "1min"}, "format": {"type": "string", "description": "Format of the response data, either 'CSV' or 'JSON'. Default is 'json'.", "default": "json"}, "v_factor": {"type": "string", "description": "Volume factor used in the calculation of the T3MA.", "default": 0.7}, "series_type": {"type": "string", "description": "Type of series to use in the calculation. Supported values are 'open', 'high', 'low', and 'close'. Default is 'close'.", "default": "close"}, "outputsize": {"type": "string", "description": "Number of data points to return. Default is 30.", "default": 30}, "time_period": {"type": "string", "description": "Number of periods over which to calculate the T3MA. Default is 9.", "default": 9}}, "required": ["symbol", "interval", "format", "v_factor", "series_type", "outputsize", "time_period"]}}}, {"type": "function", "function": {"name": "stock_v2_get_profile", "description": "Retrieves the company profile information for a given performance ID using the RapidAPI Morning Star service.", "parameters": {"type": "object", "properties": {"performanceid": {"type": "string", "description": "The performance ID of the stock, obtained from endpoints such as /auto-complete, /get-summary, or /get-movers.", "default": "0P0000OQN8"}}, "required": ["performanceid"]}}}], "meta": {"source_format": "D", "id": 2}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "列出最初在電視網 '1' 和 '8' 首播的標題,於 2010 年之後發行,並按發行日期由新到舊排序。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "list_titles", "arguments": {"network_ids": "1,8", "sort_by": "release_date_desc"}}}]}], "tools": [{"type": "function", "function": {"name": "get_animes", "description": "Retrieves a list of animes based on specified search criteria and filters from the RapidAPI Anime API.", "parameters": {"type": "object", "properties": {"year_greater": {"type": "string", "description": "Find animes released after the specified year.", "default": ""}, "media_type": {"type": "string", "description": "Filter by media type (e.g., music, tv, ona, ova, movie, special).", "default": ""}, "studio": {"type": "string", "description": "Filter by studio name.", "default": ""}, "year_less": {"type": "string", "description": "Find animes released before the specified year.", "default": ""}, "nsfw": {"type": "string", "description": "Include NSFW content if set.", "default": ""}, "status": {"type": "string", "description": "Filter by anime status (e.g., currently_airing, finished_airing, not_yet_aired).", "default": ""}, "limit": {"type": "string", "description": "Limit the number of results.", "default": ""}, "q": {"type": "string", "description": "Search for animes by title in English or Japanese.", "default": ""}, "genre": {"type": "string", "description": "Filter by genre.", "default": ""}, "sort": {"type": "string", "description": "Specify sort order, True for ascending and False for descending.", "default": ""}, "offset": {"type": "string", "description": "Number of results to skip.", "default": ""}, "season": {"type": "string", "description": "Filter by season.", "default": ""}, "fields": {"type": "string", "description": "Specify the fields to return (e.g., id, title, main_picture, etc.).", "default": ""}, "year_equal": {"type": "string", "description": "Filter by animes released in the specified year.", "default": ""}, "source": {"type": "string", "description": "Filter by source material (e.g., manga, visual_novel, novel, etc.).", "default": ""}, "order": {"type": "string", "description": "Order results by a specific field.", "default": ""}}, "required": ["year_greater", "media_type", "studio", "year_less", "nsfw", "status", "limit", "q", "genre", "sort", "offset", "season", "fields", "year_equal", "source", "order"]}}}, {"type": "function", "function": {"name": "list_titles", "description": "Fetches a listing of titles that match specified parameters from the Watchmode API.", "parameters": {"type": "object", "properties": {"genres": {"type": "string", "description": "Filter results to only include certain genre(s). Pass in a single genre ID or multiple comma-separated IDs. Default is '4,9'.", "default": "4,9"}, "limit": {"type": "integer", "description": "Set how many titles to return per page. Default and maximum is 250.", "default": "250"}, "source_ids": {"type": "string", "description": "Filter the results to titles available on specific sources by passing individual IDs or multiple comma-separated IDs. Default is '23,206'. Note: Only a single region can be set if this is populated.", "default": "23,206"}, "source_types": {"type": "string", "description": "Filter results to only include titles available on specific types of sources (e.g., subscription, free). Default is 'sub,free'. Note: Only a single region can be set if this is populated.", "default": "sub,free"}, "types": {"type": "string", "description": "Filter results to only include titles available on specific types of sources (e.g., subscription, free). Default is 'sub,free'. Note: Only a single region can be set if this is populated.", "default": "movie,tv_series"}, "regions": {"type": "string", "description": "Filter results to only include sources active in specific regions. Currently supported regions: US, GB, CA, AU. Default is 'US'. Note: Only a single region can be set if source_ids or source_types are populated.", "default": "US"}, "sort_by": {"type": "string", "description": "Sort order of results. Possible values include: relevance_desc, relevance_asc, popularity_desc, popularity_asc, release_date_desc, release_date_asc, title_desc, title_asc. Default is 'relevance_desc'.", "default": "relevance_desc"}, "page": {"type": "integer", "description": "Set the page of results to return. Default is 1.", "default": "1"}, "network_ids": {"type": "string", "description": "Filter results to titles that originally aired on specific TV networks by passing individual IDs or multiple comma-separated IDs. Default is '1,8,12'.", "default": "1,8,12"}, "release_date_start": {"type": "integer", "description": "Filter results to only include titles released on or after a specific date. Format: YYYYMMDD. Default is 20010101.", "default": "20010101"}, "release_date_end": {"type": "integer", "description": "Filter results to only include titles released on or before a specific date. Format: YYYYMMDD. Default is 20201211.", "default": "20201211"}}, "required": ["genres", "limit", "source_ids", "source_types", "types", "regions", "sort_by", "page", "network_ids", "release_date_start", "release_date_end"]}}}], "meta": {"source_format": "D", "id": 3}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請取得剛結束的第 98765 階段的參賽者排名。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "stagecompetitorstandings", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "stagecompetitorstandings", "description": "Retrieve the competitor standings for a specific Motorsport stage using the given stage ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the stage for which to retrieve competitor's standings.", "default": 203968}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 4}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請取得產品 456789 的詳細資訊,使用地區設定 'es_ES'。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "product_id", "arguments": {"locale": "es_ES"}}}]}], "tools": [{"type": "function", "function": {"name": "get_product", "description": "Fetches product details from an API using the given product ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The product ID for which to retrieve details.", "default": ""}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "product_id", "description": "Fetches product details from the AliExpress API using the provided product ID and optional parameters.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the product to fetch details for.", "default": "4000886597329"}, "locale": {"type": "string", "description": "The locale to be used for the request (e.g., 'en_US').", "default": ""}, "currency": {"type": "string", "description": "The currency for price conversion (e.g., 'USD').", "default": ""}, "country": {"type": "string", "description": "The country for regional adjustments (e.g., 'US').", "default": ""}}, "required": ["is_id", "locale", "currency", "country"]}}}], "meta": {"source_format": "D", "id": 5}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "找出《Pulp Fiction》的 ID 並搜尋相關的種子。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_id", "arguments": {"q": "Pulp Fiction"}}}, {"type": "function", "function": {"name": "search_torrents", "arguments": {"keywords": "Pulp Fiction"}}}]}], "tools": [{"type": "function", "function": {"name": "get_id", "description": "Fetches the ID of a movie based on the given search query from the RapidAPI similar movies service.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "The search string for the movie title.", "default": "titanic"}}, "required": ["q"]}}}, {"type": "function", "function": {"name": "search_torrents", "description": "Search for torrents based on given keywords using the RapidAPI service.", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "Keywords to search for torrents.", "default": "Meg 2 The Trench"}, "quantity": {"type": "integer", "description": "Number of torrent results to return. Maximum value is 40.", "default": "40"}, "page": {"type": "string", "description": "Page number for paginated results. Defaults to 1.", "default": "1"}}, "required": ["keywords", "quantity", "page"]}}}, {"type": "function", "function": {"name": "basic_info", "description": "Fetches detailed information about a cast member such as name, profession, birth and death year, bio, poster, and best titles.", "parameters": {"type": "object", "properties": {"peopleid": {"type": "string", "description": "The ID of the cast member whose details are to be fetched.", "default": "nm0000375"}}, "required": ["peopleid"]}}}], "meta": {"source_format": "D", "id": 6}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能為加拿大郵遞區號 G2J 和座標 48.8567,2.3508 找出時區嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "time_zone_api", "arguments": {"q": "G2J"}}}, {"type": "function", "function": {"name": "time_zone_api", "arguments": {"q": "48.8567,2.3508"}}}]}], "tools": [{"type": "function", "function": {"name": "time_zone_api", "description": "Fetches up-to-date time zone and local time information as JSON based on a given query parameter.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "Query parameter to fetch time zone data.", "default": ""}}, "required": ["q"]}}}], "meta": {"source_format": "D", "id": 7}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請找出序列 [44, 46, 48, 50, 52] 的峰值,並計算 25 光年 的光行程時間。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "find_peak_element", "arguments": {}}}, {"type": "function", "function": {"name": "light_travel_time", "arguments": {}}}]}, {"role": "assistant", "content": "), light_travel_time(distance_in_light_years=25)]"}], "tools": [{"type": "function", "function": {"name": "find_peak_element", "description": "Finds a peak element in a list of integers.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of integers."}}, "required": ["nums"]}}}, {"type": "function", "function": {"name": "light_travel_time", "description": "Calculate the time taken for light to travel from one celestial body to another.", "parameters": {"type": "object", "properties": {"distance_in_light_years": {"type": "integer", "description": "The distance between the two celestial bodies in light years.", "default": 299792458}, "speed_of_light": {"type": "integer", "description": "The speed of light in vacuum, in m/s. Default value is 299792458 m/s.", "default": 299792458}}, "required": ["distance_in_light_years", "speed_of_light"]}}}], "meta": {"source_format": "D", "id": 8}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "在 2015 年 9 月 9 日,Wayback Machine 是否有 'https://www.apple.com' 的存檔可用?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "availability", "arguments": {"url": "https://www.apple.com", "timestamp": "20150909"}}}]}], "tools": [{"type": "function", "function": {"name": "availability", "description": "Checks if a given URL is archived and currently accessible in the Wayback Machine.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "The URL to check for availability in the Wayback Machine.", "default": "http://mashape.com"}, "timestamp": {"type": "string", "description": "The timestamp to look up in Wayback. If not specified, the most recent available capture is returned. The format of the timestamp is 1-14 digits (YYYYMMDDhhmmss). Defaults to '20090101'.", "default": "20090101"}, "callback": {"type": "string", "description": "An optional callback to produce a JSONP response. Defaults to None.", "default": ""}}, "required": ["url", "timestamp", "callback"]}}}], "meta": {"source_format": "D", "id": 9}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你可以為網域 'example.com' 擷取低品質的反向連結嗎?另外,請為文字 '拜訪我們的網站 example.com' 產生一個 QR 碼。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "poor_backlinks", "arguments": {"domain": "example.com"}}}, {"type": "function", "function": {"name": "qrcode", "arguments": {"data": "拜訪我們的網站 example.com"}}}]}], "tools": [{"type": "function", "function": {"name": "poor_backlinks", "description": "Fetch poor quality backlinks for a given domain using the Best Backlink Checker API.", "parameters": {"type": "object", "properties": {"domain": {"type": "string", "description": "The domain for which to fetch the poor quality backlinks.", "default": "getecz.com"}}, "required": ["domain"]}}}, {"type": "function", "function": {"name": "get_random_user", "description": "Fetch a random user profile based on specified criteria using the ai-random-user-generator API.", "parameters": {"type": "object", "properties": {"results": {"type": "string", "description": "Number of user profiles to fetch. Default is '7'.", "default": "7"}, "nation": {"type": "string", "description": "Nationality of the users. Default is 'en_US'.", "default": "en_US"}, "gender": {"type": "string", "description": "Gender of the users. Default is 'female'.", "default": "female"}}, "required": ["results", "nation", "gender"]}}}, {"type": "function", "function": {"name": "company_search", "description": "Search for companies by name using the Indeed API.", "parameters": {"type": "object", "properties": {"company_name": {"type": "string", "description": "The name of the company to search for.", "default": "Microsoft"}, "locality": {"type": "string", "description": "Select the Indeed's country subdomain to search within. The default value is 'us'.", "default": ""}}, "required": ["company_name", "locality"]}}}, {"type": "function", "function": {"name": "album_tracks", "description": "Fetches the tracks of a specified album from the Spotify API using RapidAPI.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The unique identifier for the album.", "default": "3IBcauSj5M2A6lTeffJzdv"}, "offset": {"type": "string", "description": "The starting point for the track list. Defaults to 0.", "default": "0"}, "limit": {"type": "string", "description": "The maximum number of tracks to return. Defaults to 300.", "default": "300"}}, "required": ["is_id", "offset", "limit"]}}}, {"type": "function", "function": {"name": "qrcode", "description": "Generate a QR code based on the provided data string using the QR Code Generator API.", "parameters": {"type": "object", "properties": {"data": {"type": "string", "description": "The input data to be converted into a QR code.", "default": "Hello World!"}}, "required": ["data"]}}}], "meta": {"source_format": "D", "id": 10}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請從 Kohls 取得 'winter coat' 的自動完成建議,並從 Wayfair 取得 'kitchen appliance' 的自動完成建議。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "auto_complete_deprecating", "arguments": {"query": "winter coat"}}}, {"type": "function", "function": {"name": "auto_complete", "arguments": {"query": "kitchen appliance"}}}]}], "tools": [{"type": "function", "function": {"name": "auto_complete_deprecating", "description": "Fetch auto-complete suggestions for a given query from the specified API.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The term or phrase for which to get suggestions.", "default": "bikini tops"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "auto_complete", "description": "Fetch auto-complete suggestions for a given query using the Wayfair API.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The term or phrase for which auto-complete suggestions are needed.", "default": "red pillow"}}, "required": ["query"]}}}], "meta": {"source_format": "D", "id": 11}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "我需要 2024 年 2 月 28 日舉行的比賽賽程。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "matchschedules", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "matchschedules", "description": "Fetches the schedules of ice hockey matches for a specified date, including match timings, teams, and other relevant information.", "parameters": {"type": "object", "properties": {"day": {"type": "integer", "description": "The day of the month for which you want to retrieve the schedules (1-31).", "default": 28}, "year": {"type": "integer", "description": "The year for which you want to retrieve the schedules (e.g., 2022).", "default": 2022}, "month": {"type": "integer", "description": "The month for which you want to retrieve the schedules (1-12).", "default": 11}}, "required": ["day", "year", "month"]}}}], "meta": {"source_format": "D", "id": 12}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "我需要從位於加州帕洛阿爾托的 Safeway 訂購 3 箱牛奶和 2 條麵包。你可以處理嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "place_safeway_order", "arguments": {"location": "帕洛阿爾托, 加州"}}}]}, {"role": "assistant", "content": ", quantity=[3, 2])]"}], "tools": [{"type": "function", "function": {"name": "get_ip_location", "description": "Retrieves the latitude and longitude coordinates of a given IP address using the ip-api.com API.", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "The IP address to locate."}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "structural_analysis", "description": "Performs structural analysis on a building based on its ID, floor numbers, and analysis mode.", "parameters": {"type": "object", "properties": {"building_id": {"type": "string", "description": "The unique identifier of the building.", "default": "static"}, "floor_numbers": {"type": "string", "description": "The list of floor numbers to be analyzed.", "default": "static"}, "analysis_mode": {"type": "string", "description": "The mode of analysis, either \"static\" or \"dynamic\". Defaults to \"static\"."}}, "required": ["analysis_mode"]}}}, {"type": "function", "function": {"name": "reserve_hotel_room", "description": "Reserves a hotel room with the specified details.", "parameters": {"type": "object", "properties": {"room_type": {"type": "string", "description": "The type of room to reserve."}, "nightly_rate": {"type": "number", "description": "The nightly rate for the room."}, "checkin_date": {"type": "string", "description": "The check-in date in the format 'YYYY-MM-DD'."}, "checkout_date": {"type": "string", "description": "The check-out date in the format 'YYYY-MM-DD'."}, "guest_id": {"type": "string", "description": "The unique identifier for the guest."}, "promo_code": {"type": "string", "description": "A promotional code for a discount. Defaults to None."}}, "required": ["checkin_date", "checkout_date", "guest_id", "nightly_rate", "promo_code", "room_type"]}}}, {"type": "function", "function": {"name": "simulate_query_database", "description": "Simulates querying a database based on certain conditions.", "parameters": {"type": "object", "properties": {"table": {"type": "string", "description": "Name of the table to query."}, "conditions": {"type": "array", "description": "Conditions for the query, each condition is a dictionary."}}, "required": ["conditions", "table"]}}}, {"type": "function", "function": {"name": "place_safeway_order", "description": "Order specified items from a Safeway location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location of the Safeway store, e.g., 'Palo Alto, CA'."}, "items": {"type": "array", "description": "List of items to order."}, "quantity": {"type": "array", "description": "Quantity of each item in the order list."}}, "required": ["items", "location", "quantity"]}}}], "meta": {"source_format": "D", "id": 13}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "你正在研究 TikTok 的趨勢,需要查詢帳號 'trendsetter1' 和 'viralvideo2' 的個人檔案。要如何使用 'get_search_user' 函式來實作這個操作?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_search_user", "arguments": {"is_id": "trendsetter1"}}}, {"type": "function", "function": {"name": "get_search_user", "arguments": {"is_id": "viralvideo2"}}}]}], "tools": [{"type": "function", "function": {"name": "get_search_user", "description": "Fetches the search result for a specific username from the TikTok User API.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The username or ID to search for.", "default": "therock"}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 14}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能幫我查找 ID 為 '6923456789012345678' 的 TikTok 帖子詳情嗎?另外,請提供 '#technology' 下的最新貼文。"}], "tools": [{"type": "function", "function": {"name": "get_post", "description": "Fetches the details of a TikTok post using the given `aweme_id` via the RapidAPI service.", "parameters": {"type": "object", "properties": {"aweme_id": {"type": "string", "description": "The unique identifier of the TikTok post to be fetched.", "default": ""}}, "required": ["aweme_id"]}}}, {"type": "function", "function": {"name": "hashtag_feed_video_posts_v2", "description": "Fetches video posts related to a specific hashtag from a social media platform, providing metadata such as direct URLs, statistics, and more.", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "Hashtag name to filter videos. Defaults to 'summer'.", "default": "summer"}, "limit": {"type": "string", "description": "Maximum number of records to return. Defaults to 20; the maximum is 20.", "default": ""}, "max_cursor": {"type": "string", "description": "Pagination cursor to fetch more videos. Use the value received from the previous request for continued pagination.", "default": ""}}, "required": ["name", "limit", "max_cursor"]}}}], "meta": {"source_format": "D", "id": 15}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請取得以法語(法國)及 UTC+1 時區偏移的加密貨幣市場元資料。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_meta_data", "arguments": {"locale_info": "fr-FR"}}}]}], "tools": [{"type": "function", "function": {"name": "get_meta_data", "description": "Fetches meta data from the cryptocurrency markets API using provided locale information and optional parameters.", "parameters": {"type": "object", "properties": {"locale_info": {"type": "string", "description": "The language code.", "default": "en_US"}, "lang_id": {"type": "string", "description": "The language ID, default is 1.", "default": "1"}, "time_utc_offset": {"type": "string", "description": "The UTC offset in seconds, default is 28800 (UTC+8).", "default": "28800"}}, "required": ["locale_info", "lang_id", "time_utc_offset"]}}}], "meta": {"source_format": "D", "id": 16}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請擷取 Instagram 帳號 'art_collector' 的精選項目,以及 YouTube 頻道 'HistoryBuffs' 的短片(shorts)。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_highlight_item", "arguments": {"is_id": "art_collector"}}}, {"type": "function", "function": {"name": "channel_shorts", "arguments": {"channel_id": "HistoryBuffs"}}}]}], "tools": [{"type": "function", "function": {"name": "get_highlight_item", "description": "Fetch the highlight item from Instagram using the toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The Instagram ID for which to fetch the highlight items.", "default": "17934390836227915"}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "channel_shorts", "description": "Fetch the latest shorts published by a YouTube channel using the provided `channel_id` and RapidAPI key.", "parameters": {"type": "object", "properties": {"channel_id": {"type": "string", "description": "The ID of the YouTube channel.", "default": "UCVhQ2NnY5Rskt6UjCUkJ_DA"}}, "required": ["channel_id"]}}}], "meta": {"source_format": "D", "id": 17}} {"messages": [{"role": "system", "content": "您是樂於助人的助理。"}, {"role": "user", "content": "2000 美元以年利率 2% 經 8 年後的未來價值是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "future_investment_value", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "calculate_standard_deviation", "description": "Calculates the standard deviation of a list of numbers.", "parameters": {"type": "object", "properties": {"numbers": {"type": "string", "description": "The list of numbers."}}, "required": ["numbers"]}}}, {"type": "function", "function": {"name": "future_investment_value", "description": "Calculates the future value of an investment based on the present value, annual interest rate, and number of years.", "parameters": {"type": "object", "properties": {"present_value": {"type": "number", "description": "The present value of the investment."}, "annual_interest_rate": {"type": "number", "description": "The annual interest rate as a decimal (e.g., 0.05 for 5%)."}, "years": {"type": "integer", "description": "The number of years the investment will grow."}}, "required": ["annual_interest_rate", "present_value", "years"]}}}], "meta": {"source_format": "D", "id": 18}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "在 2023 年 4 月 10 日晚上 10 點於開普敦舉辦的觀星活動,天空中會有哪些天體?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_all_bodies_positions", "arguments": {"from_date": "2023-04-10", "to_date": "2023-04-10", "time": "22:00:00"}}}]}], "tools": [{"type": "function", "function": {"name": "get_all_bodies_positions", "description": "Fetches the positions of celestial bodies for a given location and date range using the Astronomy API.", "parameters": {"type": "object", "properties": {"latitude": {"type": "integer", "description": "The latitude of the location for which to get the positions.", "default": "33.775867"}, "longitude": {"type": "integer", "description": "The longitude of the location for which to get the positions.", "default": "-84.39733"}, "from_date": {"type": "string", "description": "The start date for the observation period in the format 'YYYY-MM-DD'.", "default": "2017-12-20"}, "to_date": {"type": "string", "description": "The end date for the observation period in the format 'YYYY-MM-DD'.", "default": "2017-12-21"}, "elevation": {"type": "string", "description": "The elevation of the location in meters. Defaults to 166.", "default": "166"}, "time": {"type": "string", "description": "The specific time of day for the observation in the format 'HH:MM:SS'. Defaults to '12:00:00'.", "default": "12:00:00"}}, "required": ["latitude", "longitude", "from_date", "to_date", "elevation", "time"]}}}], "meta": {"source_format": "D", "id": 19}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "10010 和 11101 的二進位相加結果是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "binary_addition", "arguments": {"a": "10010", "b": "11101"}}}]}], "tools": [{"type": "function", "function": {"name": "binary_addition", "description": "Adds two binary numbers and returns the result as a binary string.", "parameters": {"type": "object", "properties": {"a": {"type": "string", "description": "The first binary number."}, "b": {"type": "string", "description": "The second binary number."}}, "required": ["a", "b"]}}}, {"type": "function", "function": {"name": "create_histogram", "description": "Create a histogram based on provided data.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "description": "The data for which histogram needs to be plotted.", "default": 10}, "bins": {"type": "integer", "description": "The number of equal-width bins in the range. Default is 10.", "default": 10}}, "required": ["data", "bins"]}}}], "meta": {"source_format": "D", "id": 20}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請擷取產品 ID 為 12345 的詳細資訊。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_product", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "facebook_ad_copy", "description": "Generates a Facebook ad copy using AI based on the provided description and name.", "parameters": {"type": "object", "properties": {"description": {"type": "string", "description": "The description to be used for generating the ad copy.", "default": "Apple designs, manufactures and markets smartphones, personal computers, tablets, wearables and accessories, and sells a variety of related services."}, "name": {"type": "string", "description": "The name to be used for generating the ad copy.", "default": "Apple"}}, "required": ["description", "name"]}}}, {"type": "function", "function": {"name": "get_product", "description": "Fetches product details from a RapidAPI endpoint using the provided product ID and RapidAPI key.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the product to retrieve information about.", "default": ""}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 21}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你可以為科技領域的實驗 24680 取得能改善使用者體驗的建議嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "recommend", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "recommend", "description": "Fetches a recommendation for a given experiment ID using the Toolbench RapidAPI service.", "parameters": {"type": "object", "properties": {"experiment_id": {"type": "integer", "description": "The ID of the experiment for which to fetch recommendations.", "default": "12234"}}, "required": ["experiment_id"]}}}], "meta": {"source_format": "D", "id": 22}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能幫我取得2019年 NCAA Final Four 活動的場地詳細資訊嗎?另外,也請提供 Motorsport API 中第5階段的獨特關卡影像。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "location", "arguments": {"identifier": "2019"}}}, {"type": "function", "function": {"name": "uniquestageimage", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "location", "description": "Fetches the location and venue details of the NCAA Final Four event for a given identifier.", "parameters": {"type": "object", "properties": {"identifier": {"type": "string", "description": "A unique identifier representing the year or specific event to retrieve location details for.", "default": "1952"}}, "required": ["identifier"]}}}, {"type": "function", "function": {"name": "uniquestageimage", "description": "Retrieves the image for a specific Motorsport unique stage using the provided stage ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The unique stage ID for which to retrieve the image.", "default": 40}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "pitstopdataforarace", "description": "Retrieves pit stop data for a specific Formula 1 race using the provided year and round.", "parameters": {"type": "object", "properties": {"year": {"type": "string", "description": "The season year of the Formula 1 race.", "default": "year"}, "round": {"type": "string", "description": "The round number of the Formula 1 race.", "default": "round"}}, "required": ["year", "round"]}}}, {"type": "function", "function": {"name": "search_team", "description": "Searches for a team using the provided team name and returns the response from the API.", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the team to search for.", "default": "New York Yankees"}}, "required": ["name"]}}}], "meta": {"source_format": "D", "id": 23}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "在石頭、剪刀、布遊戲中,當我選擇「rock」時,API 會怎麼回應?另外,請以美國(US)地理位置抓取影片「L0p3kJQP7kiw5Fk」的留言。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "choice_endpoint", "arguments": {"choice": "rock"}}}, {"type": "function", "function": {"name": "video_comments", "arguments": {"is_id": "L0p3kJQP7kiw5Fk", "gl": "US"}}}]}], "tools": [{"type": "function", "function": {"name": "choice_endpoint", "description": "Sends a GET request to the Rock-Paper-Scissors API with the user's choice and returns the API's response.", "parameters": {"type": "object", "properties": {"choice": {"type": "string", "description": "The user's selection, either \"rock\", \"paper\", or \"scissors\".", "default": "rock"}}, "required": ["choice"]}}}, {"type": "function", "function": {"name": "video_comments", "description": "Fetches comments for a specified YouTube video using the RapidAPI service.", "parameters": {"type": "object", "properties": {"cursor": {"type": "string", "description": "Cursor token for pagination.", "default": ""}, "gl": {"type": "string", "description": "Geolocation code. Defaults to 'US'.", "default": "US"}, "is_id": {"type": "string", "description": "YouTube video ID. Defaults to 'kJQP7kiw5Fk'.", "default": "kJQP7kiw5Fk"}, "hl": {"type": "string", "description": "Language code. Defaults to 'en'.", "default": "en"}}, "required": ["cursor", "gl", "is_id", "hl"]}}}], "meta": {"source_format": "D", "id": 24}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "從資料庫擷取 3 部隨機電影。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getrandommovie", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "estimated_salary", "description": "Fetch the estimated salary for a given job title within a specified radius around a particular location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The geographic location to search within for the salary estimation.", "default": "New-York, NY, USA"}, "job_title": {"type": "string", "description": "The job title for which the salary estimation is to be fetched.", "default": "NodeJS Developer"}, "radius": {"type": "string", "description": "The radius in kilometers within which to search from the provided location. Default is 100 km.", "default": "100"}}, "required": ["location", "job_title", "radius"]}}}, {"type": "function", "function": {"name": "getrandommovie", "description": "Returns a list of random movies from a database by calling an external API.", "parameters": {"type": "object", "properties": {"count": {"type": "string", "description": "The number of random movies to return. Defaults to 2.", "default": "2"}}, "required": ["count"]}}}], "meta": {"source_format": "D", "id": 25}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "你能提供特斯拉(Tesla)股票的內部持有人資訊,以及美國的加密貨幣最新市場趨勢嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "stock_insider_holders_stock", "arguments": {"symbol": "TSLA"}}}, {"type": "function", "function": {"name": "market_trends", "arguments": {"trend_type": "CRYPTO", "country": "us"}}}]}], "tools": [{"type": "function", "function": {"name": "stock_insider_holders_stock", "description": "Fetches insider holders' information for a given stock symbol using the mboum-finance API.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol for which to fetch insider holders' information.", "default": "AAPL"}}, "required": ["symbol"]}}}, {"type": "function", "function": {"name": "market_trends", "description": "Fetch the latest market trends and relevant news based on the specified trend type.", "parameters": {"type": "object", "properties": {"trend_type": {"type": "string", "description": "The type of trend to retrieve. Supported trend types include:", "default": ""}, "country": {"type": "string", "description": "The country for which to fetch trends, specified as a 2-letter country code (ISO 3166). Default is 'us'.", "default": "us"}, "language": {"type": "string", "description": "The language to use for the results, specified as a 2-letter language code (ISO 639-1). Default is 'en'.", "default": "en"}}, "required": ["trend_type", "country", "language"]}}}, {"type": "function", "function": {"name": "stock_v2_get_trading_information", "description": "Fetch trading information for a specific stock using its performance ID.", "parameters": {"type": "object", "properties": {"performanceid": {"type": "string", "description": "The performance ID of the stock, which can be obtained from the auto-complete, get-summary, or get-movers endpoints.", "default": "0P0000OQN8"}}, "required": ["performanceid"]}}}, {"type": "function", "function": {"name": "coin", "description": "Fetches the value of a specified cryptocurrency.", "parameters": {"type": "object", "properties": {"coin": {"type": "string", "description": "The cryptocurrency symbol (e.g., 'btc', 'eth') for which the value will be fetched. Default is 'btc'.", "default": "btc"}}, "required": ["coin"]}}}], "meta": {"source_format": "D", "id": 26}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我想知道義大利最受歡迎的演員,以及來自義大利的任何近期環境新聞。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "actors_list_most_popular_celebs", "arguments": {"currentcountry": "IT"}}}, {"type": "function", "function": {"name": "get_news", "arguments": {"category": "environment", "region": "it"}}}]}], "tools": [{"type": "function", "function": {"name": "actors_list_most_popular_celebs", "description": "Fetch the list of most popular celebrities from the online movie database API.", "parameters": {"type": "object", "properties": {"currentcountry": {"type": "string", "description": "The current country of the user. Accepts one of the following values: AR, AU, CA, CL, ES, DE, IT, MX, NZ, PT, ES, GB, US. Defaults to 'US'.", "default": "US"}, "purchasecountry": {"type": "string", "description": "The country where the user typically makes purchases. Accepts one of the following values: US, GB, DE, IN, IT, FR, JP, CA, ES. Defaults to 'US'.", "default": "US"}, "homecountry": {"type": "string", "description": "The home country of the user. Accepts one of the following values: US, GB, DE, IN, IT, FR, JP, CA, ES. Defaults to 'US'.", "default": "US"}}, "required": ["currentcountry", "purchasecountry", "homecountry"]}}}, {"type": "function", "function": {"name": "get_news", "description": "Fetches a list of news articles based on the specified category and region.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news to fetch.", "default": ""}, "region": {"type": "string", "description": "The region code for which to fetch news. Examples include 'us' for the United States and 'gb' for the United Kingdom.", "default": ""}}, "required": ["category", "region"]}}}], "meta": {"source_format": "D", "id": 27}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請檢查 Vimeo 用戶名 'john_doe_artist' 是否可用。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "vimeo", "arguments": {"username": "john_doe_artist"}}}]}], "tools": [{"type": "function", "function": {"name": "vimeo", "description": "Checks if a given Vimeo username is available using the Toolbench RapidAPI service.", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The Vimeo username to check for availability.", "default": "username"}}, "required": ["username"]}}}, {"type": "function", "function": {"name": "get_user_pins", "description": "Retrieves the Pinterest pins of a specified user.", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The Pinterest username whose pins are to be fetched.", "default": "0869178429hau"}}, "required": ["username"]}}}], "meta": {"source_format": "D", "id": 28}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "2000年是閏年嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "is_leap_year", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "is_leap_year", "description": "Checks if a year is a leap year.", "parameters": {"type": "object", "properties": {"year": {"type": "integer", "description": "The year to check."}}, "required": ["year"]}}}], "meta": {"source_format": "D", "id": 29}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請提供賽前事件(事件 ID:5678)的詳細資料,並以英文與西班牙文呈現。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "prematch_event", "arguments": {"lang": "en"}}}, {"type": "function", "function": {"name": "prematch_event", "arguments": {"lang": "es"}}}]}], "tools": [{"type": "function", "function": {"name": "game_matrix_gamepk", "description": "Fetch detailed game information for a specific baseball game using its game ID (gamepk).", "parameters": {"type": "object", "properties": {"gamepk": {"type": "string", "description": "The unique identifier for a specific baseball game.", "default": "633282"}}, "required": ["gamepk"]}}}, {"type": "function", "function": {"name": "ligue_1_standings", "description": "Fetches the Ligue 1 standings for a given season using the RapidAPI service.", "parameters": {"type": "object", "properties": {"season": {"type": "string", "description": "The season for which to fetch the standings (e.g., '2022'). Defaults to None.", "default": ""}}, "required": ["season"]}}}, {"type": "function", "function": {"name": "leaguehometeamevents", "description": "Retrieves the last 5 home events for a specific league and season using the Baseball API.", "parameters": {"type": "object", "properties": {"seasonid": {"type": "integer", "description": "The ID of the season for which to retrieve the home team events.", "default": 49349}, "tournamentid": {"type": "integer", "description": "The unique ID of the tournament for which to retrieve the home team events.", "default": 19442}}, "required": ["seasonid", "tournamentid"]}}}, {"type": "function", "function": {"name": "prematch_event", "description": "Fetches pre-match event data from a sports betting API.", "parameters": {"type": "object", "properties": {"lang": {"type": "string", "description": "The language code for the API response.", "default": "en"}, "evt": {"type": "integer", "description": "The event ID to fetch information for.", "default": ""}}, "required": ["lang", "evt"]}}}], "meta": {"source_format": "D", "id": 30}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "我想查詢競賽 'comp001' 和 'comp002' 的資訊。你可以幫忙嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "competitions_id", "arguments": {"is_id": "comp001"}}}, {"type": "function", "function": {"name": "competitions_id", "arguments": {"is_id": "comp002"}}}]}], "tools": [{"type": "function", "function": {"name": "competitions_id", "description": "Retrieves information about a specific competition using its ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The ID of the competition to be retrieved.", "default": "LAL"}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 31}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "請預測投資成長:初始金額 $10000,每年追加 $1000,為期 5 年,年回報率 5%,通貨膨脹率為 [2%、2.5%、3%、3.5%、4%]。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "project_investment_growth", "arguments": {}}}]}, {"role": "assistant", "content": ", inflation_adjusted=true)]"}], "tools": [{"type": "function", "function": {"name": "get_dna_sequence", "description": "Retrieves the DNA sequence for a given sequence ID from the NCBI Nucleotide database.", "parameters": {"type": "object", "properties": {"sequence_id": {"type": "string", "description": "The unique identifier for the DNA sequence.", "default": "fasta"}, "file_format": {"type": "string", "description": "The format of the returned sequence. Allowed values: \"fasta\" (default) or \"gb\"."}, "upstream_bases": {"type": "string", "description": "The number of bases upstream of the sequence to include. Defaults to 0.", "default": "fasta"}}, "required": ["file_format"]}}}, {"type": "function", "function": {"name": "predict_forest_area", "description": "Predicts the change in forest area over a specified number of years.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The geographic location for the prediction."}, "num_years": {"type": "integer", "description": "The number of years into the future to make the prediction."}, "include_humans": {"type": "string", "description": "Whether to include the impact of human activities in the prediction. Defaults to False."}}, "required": ["include_humans", "location", "num_years"]}}}, {"type": "function", "function": {"name": "project_investment_growth", "description": "Projects the growth of an investment over a specified number of years.", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The initial investment amount.", "default": true}, "annual_addition": {"type": "number", "description": "The amount added to the investment annually.", "default": true}, "years": {"type": "integer", "description": "The number of years to project the investment growth."}, "return_rate": {"type": "number", "description": "The annual return rate as a decimal (e.g., 0.07 for 7%)."}, "inflation": {"type": "string", "description": "A list of annual inflation rates as decimals."}, "inflation_adjusted": {"type": "string", "description": "Whether to adjust the final value for inflation. Defaults to True."}}, "required": ["inflation", "inflation_adjusted", "return_rate", "years"]}}}, {"type": "function", "function": {"name": "get_ip_zipcode", "description": "Retrieves the ZIP code of a given IP address using the ip-api.com API.", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "The IP address to locate."}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "project_population", "description": "Projects the population size after a specified number of years.", "parameters": {"type": "object", "properties": {"current_pop": {"type": "integer", "description": "The current population size.", "default": 1.2}, "num_years": {"type": "integer", "description": "The number of years into the future to make the projection.", "default": 1.2}, "annual_growth": {"type": "string", "description": "The annual population growth rate as a percentage. Defaults to 1.2."}}, "required": ["annual_growth"]}}}, {"type": "function", "function": {"name": "assess_diabetes_risk", "description": "Assesses the risk of developing type 2 diabetes based on body mass index (BMI) and physical activity level.", "parameters": {"type": "object", "properties": {"weight_lbs": {"type": "integer", "description": "Body weight in pounds."}, "height_inches": {"type": "integer", "description": "Height in inches."}, "activity": {"type": "string", "description": "Physical activity level. Allowed values: \"sedentary\", \"lightly active\", \"moderately active\", or \"very active\"."}}, "required": ["activity", "height_inches", "weight_lbs"]}}}], "meta": {"source_format": "D", "id": 32}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請為個人檔案 ID '12345' 取得時間序列快照。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_profile_series", "arguments": {"profile_id": "12345"}}}]}], "tools": [{"type": "function", "function": {"name": "filter_and_query_naics_description", "description": "This function queries an endpoint to search by freeform text or NAICS code and retrieves a list of NAICS codes, hashes, and descriptions.", "parameters": {"type": "object", "properties": {"naics": {"type": "string", "description": "A 6-digit NAICS code to filter the search. If this parameter is provided, the `q` parameter is optional.", "default": "721110"}, "q": {"type": "string", "description": "A freeform text to search for industries. This must be at least 3 characters long. If this parameter is provided, the `naics` parameter is optional.", "default": "Hotel"}}, "required": ["naics", "q"]}}}, {"type": "function", "function": {"name": "search_results", "description": "Fetches the top 22 YouTube search results based on a provided query.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query string to use for retrieving YouTube search results.", "default": "interview preparation"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "v1_cars", "description": "Fetches car details from the API Ninjas Cars API endpoint based on given search criteria.", "parameters": {"type": "object", "properties": {"model": {"type": "string", "description": "Model of the vehicle. Default is 'corolla'.", "default": "corolla"}, "max_city_mpg": {"type": "string", "description": "Maximum city fuel efficiency in miles per gallon.", "default": ""}, "min_comb_mpg": {"type": "string", "description": "Minimum combined (city + highway) fuel efficiency in miles per gallon.", "default": ""}, "max_hwy_mpg": {"type": "string", "description": "Maximum highway fuel efficiency in miles per gallon.", "default": ""}, "fuel_type": {"type": "string", "description": "Type of fuel used. Possible values include 'gas', 'diesel', 'electricity'.", "default": ""}, "limit": {"type": "string", "description": "Number of results to return. Must be between 1 and 30. Default value is None.", "default": ""}, "drive": {"type": "string", "description": "Drive transmission. Possible values include 'fwd' (front-wheel drive), 'rwd' (rear-wheel drive), 'awd' (all-wheel drive), '4wd' (four-wheel drive).", "default": ""}, "max_comb_mpg": {"type": "string", "description": "Maximum combined (city + highway) fuel efficiency in miles per gallon.", "default": ""}, "make": {"type": "string", "description": "Vehicle manufacturer.", "default": ""}, "transmission": {"type": "string", "description": "Type of transmission. Possible values include 'manual', 'automatic'.", "default": ""}, "year": {"type": "string", "description": "Vehicle model year.", "default": ""}, "min_hwy_mpg": {"type": "string", "description": "Minimum highway fuel efficiency in miles per gallon.", "default": ""}, "min_city_mpg": {"type": "string", "description": "Minimum city fuel efficiency in miles per gallon.", "default": ""}, "cylinders": {"type": "string", "description": "Number of cylinders. Possible values include 2, 3, 4, 5, 6, 8, 10, 12, 16.", "default": ""}}, "required": ["model", "max_city_mpg", "min_comb_mpg", "max_hwy_mpg", "fuel_type", "limit", "drive", "max_comb_mpg", "make", "transmission", "year", "min_hwy_mpg", "min_city_mpg", "cylinders"]}}}, {"type": "function", "function": {"name": "get_profile_series", "description": "Fetches time series snapshots of a profile from the OutSystems Community API.", "parameters": {"type": "object", "properties": {"profile_id": {"type": "string", "description": "The unique identifier of the profile for which the time series snapshots are to be fetched.", "default": "yjjslxnjng"}}, "required": ["profile_id"]}}}], "meta": {"source_format": "D", "id": 33}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "UID 654321 的實體資訊是什麼?以及訂單 7 的詳細資訊為何?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_data_entity_uid", "arguments": {}}}, {"type": "function", "function": {"name": "getorderbyid", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "get_data_entity_uid", "description": "Fetches an entity record from the OFAC service using a unique identifier (UID).", "parameters": {"type": "object", "properties": {"uid": {"type": "integer", "description": "The unique identifier of the entity to retrieve.", "default": "7178"}}, "required": ["uid"]}}}, {"type": "function", "function": {"name": "check_1_param", "description": "This function checks the validity of a given VAT number using the RapidAPI service.", "parameters": {"type": "object", "properties": {"vat": {"type": "string", "description": "The VAT number to be checked, including the country code.", "default": "SK2121316722"}}, "required": ["vat"]}}}, {"type": "function", "function": {"name": "getorderbyid", "description": "Fetches the order details from the Petstore API using the provided order ID.", "parameters": {"type": "object", "properties": {"orderid": {"type": "integer", "description": "The ID of the order to be fetched. Must be an integer between 1 and 10.", "default": ""}}, "required": ["orderid"]}}}], "meta": {"source_format": "D", "id": 34}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請在位於「舊金山, 加州」的 Safeway 商店下單,訂購 3 顆蘋果、2 條麵包,以及 1 加侖牛奶。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "place_safeway_order", "arguments": {"location": "舊金山, 加州"}}}]}, {"role": "assistant", "content": ", quantity=[3, 2, 1])]"}], "tools": [{"type": "function", "function": {"name": "predict_evolution_rate", "description": "Predict the evolutionary rate for a specific species for a given timeframe.", "parameters": {"type": "object", "properties": {"species": {"type": "string", "description": "The species that the evolution rate will be predicted for.", "default": "Darwin"}, "years": {"type": "integer", "description": "Number of years for the prediction.", "default": "Darwin"}, "model": {"type": "string", "description": "The model used to make the prediction, options: 'Darwin', 'Lamarck', default is 'Darwin'."}}, "required": ["model"]}}}, {"type": "function", "function": {"name": "get_ip_location", "description": "Retrieves the latitude and longitude coordinates of a given IP address using the ip-api.com API.", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "The IP address to locate."}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "place_safeway_order", "description": "Order specified items from a Safeway location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location of the Safeway store, e.g., 'Palo Alto, CA'."}, "items": {"type": "array", "description": "List of items to order."}, "quantity": {"type": "array", "description": "Quantity of each item in the order list."}}, "required": ["items", "location", "quantity"]}}}, {"type": "function", "function": {"name": "structural_analysis", "description": "Performs structural analysis on a building based on its ID, floor numbers, and analysis mode.", "parameters": {"type": "object", "properties": {"building_id": {"type": "string", "description": "The unique identifier of the building.", "default": "static"}, "floor_numbers": {"type": "string", "description": "The list of floor numbers to be analyzed.", "default": "static"}, "analysis_mode": {"type": "string", "description": "The mode of analysis, either \"static\" or \"dynamic\". Defaults to \"static\"."}}, "required": ["analysis_mode"]}}}], "meta": {"source_format": "D", "id": 35}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "我需要ID為789的足球球員照片。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "players_photo", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "teams_affiliates_teamids", "description": "Query baseball team affiliates by team ID using the RapidAPI service.", "parameters": {"type": "object", "properties": {"teamids": {"type": "string", "description": "A comma-separated string of team IDs to query. Default is '145'.", "default": "145"}}, "required": ["teamids"]}}}, {"type": "function", "function": {"name": "games_esports", "description": "Fetches information about esports games for a given event ID using the SofaSport API.", "parameters": {"type": "object", "properties": {"event_id": {"type": "integer", "description": "The ID of the event to retrieve esports games for.", "default": "10289011"}}, "required": ["event_id"]}}}, {"type": "function", "function": {"name": "constructorstandingsafterarace", "description": "Fetches the constructor standings after a specific race in a given Formula 1 season.", "parameters": {"type": "object", "properties": {"year": {"type": "string", "description": "The year of the Formula 1 season.", "default": "year"}, "round": {"type": "string", "description": "The specific race round in the season.", "default": "round"}}, "required": ["year", "round"]}}}, {"type": "function", "function": {"name": "players_photo", "description": "Retrieves the photo of a soccer player given the player's ID using the Soccerway API.", "parameters": {"type": "object", "properties": {"player_id": {"type": "integer", "description": "The unique identifier of the soccer player.", "default": "177208"}}, "required": ["player_id"]}}}, {"type": "function", "function": {"name": "fighter", "description": "Fetches the details of a single fighter given their ID using the Spectation Sports Events API.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The unique identifier for the fighter to fetch.", "default": "1182"}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 36}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "消費者 'ABC123'、'DEF456' 和 'GHI789' 的個人資料是什麼?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "consumers_detail", "arguments": {"is_id": "ABC123"}}}, {"type": "function", "function": {"name": "consumers_detail", "arguments": {"is_id": "DEF456"}}}, {"type": "function", "function": {"name": "consumers_detail", "arguments": {"is_id": "GHI789"}}}]}], "tools": [{"type": "function", "function": {"name": "consumers_detail", "description": "Get detailed information of a consumer using the RapidAPI TrustPilot endpoint.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The ID of the consumer, as returned from the `/business-units/get-reviews` endpoint.", "default": "5f9c424654404f0019fb19fc"}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 37}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能幫我查找過去三個月 Netflix 和 Adobe 股票的每日歷史價格嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_3_month_historical_daily_prices", "arguments": {"ticker": "NFLX"}}}, {"type": "function", "function": {"name": "get_3_month_historical_daily_prices", "arguments": {"ticker": "ADBE"}}}]}], "tools": [{"type": "function", "function": {"name": "get_3_month_historical_daily_prices", "description": "Fetches 3 months of historical daily stock prices for the given ticker.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string", "description": "The stock ticker symbol to fetch historical prices for.", "default": "AAPL"}}, "required": ["ticker"]}}}, {"type": "function", "function": {"name": "getlistbysecuritiescode", "description": "Fetches the securities report data for a specified company using its securities code.", "parameters": {"type": "object", "properties": {"securities_code": {"type": "integer", "description": "The securities code of the company whose report data is to be fetched.", "default": "7203"}}, "required": ["securities_code"]}}}], "meta": {"source_format": "D", "id": 38}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你可以從 Wayfair 擷取根類別 ID 214970 的類別及其子類別嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "categories_list", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "categories_list", "description": "Fetches a list of categories and their recursive child categories from the Wayfair API.", "parameters": {"type": "object", "properties": {"caid": {"type": "integer", "description": "The category ID for which to list categories. The default root category is 214970.", "default": "214970"}}, "required": ["caid"]}}}, {"type": "function", "function": {"name": "users", "description": "Fetch all users from the specified API endpoint.", "parameters": {"type": "object", "properties": {"connection_string": {"type": "string", "description": "The connection string used to connect to the API.", "default": "the code gotten from the web"}}, "required": ["connection_string"]}}}, {"type": "function", "function": {"name": "qnas_list", "description": "Fetches a list of questions and answers related to a specific product from the RapidAPI Kohls service.", "parameters": {"type": "object", "properties": {"productid": {"type": "string", "description": "The identifier of the product for which to list questions and answers.", "default": "4201989"}, "sort": {"type": "string", "description": "The sorting order of the results. Default is 'SubmissionTime:desc'. Options include 'LastApprovedAnswerSubmissionTime:desc', 'LastApprovedAnswerSubmissionTime:asc', 'SubmissionTime:desc', and 'SubmissionTime:asc'.", "default": "SubmissionTime:desc"}, "offset": {"type": "string", "description": "The offset for paging through the results. Default is 0.", "default": "0"}, "limit": {"type": "string", "description": "The maximum number of results to return. Default is 6.", "default": "6"}}, "required": ["productid", "sort", "offset", "limit"]}}}], "meta": {"source_format": "D", "id": 39}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "從 EvoSiss 遊戲資料庫檢索第一頁的遊戲。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getgamelist", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "royal_matches", "description": "Fetch recent royal matches from the Trackmania API.", "parameters": {"type": "object", "properties": {"page": {"type": "integer", "description": "The page number of the results to fetch, where each page contains a defined number of results. The default is `0`.", "default": "0"}, "limit": {"type": "integer", "description": "The maximum number of results to return. The default is `50`.", "default": "50"}}, "required": ["page", "limit"]}}}, {"type": "function", "function": {"name": "v1_trivia", "description": "Fetches trivia questions from the API Ninjas Trivia API endpoint.", "parameters": {"type": "object", "properties": {"limit": {"type": "string", "description": "The number of trivia questions to return. Must be between 1 and 30. Default is 1.", "default": ""}, "category": {"type": "string", "description": "The category of trivia questions to filter by. Possible values are:", "default": ""}}, "required": ["limit", "category"]}}}, {"type": "function", "function": {"name": "getgamelist", "description": "Fetches a list of games from the EvoSiss Game Database API, returning their IDs and series names in JSON format.", "parameters": {"type": "object", "properties": {"page": {"type": "integer", "description": "The page number to retrieve from the game list.", "default": "0"}}, "required": ["page"]}}}, {"type": "function", "function": {"name": "matchmaking_matches", "description": "Fetch recent matchmaking matches with optional pagination and result limit.", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "The maximum number of match results to return. Default is 50.", "default": "50"}, "page": {"type": "integer", "description": "The page number for pagination, each containing 50 results. Default is 0.", "default": "0"}}, "required": ["limit", "page"]}}}], "meta": {"source_format": "D", "id": 40}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "查找過去一週有關英國 COVID-19 的文章。另請為「醫療科技」建議關鍵字。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "search", "arguments": {"q": "COVID-19", "gl": "UK", "tbs": "qdr:w"}}}, {"type": "function", "function": {"name": "autosuggest", "arguments": {"q": "醫療科技"}}}]}], "tools": [{"type": "function", "function": {"name": "search", "description": "Perform a Google search and retrieve the search results using the specified parameters.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "The search query term.", "default": "liverpool"}, "gl": {"type": "string", "description": "The geographic location of the search results (e.g., 'US'). Defaults to None.", "default": ""}, "cr": {"type": "string", "description": "The country of the search results (e.g., 'countryUS'). Defaults to None.", "default": ""}, "tbs": {"type": "string", "description": "The time-based search parameters (e.g., 'qdr:d' for past 24 hours). Defaults to None.", "default": ""}, "num": {"type": "string", "description": "The number of search results to return. Defaults to 20.", "default": "20"}, "start": {"type": "string", "description": "The index of the first result to return. Defaults to None.", "default": ""}, "hl": {"type": "string", "description": "The language of the search results (e.g., 'en'). Defaults to None.", "default": ""}}, "required": ["q", "gl", "cr", "tbs", "num", "start", "hl"]}}}, {"type": "function", "function": {"name": "states_search", "description": "Searches for specific states by name and returns a list of states matching the search query. The search can be limited by country and sorted by specified criteria.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "The search query string representing the name of the state to search for.", "default": "ut"}, "limit": {"type": "string", "description": "The maximum number of state results to return. Defaults to '50'.", "default": "50"}, "sortorder": {"type": "string", "description": "The order in which to sort results (e.g., 'asc' or 'desc'). Defaults to None.", "default": ""}, "sortby": {"type": "string", "description": "The field by which to sort results. Defaults to None.", "default": ""}, "country_id": {"type": "string", "description": "The ID of the country to filter results by. Defaults to None.", "default": ""}, "country_code": {"type": "string", "description": "The code of the country to filter results by. Defaults to None.", "default": ""}, "country_name": {"type": "string", "description": "The name of the country to filter results by. Defaults to None.", "default": ""}}, "required": ["q", "limit", "sortorder", "sortby", "country_id", "country_code", "country_name"]}}}, {"type": "function", "function": {"name": "autosuggest", "description": "Fetches and returns keyword autosuggestions from the RapidAPI service.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "The keyword to search for related suggestions. Default is 'rabbit'.", "default": "rabbit"}}, "required": ["q"]}}}, {"type": "function", "function": {"name": "vin_decoder_lite", "description": "This function decodes a given Vehicle Identification Number (VIN) using the RapidAPI VIN Decoder Lite service and returns the decoded information.", "parameters": {"type": "object", "properties": {"vin": {"type": "string", "description": "The Vehicle Identification Number (VIN) to be decoded. It must be 17 characters long.", "default": "5YJ3E1EA6PF384836"}}, "required": ["vin"]}}}], "meta": {"source_format": "D", "id": 41}} {"messages": [{"role": "system", "content": "您是一個樂於助人的助理。"}, {"role": "user", "content": "請擷取一則關於成功的勵志名言。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "motivation_quote", "arguments": {"quotes": "成功"}}}]}], "tools": [{"type": "function", "function": {"name": "following_by_username", "description": "Retrieve the list of users that the specified Instagram user is following, up to 1000 records.", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The Instagram username for which to retrieve the following list.", "default": "therock"}, "corsenabled": {"type": "string", "description": "Whether CORS is enabled. Defaults to None.", "default": ""}, "nextmaxid": {"type": "string", "description": "The next maximum ID for pagination. Defaults to None.", "default": ""}}, "required": ["username", "corsenabled", "nextmaxid"]}}}, {"type": "function", "function": {"name": "motivation_quote", "description": "Fetches a motivational quote from the Olato Quotes API.", "parameters": {"type": "object", "properties": {"quotes": {"type": "string", "description": "Type of quotes to fetch. Default is 'random quotes'.", "default": "random quotes"}}, "required": ["quotes"]}}}], "meta": {"source_format": "D", "id": 42}} {"messages": [{"role": "system", "content": "您是一個樂於助人的助理。"}, {"role": "user", "content": "列出德國的語言。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "language_list", "arguments": {"country": "DE"}}}]}], "tools": [{"type": "function", "function": {"name": "rental_settings", "description": "python", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location for which the rental settings are to be fetched.", "default": "santa monica"}, "currency": {"type": "string", "description": "The currency in which the rental settings should be returned. Defaults to None.", "default": ""}}, "required": ["location", "currency"]}}}, {"type": "function", "function": {"name": "get_breed_information", "description": "Fetch information about a specific cat breed from the Cat Breeds API.", "parameters": {"type": "object", "properties": {"breed": {"type": "string", "description": "The name of the cat breed to fetch information for.", "default": "aegean"}}, "required": ["breed"]}}}, {"type": "function", "function": {"name": "language_list", "description": "Fetches the list of valid languages for the given country using the Real Time News Data API.", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "The country code (ISO 3166-1 alpha-2) of the country to get languages for.", "default": "US"}}, "required": ["country"]}}}], "meta": {"source_format": "D", "id": 43}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "您能提供 Rakuten(樂天)的有價證券報告嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getlistbysecuritiescode", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "getlistbysecuritiescode", "description": "Fetches the securities report data for a specified company using its securities code.", "parameters": {"type": "object", "properties": {"securities_code": {"type": "integer", "description": "The securities code of the company whose report data is to be fetched.", "default": "7203"}}, "required": ["securities_code"]}}}], "meta": {"source_format": "D", "id": 44}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "找出已旋轉排序陣列 [4, 5, 6, 7, 0, 1, 2] 中的最小元素。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "find_minimum_rotated_sorted_array", "arguments": {}}}]}, {"role": "assistant", "content": ")]"}], "tools": [{"type": "function", "function": {"name": "find_minimum_rotated_sorted_array", "description": "Finds the minimum element in a rotated sorted array.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The rotated sorted array."}}, "required": ["nums"]}}}, {"type": "function", "function": {"name": "find_n_largest_numbers", "description": "Finds the n largest numbers in a list.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of numbers."}, "n": {"type": "integer", "description": "The number of largest numbers to find."}}, "required": ["n", "nums"]}}}], "meta": {"source_format": "D", "id": 45}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "系統在季節性服裝方面對「autum」和「winer」提供了哪些建議?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "auto_complete_deprecating", "arguments": {"query": "秋季"}}}, {"type": "function", "function": {"name": "auto_complete_deprecating", "arguments": {"query": "冬季"}}}]}], "tools": [{"type": "function", "function": {"name": "auto_complete_deprecating", "description": "Fetch auto-complete suggestions for a given query from the specified API.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The term or phrase for which to get suggestions.", "default": "bikini tops"}}, "required": ["query"]}}}], "meta": {"source_format": "D", "id": 46}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "longest_common_prefix", "arguments": {}}}]}, {"role": "assistant", "content": ")]"}], "tools": [{"type": "function", "function": {"name": "calculate_age", "description": "Calculates the age based on the birthdate.", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate in the format 'YYYY-MM-DD'."}}, "required": ["birthdate"]}}}, {"type": "function", "function": {"name": "find_first_non_repeating_char", "description": "Finds the first non-repeating character in a string.", "parameters": {"type": "object", "properties": {"s": {"type": "string", "description": "The input string."}}, "required": ["s"]}}}, {"type": "function", "function": {"name": "longest_common_prefix", "description": "Finds the longest common prefix among a list of strings.", "parameters": {"type": "object", "properties": {"strs": {"type": "string", "description": "The list of strings."}}, "required": ["strs"]}}}, {"type": "function", "function": {"name": "is_palindrome", "description": "Checks if a string is a palindrome.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input string."}}, "required": ["text"]}}}], "meta": {"source_format": "D", "id": 47}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請從第5筆開始,檢索 Delray Beach 最便宜的 15 間聯排住宅。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getlistings", "arguments": {"sort": "PRICE_LOW", "city": "Delray Beach"}}}]}], "tools": [{"type": "function", "function": {"name": "getlistings", "description": "Retrieve a list of condominiums and townhouses in specified cities of Southwest Florida and the East Coast.", "parameters": {"type": "object", "properties": {"sort": {"type": "string", "description": "Defines how the listings should be sorted. Supported values are 'RELEVANCE' (best match), 'NEWEST' (newest first), 'PRICE_LOW' (cheapest first), and 'PRICE_HIGH' (most expensive first). Default is 'RELEVANCE'.", "default": "RELEVANCE"}, "offset": {"type": "integer", "description": "For pagination. Specifies the starting point in the collection of listings. For example, to get the first set of items, set offset to 0. Default is 0.", "default": "0"}, "price_max": {"type": "integer", "description": "The maximum price in US dollars for the condos and townhouses. Default is 250,000.", "default": "250000"}, "city": {"type": "string", "description": "The name of the city to search within. Supported cities include Cape Coral, Fort Myers, West Palm Beach, Lake Worth, Lantana, Boynton Beach, Delray Beach, Boca Raton, Pompano Beach, Fort Lauderdale, Naples, Tampa, and Saint Petersburg. Default is 'Cape Coral'.", "default": "Cape Coral"}, "limit": {"type": "integer", "description": "The maximum number of items to return. Default is 50.", "default": "50"}}, "required": ["sort", "offset", "price_max", "city", "limit"]}}}], "meta": {"source_format": "D", "id": 48}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "你可以取得一個「dirty」類型的喝酒挑戰,以及某個 YouTube 頻道的最新短影片嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_random_challange", "arguments": {"type": "dirty"}}}, {"type": "function", "function": {"name": "channel_videos", "arguments": {"is_id": "UC-lHJZR3Gqxm24_Vd_AJ5Yw", "filter": "shorts_latest"}}}]}], "tools": [{"type": "function", "function": {"name": "autocomplete_search", "description": "Search for titles and/or people by name or partial name, useful for building an autocomplete feature. The results include a `result_type` field indicating whether the result is a title or a person, along with an `image_url` for movie posters or headshots.", "parameters": {"type": "object", "properties": {"search_value": {"type": "string", "description": "The phrase to search for, which can be a full title or person name, or a partial phrase. For example, searching for \"The sha\" will find the movie \"The Shawshank Redemption\".", "default": "Breaking Bad"}, "search_type": {"type": "string", "description": "Determines the type of search results. 1 includes titles and people (default), 2 includes titles only, 3 includes movies only, 4 includes TV shows only, and 5 includes people only.", "default": "1"}}, "required": ["search_value", "search_type"]}}}, {"type": "function", "function": {"name": "get_random_challange", "description": "Fetch a random challenge from the specified API, with an option to specify the type of challenge.", "parameters": {"type": "object", "properties": {"type": {"type": "string", "description": "The type of challenge to fetch. Options are 'funny', 'dirty', 'sport'. Defaults to 'funny'.", "default": "funny"}}, "required": ["type"]}}}, {"type": "function", "function": {"name": "channel_videos", "description": "Fetches videos from a specified YouTube channel using RapidAPI.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "YouTube channel ID, default is 'UC-lHJZR3Gqxm24_Vd_AJ5Yw'.", "default": "UC-lHJZR3Gqxm24_Vd_AJ5Yw"}, "hl": {"type": "string", "description": "Language parameter for the results, default is 'en'.", "default": "en"}, "filter": {"type": "string", "description": "Filter key to determine the type of videos returned. Can be 'videos_latest', 'streams_latest', 'shorts_latest', or 'live_now'. Default is None.", "default": ""}, "cursor": {"type": "string", "description": "Cursor for pagination, default is None.", "default": ""}, "gl": {"type": "string", "description": "Geolocation parameter, default is 'US'.", "default": "US"}}, "required": ["is_id", "hl", "filter", "cursor", "gl"]}}}], "meta": {"source_format": "D", "id": 49}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "擷取推特貼文 ID '1380500000000000000' 的前 15 則留言,並以每批 25 名追蹤者的方式取得使用者 'instagram_user_id_543' 的追蹤者。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_post_comments", "arguments": {"pid": "1380500000000000000", "count": "15"}}}, {"type": "function", "function": {"name": "followers", "arguments": {"user_id": "instagram_user_id_543"}}}]}], "tools": [{"type": "function", "function": {"name": "get_post_comments", "description": "Fetch comments for a given Twitter post using its post ID.", "parameters": {"type": "object", "properties": {"pid": {"type": "string", "description": "The post ID for which to retrieve comments.", "default": "1552735248026411010"}, "count": {"type": "string", "description": "The number of comments to retrieve.", "default": "40"}, "cursor": {"type": "string", "description": "Cursor for pagination to retrieve the next set of comments. Defaults to None.", "default": ""}}, "required": ["pid", "count", "cursor"]}}}, {"type": "function", "function": {"name": "user_by_rest_id", "description": "Fetches user details from the RapidAPI Twitter endpoint using the provided user ID.", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The Twitter user ID for which to fetch details.", "default": "44196397"}}, "required": ["user_id"]}}}, {"type": "function", "function": {"name": "followers", "description": "Retrieves the list of followers for a given Instagram user.", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The ID of the Instagram user whose followers are to be retrieved.", "default": "25025320"}, "batch_size": {"type": "string", "description": "The number of followers to retrieve in one batch. Default is 20.", "default": "20"}, "next_cursor": {"type": "string", "description": "A cursor for pagination to fetch the next set of followers. Default is None.", "default": ""}}, "required": ["user_id", "batch_size", "next_cursor"]}}}, {"type": "function", "function": {"name": "music_posts", "description": "Fetches posts related to a specific music ID from the TikTok API.", "parameters": {"type": "object", "properties": {"music_id": {"type": "string", "description": "The ID of the music for which to fetch posts.", "default": ""}, "count": {"type": "string", "description": "Number of posts to fetch. Defaults to 10.", "default": "10"}, "offset": {"type": "string", "description": "Number of posts to skip before starting to collect the posts. Defaults to 0.", "default": "0"}, "proxy": {"type": "string", "description": "Proxy server to use for the request. Defaults to None.", "default": ""}}, "required": ["music_id", "count", "offset", "proxy"]}}}, {"type": "function", "function": {"name": "tweet_retweets", "description": "Fetches the retweets for a given tweet.", "parameters": {"type": "object", "properties": {"tweetid": {"type": "string", "description": "The ID of the tweet for which to retrieve retweets.", "default": "1668868113725550592"}, "count": {"type": "string", "description": "The number of retweets to retrieve. Defaults to '20'.", "default": "20"}, "cursor": {"type": "string", "description": "Cursor for pagination to fetch the next set of retweets.", "default": ""}}, "required": ["tweetid", "count", "cursor"]}}}, {"type": "function", "function": {"name": "user_info", "description": "Retrieve TikTok user information by username using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The TikTok username of the user whose information is to be retrieved.", "default": "therock"}}, "required": ["username"]}}}, {"type": "function", "function": {"name": "tweet_detail_conversation", "description": "Fetches the details and conversation of a tweet using the provided tweet ID and optional cursor.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The ID of the tweet for which details and conversation need to be fetched.", "default": "1485953263040188416"}, "cursor": {"type": "string", "description": "The cursor value for pagination to fetch additional results. Defaults to None.", "default": ""}}, "required": ["is_id", "cursor"]}}}], "meta": {"source_format": "D", "id": 50}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請提供 Twitter 使用者 ID '1234567890' 的詳細資料,並擷取 Instagram 使用者 ID 9876543210 的動態?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "user_by_rest_id", "arguments": {"user_id": "1234567890"}}}, {"type": "function", "function": {"name": "get_user_feed", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "user_search", "description": "Fetches Instagram users based on a given keyword.", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for Instagram users.", "default": "insta"}}, "required": ["keyword"]}}}, {"type": "function", "function": {"name": "user_by_rest_id", "description": "Fetches user details from the RapidAPI Twitter endpoint using the provided user ID.", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The Twitter user ID for which to fetch details.", "default": "44196397"}}, "required": ["user_id"]}}}, {"type": "function", "function": {"name": "get_user_tweets", "description": "Fetches tweets for a specified user using the provided RapidAPI key.", "parameters": {"type": "object", "properties": {"count": {"type": "string", "description": "The number of tweets to retrieve.", "default": "20"}, "user": {"type": "string", "description": "The ID of the user whose tweets are to be fetched.", "default": "2455740283"}, "cursor": {"type": "string", "description": "The cursor for pagination. Default is None.", "default": ""}}, "required": ["count", "user", "cursor"]}}}, {"type": "function", "function": {"name": "avatar", "description": "Generates an avatar with the initials derived from the given name and various customization options.", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name from which to derive the initials. Default is 'john doe'.", "default": "john doe"}, "rounded": {"type": "string", "description": "If True, the avatar will be rounded. Default is None.", "default": true}, "uppercase": {"type": "string", "description": "If True, the initials will be in uppercase. Default is None.", "default": true}, "font_size": {"type": "string", "description": "The font size of the initials, ranging from 0 to 1. Default is 0.", "default": "0.5"}, "length": {"type": "string", "description": "The number of initials to display. Default is 2.", "default": "2"}, "size": {"type": "string", "description": "The font size of the initials, ranging from 0 to 1. Default is 0.", "default": "128"}, "background": {"type": "string", "description": "The background color of the avatar in RRGGBB hex format. Default is '000000'.", "default": "000000"}, "color": {"type": "string", "description": "The color of the initials in RRGGBB hex format. Default is 'ffffff'.", "default": "ffffff"}}, "required": ["name", "rounded", "uppercase", "font_size", "length", "size", "background", "color"]}}}, {"type": "function", "function": {"name": "get_user_feed", "description": "Fetch the feed of an Instagram user using the provided user ID via the RapidAPI service.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The user ID of the Instagram account to fetch the feed for.", "default": "25025320"}, "max_id": {"type": "string", "description": "The maximum ID for pagination in the feed. Defaults to '2796754904080592191_25025320'.", "default": "2796754904080592191_25025320"}}, "required": ["is_id", "max_id"]}}}], "meta": {"source_format": "D", "id": 51}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請擷取 Pinterest 使用者 'fashion_insider' 的個人資料。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_user_profile", "arguments": {"username": "fashion_insider"}}}]}], "tools": [{"type": "function", "function": {"name": "get_user_profile", "description": "Fetches the user profile from the Pinterest API using the provided username.", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The Pinterest username for which to retrieve the profile information.", "default": "0869178429hau"}}, "required": ["username"]}}}], "meta": {"source_format": "D", "id": 52}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "檢查該數獨盤面是否有效並抽一張牌。該盤面的數字填寫方式應使每一行、每一列和每個3x3小宮都包含1到9且不重複。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "is_valid_sudoku", "arguments": {}}}, {"type": "function", "function": {"name": "draw_cards", "arguments": {}}}]}, {"role": "assistant", "content": ", [6, \".\", \".\", 1, 9, 5, \".\", \".\", \".\"], [\".\", 9, 8, \".\", \".\", \".\", \".\", 6, \".\"], [8, \".\", \".\", \".\", 6, \".\", \".\", \".\", 3], [4, \".\", \".\", 8, \".\", 3, \".\", \".\", 1], [7, \".\", \".\", \".\", 2, \".\", \".\", \".\", 6], [\".\", 6, \".\", \".\", \".\", \".\", 2, 8, \".\"], [\".\", \".\", \".\", 4, 1, 9, \".\", \".\", 5], [\".\", \".\", \".\", \".\", 8, \".\", \".\", 7, 9]]), draw_cards(num_draw=1)]"}], "tools": [{"type": "function", "function": {"name": "draw_cards", "description": "Shuffles a standard deck of 52 cards and draws a specified number of cards from the top.", "parameters": {"type": "object", "properties": {"num_draw": {"type": "string", "description": "The number of cards to be drawn. Defaults to 1.", "default": 1}}, "required": ["num_draw"]}}}, {"type": "function", "function": {"name": "min_meeting_rooms", "description": "Finds the minimum number of meeting rooms required to accommodate all meetings.", "parameters": {"type": "object", "properties": {"intervals": {"type": "string", "description": "A list of meeting time intervals, where each interval is represented as [start_time, end_time]."}}, "required": ["intervals"]}}}, {"type": "function", "function": {"name": "is_valid_sudoku", "description": "Checks if a 9x9 Sudoku board is valid.", "parameters": {"type": "object", "properties": {"board": {"type": "string", "description": "The Sudoku board represented as a 2D list of strings."}}, "required": ["board"]}}}, {"type": "function", "function": {"name": "calculate_electric_field", "description": "Calculate the electric field produced by a charge at a certain distance.", "parameters": {"type": "object", "properties": {"charge": {"type": "integer", "description": "Charge in coulombs producing the electric field.", "default": 8.854e-12}, "distance": {"type": "integer", "description": "Distance from the charge in meters where the field is being measured.", "default": 8.854e-12}, "permitivity": {"type": "number", "description": "Permitivity of the space where field is being calculated, default is 8.854e-12."}}, "required": ["permitivity"]}}}], "meta": {"source_format": "D", "id": 53}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請取得 TikTok 使用者 '987654321' 的追蹤名單(following)與該使用者的追蹤者(followers),每個名單各取 150 筆。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_user_following_list", "arguments": {"user_id": "987654321", "count": "150"}}}, {"type": "function", "function": {"name": "get_user_follow_list", "arguments": {"sec_uid": "987654321", "type": "followers"}}}]}], "tools": [{"type": "function", "function": {"name": "net", "description": "Checks if a .net domain name is registered using the RapidAPI 'check-username' service.", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The .net domain name to check for registration.", "default": "testdomain"}}, "required": ["name"]}}}, {"type": "function", "function": {"name": "get_user_following_list", "description": "Retrieves the list of users that a specific TikTok user is following.", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The ID of the TikTok user whose following list is to be retrieved.", "default": "107955"}, "count": {"type": "string", "description": "The number of following users to retrieve, with a maximum value of 200. Defaults to '50'.", "default": "50"}, "time": {"type": "string", "description": "The time parameter for loading the next page if there are more followers to retrieve. Defaults to '0'.", "default": "0"}}, "required": ["user_id", "count", "time"]}}}, {"type": "function", "function": {"name": "get_hashtag", "description": "Fetches detailed information about a specific Instagram hashtag using the provided API key.", "parameters": {"type": "object", "properties": {"tag": {"type": "string", "description": "The name of the hashtag to search for.", "default": "love"}}, "required": ["tag"]}}}, {"type": "function", "function": {"name": "get_user_follow_list", "description": "Fetches the follow list (followers or followings) of a TikTok user based on the given parameters.", "parameters": {"type": "object", "properties": {"sec_uid": {"type": "string", "description": "The unique ID of the TikTok user.", "default": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"}, "type": {"type": "string", "description": "The type of follow list to fetch (\"followers\" or \"following\").", "default": ""}, "maxcursor": {"type": "string", "description": "The maximum cursor for pagination. Defaults to 0.", "default": "0"}, "count": {"type": "string", "description": "The number of results to fetch. Defaults to 50.", "default": "50"}, "mincursor": {"type": "string", "description": "The minimum cursor for pagination. Defaults to 0.", "default": "0"}}, "required": ["sec_uid", "type", "maxcursor", "count", "mincursor"]}}}], "meta": {"source_format": "D", "id": 54}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "從第1頁取得最新的 AI 專案,並在 Tirto 搜尋「數位轉型」,頁碼為1,結果上限為5筆。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getprojects", "arguments": {}}}, {"type": "function", "function": {"name": "tirto_search", "arguments": {"limit": "5", "q": "數位轉型", "page": "1"}}}]}], "tools": [{"type": "function", "function": {"name": "getprojects", "description": "Fetches artificial intelligence projects from the specified page using the provided RapidAPI key.", "parameters": {"type": "object", "properties": {"page": {"type": "integer", "description": "The page number of the projects to retrieve.", "default": "1"}}, "required": ["page"]}}}, {"type": "function", "function": {"name": "tirto_search", "description": "Searches Tirto news data using the RapidAPI interface.", "parameters": {"type": "object", "properties": {"limit": {"type": "string", "description": "The maximum number of search results to return.", "default": "10"}, "q": {"type": "string", "description": "The query string to search for in Tirto news articles.", "default": "banjir"}, "page": {"type": "string", "description": "The page number for paginated results.", "default": "1"}}, "required": ["limit", "q", "page"]}}}, {"type": "function", "function": {"name": "get_individual_news_from_source", "description": "Fetch LGBTQ+ related news from a specific newspaper using the newspaper's ID.", "parameters": {"type": "object", "properties": {"newspaperid": {"type": "string", "description": "The unique identifier of the newspaper from which to retrieve news.", "default": "gaytimes"}}, "required": ["newspaperid"]}}}], "meta": {"source_format": "D", "id": 55}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "我需要一份 Canvas 類型的分類列表,請同時提供英文與法文。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "canvas_genres_list", "arguments": {"language": "en"}}}, {"type": "function", "function": {"name": "canvas_genres_list", "arguments": {"language": "fr"}}}]}], "tools": [{"type": "function", "function": {"name": "canvas_genres_list", "description": "Fetches a list of genres in the canvas category from the Webtoon API.", "parameters": {"type": "object", "properties": {"language": {"type": "string", "description": "The language in which to return the genres. Acceptable values are 'en', 'zh-hant', 'de', 'fr', 'es', 'th', and 'id'. Default is 'en'.", "default": "en"}}, "required": ["language"]}}}], "meta": {"source_format": "D", "id": 56}} {"messages": [{"role": "system", "content": "你是位樂於助人的助理。"}, {"role": "user", "content": "我需要在 Wayfair 上搜尋「裝飾燈」,第 2 頁,每頁 24 件,並且取得店鋪 400 的 TCINs 55566 和 77788 的推薦商品。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "products_search", "arguments": {"keyword": "裝飾燈"}}}, {"type": "function", "function": {"name": "products_v2_list_recommended", "arguments": {}}}, {"type": "function", "function": {"name": "products_v2_list_recommended", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "products_get_reviews", "description": "Fetches brief reviews of a product from the Shein API.", "parameters": {"type": "object", "properties": {"goods_spu": {"type": "string", "description": "The value of 'productRelationID' returned in the /products/list or /products/search endpoints. Defaults to 'm22022854841'.", "default": "m22022854841"}, "cat_id": {"type": "string", "description": "The value of 'cat_id' returned in the /products/list or /products/search endpoints. Defaults to '1727'.", "default": "1727"}, "sku": {"type": "string", "description": "The value of 'goods_sn' returned in the /products/list or /products/search endpoints. Defaults to 'rm2202285484176751'.", "default": "rm2202285484176751"}, "currency": {"type": "string", "description": "The 3-letter currency code. Defaults to 'USD'.", "default": "USD"}, "goods_id": {"type": "string", "description": "The value of 'goods_id' field returned in the /products/list or /products/search endpoints. Defaults to '10196865'.", "default": "10196865"}, "language": {"type": "string", "description": "The 2-letter language code. Defaults to 'en'.", "default": "en"}, "country": {"type": "string", "description": "The 2-letter country code. Defaults to 'US'.", "default": "US"}}, "required": ["goods_spu", "cat_id", "sku", "currency", "goods_id", "language", "country"]}}}, {"type": "function", "function": {"name": "get_likecounts_by_itemids_styleids", "description": "Retrieves like counts for specified item IDs and style IDs from the Zappos API.", "parameters": {"type": "object", "properties": {"siteid": {"type": "integer", "description": "The ID representing the site.", "default": "1"}, "itemids": {"type": "integer", "description": "The IDs representing the items/styles.", "default": "15651"}}, "required": ["siteid", "itemids"]}}}, {"type": "function", "function": {"name": "products_v2_list_recommended", "description": "This function retrieves a list of recommended products from the Target API based on a given store ID and TCINs.", "parameters": {"type": "object", "properties": {"store_id": {"type": "integer", "description": "The ID of the store for which to get recommendations. This value should match the location ID returned from a previous call to the stores/list endpoint.", "default": "911"}, "tcins": {"type": "integer", "description": "The TCINs (Target.com Item Numbers) for which to get product recommendations. This value should come from a previous call to the products/list endpoint.", "default": "54191097"}}, "required": ["store_id", "tcins"]}}}, {"type": "function", "function": {"name": "products_search", "description": "Search for products by a specified keyword and optional filters, with support for pagination and sorting.", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The term or phrase to search for related products.", "default": "light shaded room"}, "filters": {"type": "string", "description": "Filters to apply to the product search results. Multiple filters can be specified using the format `key~value`. For example, 'colorList~White&masterClID~180'.", "default": ""}, "curpage": {"type": "string", "description": "The current page number for paginated results. Default is 1.", "default": "1"}, "itemsperpage": {"type": "string", "description": "The number of items to display per page. Default is 48.", "default": "48"}, "sortby": {"type": "string", "description": "The field by which to sort the results. Default is 0.", "default": "0"}}, "required": ["keyword", "filters", "curpage", "itemsperpage", "sortby"]}}}], "meta": {"source_format": "D", "id": 57}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "請提供 Fish API 中「Carp」和「Eel」的資訊。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "fish_api_fish_name", "arguments": {"name": "Carp"}}}, {"type": "function", "function": {"name": "fish_api_fish_name", "arguments": {"name": "Eel"}}}]}], "tools": [{"type": "function", "function": {"name": "fish_api_fish_name", "description": "Fetch information for a specific fish from the Fish API.", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "Name of the fish to be found.", "default": "Tarpon"}}, "required": ["name"]}}}, {"type": "function", "function": {"name": "getsamples", "description": "Fetches Power BI samples for a given page number using RapidAPI.", "parameters": {"type": "object", "properties": {"page": {"type": "integer", "description": "The page number of the samples to fetch.", "default": "1"}}, "required": ["page"]}}}], "meta": {"source_format": "D", "id": 58}} {"messages": [{"role": "system", "content": "您是個樂於助人的助理。"}, {"role": "user", "content": "請判斷 144 與 60 的最大公因數。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "greatest_common_divisor", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "polygon_area_shoelace", "description": "Calculates the area of a polygon using the shoelace formula.", "parameters": {"type": "object", "properties": {"vertices": {"type": "string", "description": "A list of polygon vertices represented as tuples (x, y)."}}, "required": ["vertices"]}}}, {"type": "function", "function": {"name": "california_alimony", "description": "Calculates the total alimony one spouse would have to pay to the other in California over a given duration.", "parameters": {"type": "object", "properties": {"payor_monthly_income": {"type": "integer", "description": "The monthly gross income of the payor spouse."}, "recipient_monthly_income": {"type": "integer", "description": "The monthly gross income of the recipient spouse."}, "duration_years": {"type": "integer", "description": "The duration of the alimony in years."}}, "required": ["duration_years", "payor_monthly_income", "recipient_monthly_income"]}}}, {"type": "function", "function": {"name": "greatest_common_divisor", "description": "Computes the greatest common divisor (GCD) of two non-negative integers.", "parameters": {"type": "object", "properties": {"a": {"type": "integer", "description": "The first non-negative integer."}, "b": {"type": "integer", "description": "The second non-negative integer."}}, "required": ["a", "b"]}}}], "meta": {"source_format": "D", "id": 59}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請為位於 'https://example.com/sample.jpg' 的圖片,在英國以英語搜尋視覺相似項及文字偵測。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "image_search", "arguments": {"url": "https://example.com/sample.jpg", "country": "uk", "language": "en"}}}]}], "tools": [{"type": "function", "function": {"name": "country_region_cities", "description": "Fetches a list of cities within a specified region of a given country from the GeoDB API.", "parameters": {"type": "object", "properties": {"countryid": {"type": "string", "description": "An ISO-3166 country code or WikiData ID.", "default": "US"}, "regioncode": {"type": "string", "description": "An ISO-3166 or FIPS region code.", "default": "CA"}, "limit": {"type": "string", "description": "The maximum number of results to retrieve. Defaults to None.", "default": ""}, "hateoasmode": {"type": "string", "description": "Include HATEOAS-style links in results. Defaults to None.", "default": ""}, "asciimode": {"type": "string", "description": "Display results using ASCII characters. Defaults to None.", "default": ""}, "nameprefixdefaultlangresults": {"type": "string", "description": "Match on names in the default language if a non-default language is requested when prefix-matching. Defaults to None.", "default": ""}, "timezoneids": {"type": "string", "description": "Only include cities in these time zones. Comma-separated values. Defaults to None.", "default": ""}, "nameprefix": {"type": "string", "description": "Only include cities whose names start with this prefix. If languagecode is set, the prefix will be matched on the name as it appears in that language. Defaults to None.", "default": ""}, "types": {"type": "string", "description": "Only include cities of these types (comma-separated): CITY, ADM2. Defaults to None.", "default": ""}, "minpopulation": {"type": "string", "description": "Only include cities with at least this population. Defaults to None.", "default": ""}, "languagecode": {"type": "string", "description": "Display results in this language. Defaults to None.", "default": ""}, "offset": {"type": "string", "description": "The zero-based offset into the results. Defaults to None.", "default": ""}, "maxpopulation": {"type": "string", "description": "Only include cities with no more than this population. Defaults to None.", "default": ""}, "includedeleted": {"type": "string", "description": "Whether to include any cities marked deleted. Options are: ALL, SINCE_YESTERDAY, SINCE_LAST_WEEK, NONE. Defaults to None.", "default": ""}, "sort": {"type": "string", "description": "How to sort the results. Format: ±SORT_FIELD,±SORT_FIELD where SORT_FIELD = elevation, name, population. Defaults to None.", "default": ""}}, "required": ["countryid", "regioncode", "limit", "hateoasmode", "asciimode", "nameprefixdefaultlangresults", "timezoneids", "nameprefix", "types", "minpopulation", "languagecode", "offset", "maxpopulation", "includedeleted", "sort"]}}}, {"type": "function", "function": {"name": "image_search", "description": "Search for images using a given URL and retrieve visual matches, knowledge graph information, products and prices, and text and object detections.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "URL of an image to perform Google Lens search.", "default": "https://i.imgur.com/HBrB8p0.png"}, "country": {"type": "string", "description": "The country code for the search. Defaults to 'us'.", "default": "us"}, "language": {"type": "string", "description": "The language code for the results. Defaults to 'en'.", "default": "en"}}, "required": ["url", "country", "language"]}}}, {"type": "function", "function": {"name": "google_maps_reviews", "description": "Fetches and returns JSON data of Google Maps reviews based on the specified parameters.", "parameters": {"type": "object", "properties": {"data_id": {"type": "string", "description": "Unique identifier representing the location or place on Google Maps for which reviews are fetched.", "default": "0x89c25090129c363d:0x40c6a5770d25022b"}, "next_page_token": {"type": "string", "description": "Token to fetch the next page of results, if applicable. Default is None.", "default": ""}, "sort_by": {"type": "string", "description": "Criteria to sort the reviews by. Could be relevance, newest, etc. Default is None.", "default": ""}, "topic_id": {"type": "string", "description": "Identifier for a specific topic to filter reviews by. Default is None.", "default": ""}, "hl": {"type": "string", "description": "Language code to return the reviews in, formatted as language_country (e.g., 'en_us'). Default is 'en_us'.", "default": "en_us"}}, "required": ["data_id", "next_page_token", "sort_by", "topic_id", "hl"]}}}, {"type": "function", "function": {"name": "get_a_specific_picture", "description": "Fetches a specific motivational picture using the provided picture ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The ID of the motivational picture to fetch.", "default": "2710271472860038475"}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 60}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "我正在尋找 ID 'diyProjects' 的影片網址,以及 'fitnessGoals' 播放清單的內容。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_video_urls", "arguments": {"is_id": "diyProjects"}}}, {"type": "function", "function": {"name": "playlist", "arguments": {"is_id": "fitnessGoals"}}}]}], "tools": [{"type": "function", "function": {"name": "get_video_urls", "description": "Retrieves video or shorts URLs from YouTube using a provided video ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The YouTube video ID for which the URLs are to be fetched.", "default": "ppCIVJE3my4"}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "playlist", "description": "Fetch the details of a YouTube playlist using the provided API key.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The ID of the YouTube playlist.", "default": "PLV3BLrRejJR_8XjiMrbev1_7RjIZTg1qb"}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 61}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請擷取 Billboard 在 2023 年 7 月 4 日開始的那一週的目錄專輯。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "catalog_albums", "arguments": {"week": "2023-07-04"}}}]}], "tools": [{"type": "function", "function": {"name": "catalog_albums", "description": "Fetch catalog album data from the Billboard API for a specified week.", "parameters": {"type": "object", "properties": {"week": {"type": "string", "description": "The week for which to fetch the catalog albums chart in the format 'YYYY-MM-DD'. Defaults to '2022-10-08'.", "default": "2022-10-08"}}, "required": ["week"]}}}, {"type": "function", "function": {"name": "get_radio_playlist", "description": "Fetches a radio playlist for a given artist or song using the Spotify API.", "parameters": {"type": "object", "properties": {"uri": {"type": "string", "description": "The URI of the artist or song for which to generate the radio playlist.", "default": "spotify:artist:2w9zwq3AktTeYYMuhMjju8"}}, "required": ["uri"]}}}], "meta": {"source_format": "D", "id": 62}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "gettotalsolved", "arguments": {"username": "Alice"}}}, {"type": "function", "function": {"name": "get_all_posts", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "gettotalsolved", "description": "Fetches the total number of questions solved by the given LeetCode user.", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The LeetCode username of the user whose solved questions are to be retrieved.", "default": "mujtabah258"}}, "required": ["username"]}}}, {"type": "function", "function": {"name": "get_all_posts", "description": "Retrieves a paginated list of all posts from the API.", "parameters": {"type": "object", "properties": {"per_page": {"type": "string", "description": "The number of posts to retrieve per page. Defaults to 10.", "default": "10"}, "page": {"type": "string", "description": "The number of posts to retrieve per page. Defaults to 10.", "default": "1"}}, "required": ["per_page", "page"]}}}], "meta": {"source_format": "D", "id": 63}} {"messages": [{"role": "system", "content": "您是個樂於助人的助理。"}, {"role": "user", "content": "對於被歸類為中等難度的品系,生長條件為何?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "difficulty", "arguments": {"difficulty": "medium"}}}]}], "tools": [{"type": "function", "function": {"name": "difficulty", "description": "Fetches weed strain information based on the difficulty of growing (easy, medium, or difficult).", "parameters": {"type": "object", "properties": {"difficulty": {"type": "string", "description": "The difficulty level of growing the strain. Acceptable values are 'easy', 'medium', or 'difficult'.", "default": "medium"}}, "required": ["difficulty"]}}}, {"type": "function", "function": {"name": "obd2_code", "description": "Retrieve the human-readable version of a requested OBD2 code using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "The OBD2 code to be translated into human-readable format.", "default": "P0001"}}, "required": ["code"]}}}], "meta": {"source_format": "D", "id": 64}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "距離一個 2 庫侖電荷 3 公尺處的電場強度是多少?以及距離一個 3 庫侖電荷 4 公尺處的電場強度是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "calculate_electric_field", "arguments": {}}}, {"type": "function", "function": {"name": "calculate_electric_field", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "calculate_electric_field", "description": "Calculate the electric field produced by a charge at a certain distance.", "parameters": {"type": "object", "properties": {"charge": {"type": "integer", "description": "Charge in coulombs producing the electric field.", "default": 8.854e-12}, "distance": {"type": "integer", "description": "Distance from the charge in meters where the field is being measured.", "default": 8.854e-12}, "permitivity": {"type": "number", "description": "Permitivity of the space where field is being calculated, default is 8.854e-12."}}, "required": ["permitivity"]}}}], "meta": {"source_format": "D", "id": 65}} {"messages": [{"role": "system", "content": "你是位樂於助人的助理。"}, {"role": "user", "content": "分析一個由30人組成的團體,其中15位外向者與15位內向者,重點放在領導潛力上。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "analyze_social_group_dynamics", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "analyze_social_group_dynamics", "description": "Analyzes the social dynamics within a group based on the personality traits and group size.", "parameters": {"type": "object", "properties": {"total": {"type": "integer", "description": "The total group size."}, "extroverts": {"type": "integer", "description": "The number of extroverted members in the group."}, "introverts": {"type": "integer", "description": "The number of introverted members in the group."}}, "required": ["extroverts", "introverts", "total"]}}}, {"type": "function", "function": {"name": "structural_analysis", "description": "Performs structural analysis on a building based on its ID, floor numbers, and analysis mode.", "parameters": {"type": "object", "properties": {"building_id": {"type": "string", "description": "The unique identifier of the building.", "default": "static"}, "floor_numbers": {"type": "string", "description": "The list of floor numbers to be analyzed.", "default": "static"}, "analysis_mode": {"type": "string", "description": "The mode of analysis, either \"static\" or \"dynamic\". Defaults to \"static\"."}}, "required": ["analysis_mode"]}}}, {"type": "function", "function": {"name": "simulate_query_database", "description": "Simulates querying a database based on certain conditions.", "parameters": {"type": "object", "properties": {"table": {"type": "string", "description": "Name of the table to query."}, "conditions": {"type": "array", "description": "Conditions for the query, each condition is a dictionary."}}, "required": ["conditions", "table"]}}}, {"type": "function", "function": {"name": "is_valid_ip_address", "description": "Checks if a string is a valid IP address (IPv4).", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "The string to check."}}, "required": ["ip"]}}}], "meta": {"source_format": "D", "id": 66}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "我需要找一些能激勵人的運動音樂,最好節奏感強。還有,你能幫我查找一些艾德·希蘭(Ed Sheeran)的浪漫抒情曲和任何新的爵士樂發行嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "music_search", "arguments": {"query": "激勵運動音樂"}}}, {"type": "function", "function": {"name": "music_search", "arguments": {"query": "艾德·希蘭 浪漫抒情曲"}}}, {"type": "function", "function": {"name": "music_search", "arguments": {"query": "最新爵士樂發行"}}}]}], "tools": [{"type": "function", "function": {"name": "music_search", "description": "Searches for music or audio names and retrieves artists' cover images and sound URLs.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search term for the music or audio, typically including the artist or movie name.", "default": "Titanic My Heart Will Go On"}}, "required": ["query"]}}}], "meta": {"source_format": "D", "id": 67}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "你能提供 LeetCode 上使用者 'frontend_dev' 與 'backend_dev' 解過的中等難度題目數量嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getmediumquestion", "arguments": {"username": "frontend_dev"}}}, {"type": "function", "function": {"name": "getmediumquestion", "arguments": {"username": "backend_dev"}}}]}], "tools": [{"type": "function", "function": {"name": "getmediumquestion", "description": "Fetches the number of medium-level questions solved by the given user from the LeetCode API.", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The username of the LeetCode user whose medium-level questions solved count is to be fetched.", "default": "mujtabah258"}}, "required": ["username"]}}}], "meta": {"source_format": "D", "id": 68}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "生成 10 個隨機公司名稱。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "random_company", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "top_paid_ios_apps", "description": "Fetches a list of the top paid iOS apps from the App Store.", "parameters": {"type": "object", "properties": {"lang": {"type": "string", "description": "Language code for the results. Defaults to 'en'.", "default": "en"}, "category": {"type": "string", "description": "Category ID to filter results by. Defaults to '6016'.", "default": "6016"}, "country": {"type": "string", "description": "Country code for the App Store to search in. Defaults to 'us'.", "default": "us"}, "num": {"type": "integer", "description": "Number of results to return. Defaults to 100. Maximum is 200.", "default": "100"}}, "required": ["lang", "category", "country", "num"]}}}, {"type": "function", "function": {"name": "get_vehicle_models", "description": "Fetches all supported vehicle models for a specified vehicle make using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"make": {"type": "string", "description": "The brand of the vehicle for which to fetch the models.", "default": "Bugatti"}}, "required": ["make"]}}}, {"type": "function", "function": {"name": "get_definitions", "description": "Fetch the definitions of a specified word using the Dicolink API.", "parameters": {"type": "object", "properties": {"mot": {"type": "string", "description": "The word for which to fetch the definitions.", "default": "cheval"}}, "required": ["mot"]}}}, {"type": "function", "function": {"name": "random_company", "description": "Generates a list of fake companies using the specified RapidAPI endpoint.", "parameters": {"type": "object", "properties": {"size": {"type": "string", "description": "The number of fake companies to generate. Defaults to 5.", "default": "5"}}, "required": ["size"]}}}], "meta": {"source_format": "D", "id": 69}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請提供名為「Charizard」的寶可夢資料,並為我擲三顆骰子。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_pokemon_data_by_name", "arguments": {"name": "Charizard"}}}, {"type": "function", "function": {"name": "regular_dice", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "get_event_detail", "description": "Fetches detailed information about a specific event or match from the League of Legends Esports API using the provided match ID.", "parameters": {"type": "object", "properties": {"matchid": {"type": "string", "description": "The ID of the match or event for which details are to be fetched.", "default": "107458367241084543"}}, "required": ["matchid"]}}}, {"type": "function", "function": {"name": "regular_dice_rolls", "description": "This function simulates rolling a specified number of dice for a specified number of times using the Dice Roll Simulator API.", "parameters": {"type": "object", "properties": {"rolls": {"type": "string", "description": "The number of times to roll the dice. Default is 2.", "default": "2"}, "dice": {"type": "string", "description": "The number of dice to roll each time. Default is 3.", "default": "3"}}, "required": ["rolls", "dice"]}}}, {"type": "function", "function": {"name": "get_pokemon_data_by_name", "description": "Fetches data for a specified Pokemon using its name from the Pokemon Unite API.", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the Pokemon for which data is to be fetched.", "default": "Azumarill"}}, "required": ["name"]}}}, {"type": "function", "function": {"name": "get_item_by_id", "description": "Fetches an RPG item by its ID using the Toolbench RapidAPI service.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The ID of the RPG item to retrieve.", "default": "6383989636a233ea35d1e566"}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "v1_trivia", "description": "Fetches trivia questions from the API Ninjas Trivia API endpoint.", "parameters": {"type": "object", "properties": {"limit": {"type": "string", "description": "The number of trivia questions to return. Must be between 1 and 30. Default is 1.", "default": ""}, "category": {"type": "string", "description": "The category of trivia questions to filter by. Possible values are:", "default": ""}}, "required": ["limit", "category"]}}}, {"type": "function", "function": {"name": "regular_dice", "description": "Roll a specified number of regular dice using the RapidAPI Dice Roll Simulator.", "parameters": {"type": "object", "properties": {"dice": {"type": "string", "description": "Number of dice to roll. Defaults to 3.", "default": "3"}}, "required": ["dice"]}}}, {"type": "function", "function": {"name": "csw21", "description": "Search for words using the Collins Scrabble Words 2021 lexicon via the Word Tree API.", "parameters": {"type": "object", "properties": {"input": {"type": "string", "description": "A series of at least 4 letters (a-z, case-insensitive). No other characters should be included or no meaningful results will be returned.", "default": "ANAGRAMS"}}, "required": ["input"]}}}], "meta": {"source_format": "D", "id": 70}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請反轉字串 'Hello, world!'"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "reverse_string", "arguments": {"text": "Hello, world!"}}}]}], "tools": [{"type": "function", "function": {"name": "merge_dictionaries", "description": "Merges two dictionaries into a single dictionary.", "parameters": {"type": "object", "properties": {"dict1": {"type": "object", "description": "The first dictionary."}, "dict2": {"type": "object", "description": "The second dictionary."}}, "required": ["dict1", "dict2"]}}}, {"type": "function", "function": {"name": "find_longest_word", "description": "Finds the longest word in a list of words.", "parameters": {"type": "object", "properties": {"words": {"type": "string", "description": "A list of words."}}, "required": ["words"]}}}, {"type": "function", "function": {"name": "reverse_string", "description": "Reverses the characters in a string.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input string."}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "split_list", "description": "Splits a list into chunks of a specified size.", "parameters": {"type": "object", "properties": {"lst": {"type": "array", "description": "The input list."}, "chunk_size": {"type": "integer", "description": "The size of each chunk."}}, "required": ["chunk_size", "lst"]}}}, {"type": "function", "function": {"name": "remove_duplicates", "description": "Removes duplicate elements from a list while preserving the order.", "parameters": {"type": "object", "properties": {"lst": {"type": "array", "description": "The input list."}}, "required": ["lst"]}}}, {"type": "function", "function": {"name": "find_first_non_repeating_char", "description": "Finds the first non-repeating character in a string.", "parameters": {"type": "object", "properties": {"s": {"type": "string", "description": "The input string."}}, "required": ["s"]}}}], "meta": {"source_format": "D", "id": 71}} {"messages": [{"role": "system", "content": "你是位樂於助人的助理。"}, {"role": "user", "content": "你能幫我取得 ID 為 'B1234'、'D5678' 和 'C3456' 的飲料詳細資料嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_beverage_by_there_id", "arguments": {"is_id": "B1234"}}}, {"type": "function", "function": {"name": "get_beverage_by_there_id", "arguments": {"is_id": "D5678"}}}, {"type": "function", "function": {"name": "get_beverage_by_there_id", "arguments": {"is_id": "C3456"}}}]}], "tools": [{"type": "function", "function": {"name": "get_beverage_by_there_id", "description": "Retrieves beverage details by the given beverage ID from the RapidAPI Beverages and Desserts API.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The ID of the beverage to retrieve.", "default": ""}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 72}} {"messages": [{"role": "system", "content": "您是位樂於助人的助理。"}, {"role": "user", "content": "您可以取得 HTTP 狀態碼 404 的貓咪圖片,並取得 Minecraft 版本 1.16.5 的 SHA-1 檢查碼嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_status_cat_image", "arguments": {"status": "404"}}}, {"type": "function", "function": {"name": "downloadminecraftjarchecksum", "arguments": {"minecraftversion": "1.16.5"}}}]}], "tools": [{"type": "function", "function": {"name": "get_status_cat_image", "description": "Fetches an image of a cat corresponding to the provided HTTP status code.", "parameters": {"type": "object", "properties": {"status": {"type": "string", "description": "The HTTP status code for which to fetch the cat image. Common codes are 200, 404, 500, etc.", "default": "200"}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "downloadminecraftjarchecksum", "description": "Fetches the SHA-1 checksum of a specified Minecraft version JAR file from the Nitroxenon Minecraft Forge API.", "parameters": {"type": "object", "properties": {"minecraftversion": {"type": "string", "description": "The version of Minecraft to fetch the JAR checksum for.", "default": ""}}, "required": ["minecraftversion"]}}}, {"type": "function", "function": {"name": "downloadoptimize", "description": "Downloads the specified OptiFine version using the provided RapidAPI key.", "parameters": {"type": "object", "properties": {"optifineversion": {"type": "string", "description": "The version of OptiFine to be downloaded.", "default": ""}}, "required": ["optifineversion"]}}}], "meta": {"source_format": "D", "id": 73}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你可以為 ID 為 '1234567890' 的手機和 ID 為 '0987654321' 的另一部手機擷取 QR 碼嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getqrcode", "arguments": {"phone_id": "1234567890"}}}, {"type": "function", "function": {"name": "getqrcode", "arguments": {"phone_id": "0987654321"}}}]}], "tools": [{"type": "function", "function": {"name": "getqrcode", "description": "Fetch the QR code image for a given phone ID using the Maytapi WhatsApp API.", "parameters": {"type": "object", "properties": {"phone_id": {"type": "string", "description": "The identifier for the phone whose QR code is to be fetched.", "default": ""}}, "required": ["phone_id"]}}}], "meta": {"source_format": "D", "id": 74}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你可以告訴我紐約市未來 5 天的天氣預報(攝氏)嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getforecastweather", "arguments": {"q": "紐約市", "units": "metric"}}}]}], "tools": [{"type": "function", "function": {"name": "getforecastweather", "description": "Fetches weather forecast data for a specified city using the OpenWeatherMap API.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "The city name for which the weather forecast is requested.", "default": ""}, "cnt": {"type": "string", "description": "The number of timestamps to return in the response. Defaults to None.", "default": ""}, "units": {"type": "string", "description": "Units of measurement. Options are 'imperial' for Fahrenheit, 'metric' for Celsius, and 'standard' for Kelvin. Defaults to 'standard'.", "default": "standard"}, "lang": {"type": "string", "description": "Language for the output. Translation applies to city name and description fields. Defaults to None.", "default": ""}}, "required": ["q", "cnt", "units", "lang"]}}}, {"type": "function", "function": {"name": "location_search", "description": "Search for locations by name using the Foreca Weather API.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The name of the location to search for.", "default": "mumbai"}, "lang": {"type": "string", "description": "The language for the results. Defaults to 'en'.", "default": "en"}, "country": {"type": "string", "description": "The country code to filter the search results. Defaults to 'in'.", "default": "in"}}, "required": ["query", "lang", "country"]}}}, {"type": "function", "function": {"name": "get_weather_updates", "description": "Fetches weather updates for a given city using the RapidAPI Weather API.", "parameters": {"type": "object", "properties": {"city": {"type": "string", "description": "The name of the city for which to retrieve weather information.", "default": "London"}}, "required": ["city"]}}}], "meta": {"source_format": "D", "id": 75}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我如何使用登入 'user345' 和金鑰 'api345' 來查看代號為 'MNO345' 的問卷儀表板?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "dashboard", "arguments": {"login_id": "user345", "api_key": "api345", "survey_code": "MNO345"}}}]}], "tools": [{"type": "function", "function": {"name": "dashboard", "description": "Fetches the deployment and response dashboard for a specified survey using provided credentials and API keys.", "parameters": {"type": "object", "properties": {"login_id": {"type": "string", "description": "The login identifier for accessing the survey methods API.", "default": ""}, "api_key": {"type": "string", "description": "The API key associated with the user account.", "default": ""}, "survey_code": {"type": "string", "description": "The code identifying the specific survey whose dashboard is being fetched.", "default": ""}}, "required": ["login_id", "api_key", "survey_code"]}}}], "meta": {"source_format": "D", "id": 76}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "將格里曆日期 '2023-01-01' 和 '2023-12-31' 轉換為回曆(伊斯蘭曆)。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "tanggal", "arguments": {"tanggal": "2023-01-01"}}}, {"type": "function", "function": {"name": "tanggal", "arguments": {"tanggal": "2023-12-31"}}}]}], "tools": [{"type": "function", "function": {"name": "qrcode", "description": "Generates a QR code from the provided text using the QR Code API.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input text to be converted into a QR code.", "default": "https://google.com"}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "summary", "description": "Fetches a summary of SEO metrics for a given URL using the Toolbench RapidAPI service.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "The URL of the website for which the SEO summary is to be fetched.", "default": "https://google.com"}}, "required": ["url"]}}}, {"type": "function", "function": {"name": "tanggal", "description": "Converts a given Gregorian date to its Hijri equivalent using the Masehi-ke-Hijriyah API.", "parameters": {"type": "object", "properties": {"tanggal": {"type": "string", "description": "The Gregorian date to be converted to Hijri.", "default": ""}}, "required": ["tanggal"]}}}, {"type": "function", "function": {"name": "infobox", "description": "Fetches and returns a JSON object representation of the infobox for a given Wikipedia entry.", "parameters": {"type": "object", "properties": {"wikiurl": {"type": "string", "description": "The URL of the Wikipedia entry.", "default": "https://en.wikipedia.org/wiki/James_Bond"}, "withname": {"type": "string", "description": "Whether to include the name in the infobox. Defaults to None.", "default": "false"}}, "required": ["wikiurl", "withname"]}}}], "meta": {"source_format": "D", "id": 77}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "將二進位數字 '1110' 與 '0101' 相加。計算點 (1, 2, 3) 與 (4, 5, 6) 之間的距離。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "binary_addition", "arguments": {"a": "1110", "b": "0101"}}}, {"type": "function", "function": {"name": "calculate_distance", "arguments": {}}}]}, {"role": "assistant", "content": ", point2=[4, 5, 6])]"}], "tools": [{"type": "function", "function": {"name": "probability_of_consecutive_rolls", "description": "Calculates the probability of rolling a specific value on a die consecutively for a given number of rolls.", "parameters": {"type": "object", "properties": {"target_value": {"type": "integer", "description": "The desired value to be rolled.", "default": 6}, "num_rolls": {"type": "integer", "description": "The number of consecutive rolls.", "default": 6}, "num_sides": {"type": "string", "description": "The number of sides on the die. Defaults to 6."}}, "required": ["num_sides"]}}}, {"type": "function", "function": {"name": "average", "description": "Calculates the arithmetic mean of a list of numbers.", "parameters": {"type": "object", "properties": {"numbers": {"type": "string", "description": "The list of numbers."}}, "required": ["numbers"]}}}, {"type": "function", "function": {"name": "binary_addition", "description": "Adds two binary numbers and returns the result as a binary string.", "parameters": {"type": "object", "properties": {"a": {"type": "string", "description": "The first binary number."}, "b": {"type": "string", "description": "The second binary number."}}, "required": ["a", "b"]}}}, {"type": "function", "function": {"name": "is_power_of_two", "description": "Checks if a number is a power of two.", "parameters": {"type": "object", "properties": {"num": {"type": "integer", "description": "The number to check."}}, "required": ["num"]}}}, {"type": "function", "function": {"name": "calculate_distance", "description": "Calculates the Euclidean distance between two points in n-dimensional space.", "parameters": {"type": "object", "properties": {"point1": {"type": "string", "description": "The coordinates of the first point."}, "point2": {"type": "string", "description": "The coordinates of the second point."}}, "required": ["point1", "point2"]}}}, {"type": "function", "function": {"name": "integrate", "description": "Calculate the area under a curve for a specified function between two x values.", "parameters": {"type": "object", "properties": {"function": {"type": "string", "description": "The function to integrate, represented as a string. For example, 'x^3'", "default": "trapezoid"}, "start_x": {"type": "integer", "description": "The starting x-value to integrate over.", "default": "trapezoid"}, "end_x": {"type": "integer", "description": "The ending x-value to integrate over."}, "method": {"type": "string", "description": "The method of numerical integration to use. Choices are 'trapezoid' or 'simpson'."}}, "required": ["end_x", "method"]}}}, {"type": "function", "function": {"name": "monthly_mortgage_payment", "description": "Calculates the monthly mortgage payment based on the loan amount, annual interest rate, and loan term.", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The total amount of the loan."}, "annual_interest_rate": {"type": "number", "description": "The annual interest rate as a decimal (e.g., 0.05 for 5%)."}, "loan_term_years": {"type": "integer", "description": "The loan term in years."}}, "required": ["annual_interest_rate", "loan_amount", "loan_term_years"]}}}], "meta": {"source_format": "D", "id": 78}} {"messages": [{"role": "system", "content": "你是位樂於助人的助理。"}, {"role": "user", "content": "取得 BBC 來源的最新新聞。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "news_source", "arguments": {"source_id": "bbc"}}}]}], "tools": [{"type": "function", "function": {"name": "latest", "description": "Fetches the latest news from Google News for a specified language region.", "parameters": {"type": "object", "properties": {"lr": {"type": "string", "description": "Language region to get news for, e.g., 'en-US'.", "default": "en-US"}}, "required": ["lr"]}}}, {"type": "function", "function": {"name": "top_headlines", "description": "Fetches top headline news articles based on specified parameters.", "parameters": {"type": "object", "properties": {"language": {"type": "string", "description": "Language code to filter news articles. Default is 'en'. Options include:", "default": "en"}, "category": {"type": "string", "description": "Category of news articles to filter by. Default is 'sports'. Options include:", "default": "sports"}, "country": {"type": "string", "description": "Country code to filter news articles. Default is 'us'. Options include:", "default": "us"}, "sortby": {"type": "string", "description": "Criterion to sort news articles by. Default is 'published_date'.", "default": ""}, "pagesize": {"type": "integer", "description": "Number of news articles to return per page. Default is 10.", "default": "10"}}, "required": ["language", "category", "country", "sortby", "pagesize"]}}}, {"type": "function", "function": {"name": "news_source", "description": "Fetch the latest news stories for a given news source in chronological order.", "parameters": {"type": "object", "properties": {"source_id": {"type": "string", "description": "The identifier of the news source for which to retrieve the latest news stories.", "default": "bbc"}}, "required": ["source_id"]}}}, {"type": "function", "function": {"name": "overview", "description": "Fetches summary statistics from the Papercliff API regarding the number of keywords found, and the number of articles and agencies reviewed.", "parameters": {"type": "object", "properties": {"is_from": {"type": "string", "description": "Narrows down the results to articles published after the provided date-time. The format should be `yyyy-MM-dd'T'HH:mm`. Example value: `2022-09-18T13:45`. Date-times older than a week do not affect the result.", "default": ""}, "to": {"type": "string", "description": "Narrows down the results to articles published before the provided date-time. The format should be `yyyy-MM-dd'T'HH:mm`. Example value: `2022-09-18T15:30`. Date-times in the future do not affect the result.", "default": ""}, "terms": {"type": "string", "description": "Narrows down the results to articles that contain all the provided keywords. The terms should consist of one to three words separated by a dash. Example value: `election-campaign`.", "default": ""}}, "required": ["is_from", "to", "terms"]}}}, {"type": "function", "function": {"name": "nft_news", "description": "Fetches up-to-date NFT news from the specified API.", "parameters": {"type": "object", "properties": {"nftnews": {"type": "string", "description": "A specific filter to narrow down NFT news. Default is None, meaning no specific filter.", "default": ""}}, "required": ["nftnews"]}}}], "meta": {"source_format": "D", "id": 79}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "巴黎和莫斯科的座標是什麼?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "geocode_city", "arguments": {"city": "巴黎"}}}, {"type": "function", "function": {"name": "geocode_city", "arguments": {"city": "莫斯科"}}}]}], "tools": [{"type": "function", "function": {"name": "geocode_city", "description": "Retrieves the latitude and longitude coordinates of a given city using the Maps.co Geocoding API.", "parameters": {"type": "object", "properties": {"city": {"type": "string", "description": "The name of the city."}}, "required": ["city"]}}}, {"type": "function", "function": {"name": "predict_evolution_rate", "description": "Predict the evolutionary rate for a specific species for a given timeframe.", "parameters": {"type": "object", "properties": {"species": {"type": "string", "description": "The species that the evolution rate will be predicted for.", "default": "Darwin"}, "years": {"type": "integer", "description": "Number of years for the prediction.", "default": "Darwin"}, "model": {"type": "string", "description": "The model used to make the prediction, options: 'Darwin', 'Lamarck', default is 'Darwin'."}}, "required": ["model"]}}}, {"type": "function", "function": {"name": "get_pokemon_move_info", "description": "Retrieves information about a Pokémon's move using the PokéAPI.", "parameters": {"type": "object", "properties": {"pokemon_name": {"type": "string", "description": "The name of the Pokémon.", "default": "run"}, "move_name": {"type": "string", "description": "The name of the move to check. Defaults to \"run\".", "default": "run"}}, "required": ["pokemon_name", "move_name"]}}}, {"type": "function", "function": {"name": "get_holidays_by_year", "description": "Retrieves the list of public holidays for a given year and country using the Nager.Date API.", "parameters": {"type": "object", "properties": {"year": {"type": "integer", "description": "The year for which to retrieve the holidays."}, "country_code": {"type": "string", "description": "The two-letter ISO 3166-1 alpha-2 country code."}}, "required": ["country_code", "year"]}}}], "meta": {"source_format": "D", "id": 80}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能提供喀麥隆杜阿拉(Douala)排名前五的醫院詳細資訊,以及坦桑尼亞達累斯薩拉姆(Dar es Salaam)排名前五的銀行詳細資訊嗎?另外,你能驗證位於荷蘭阿姆斯特丹、郵遞區號 1075VB、門牌號碼 20 的地址嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "facilities_lookup", "arguments": {"type": "hospital", "region": "Littoral", "city": "douala"}}}, {"type": "function", "function": {"name": "facilities_lookup", "arguments": {"type": "bank", "region": "Dar es Salaam", "city": "Dar es Salaam"}}}, {"type": "function", "function": {"name": "api_v1_addresses", "arguments": {"postcode": "1075VB"}}}]}], "tools": [{"type": "function", "function": {"name": "facilities_lookup", "description": "Fetch a list of facilities in Cameroon based on provided query parameters.", "parameters": {"type": "object", "properties": {"type": {"type": "string", "description": "The type of facility to search for (e.g., hospital, bank, college). Refer to the OpenStreetMap Map features for more options.", "default": "hospital"}, "region": {"type": "string", "description": "The region where the facility is located.", "default": "littoral"}, "city": {"type": "string", "description": "The city where the facility is located. Default is 'douala'.", "default": "douala"}, "limit": {"type": "string", "description": "The maximum number of facilities to return. Default is 10.", "default": "10"}}, "required": ["type", "region", "city", "limit"]}}}, {"type": "function", "function": {"name": "api_v1_addresses", "description": "Fetches address information using the provided postcode and house number from the RapidAPI Address Validation API.", "parameters": {"type": "object", "properties": {"postcode": {"type": "string", "description": "The postcode of the address.", "default": "3021GS"}, "housenumber": {"type": "integer", "description": "The house number of the address.", "default": "288"}, "housenumbersuffix": {"type": "string", "description": "The suffix of the house number. Defaults to 'B'.", "default": "B"}}, "required": ["postcode", "housenumber", "housenumbersuffix"]}}}, {"type": "function", "function": {"name": "facilities_lookup", "description": "Fetches a list of facilities in Tanzania based on provided query parameters such as facility type, region, limit, and city.", "parameters": {"type": "object", "properties": {"type": {"type": "string", "description": "The type of facility to search for (e.g., hospital, bank, college). Default is 'hospital'. For more options, refer to the OpenStreetMap Map Features.", "default": "hospital"}, "region": {"type": "string", "description": "The region where the facility is located.", "default": "Coastal Zone"}, "limit": {"type": "string", "description": "The number of facilities to query. Default is '10'.", "default": "10"}, "city": {"type": "string", "description": "The city where the facility is located. Default is 'Dar es Salaam'.", "default": "Dar es Salaam"}}, "required": ["type", "region", "limit", "city"]}}}, {"type": "function", "function": {"name": "get_geocoding", "description": "Fetch complete, readable place information in the preferred language based on provided latitude and longitude.", "parameters": {"type": "object", "properties": {"version": {"type": "string", "description": "Version of the geocoding API to use.", "default": "v1"}, "lat": {"type": "integer", "description": "Latitude in decimal degrees (WGS84).", "default": "37.422213"}, "lng": {"type": "integer", "description": "Longitude in decimal degrees (WGS84).", "default": "-122.084058"}, "lang": {"type": "string", "description": "Preferred language of the content. Defaults to 'en'.", "default": "en"}}, "required": ["version", "lat", "lng", "lang"]}}}], "meta": {"source_format": "D", "id": 81}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "將巢狀列表 [['a', 'b'], ['c', ['d', 'e']]] 展平。另外,8 的階乘是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "flatten_list", "arguments": {}}}, {"type": "function", "function": {"name": "calculate_factorial", "arguments": {}}}]}, {"role": "assistant", "content": ", [\"c\", [\"d\", \"e\"]]]), calculate_factorial(n=8)]"}], "tools": [{"type": "function", "function": {"name": "find_longest_word", "description": "Finds the longest word in a list of words.", "parameters": {"type": "object", "properties": {"words": {"type": "string", "description": "A list of words."}}, "required": ["words"]}}}, {"type": "function", "function": {"name": "flatten_list", "description": "Flattens a nested list into a single-level list.", "parameters": {"type": "object", "properties": {"nested_list": {"type": "array", "description": "The nested list to be flattened."}}, "required": ["nested_list"]}}}, {"type": "function", "function": {"name": "calculate_factorial", "description": "Calculates the factorial of a non-negative integer.", "parameters": {"type": "object", "properties": {"n": {"type": "integer", "description": "The non-negative integer."}}, "required": ["n"]}}}], "meta": {"source_format": "D", "id": 82}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請為我檢索道瓊工業平均指數(DJI:INDEXUS)2023 年 8 月整個月份的盤中資料,時間間隔為 30 分鐘。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "indexes_intraday", "arguments": {"is_from": "2023-08-01", "to": "2023-08-31", "symbol": "DJI:INDEXUS"}}}]}], "tools": [{"type": "function", "function": {"name": "indexes_intraday", "description": "Fetches intraday time series data (Date, Open, High, Low, Close, Volume) for a specified index symbol within a given time interval.", "parameters": {"type": "object", "properties": {"interval": {"type": "integer", "description": "Time interval in minutes, e.g., `1` for 1-minute intervals, `5` for 5-minute intervals.", "default": "1"}, "is_from": {"type": "string", "description": "The start date and time for the query. Supported formats include **YYYY-mm-dd HH:MM** and **YYYY-mm-dd**, e.g., '2020-04-21 10:00' or '2020-04-21'.", "default": "2020-04-21 10:00"}, "to": {"type": "string", "description": "The end date and time for the query. Supported formats include **YYYY-mm-dd HH:MM** and **YYYY-mm-dd**, e.g., '2020-04-21 10:30' or '2020-04-22'.", "default": "2020-04-21 10:30"}, "symbol": {"type": "string", "description": "The symbol of the index to query. Examples include `^GSPC` (S&P 500 index) or `SPX:INDEX` (S&P 500 index). Valid suffixes are:", "default": "^GSPC"}, "adjust": {"type": "string", "description": "Whether the price should be adjusted. Defaults to None.", "default": "false"}}, "required": ["interval", "is_from", "to", "symbol", "adjust"]}}}], "meta": {"source_format": "D", "id": 83}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助手。"}, {"role": "user", "content": "用六顆六面骰擲出總和為25的機率是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "dice_roll_probability", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "dice_roll_probability", "description": "Calculates the probability of rolling a specific sum with a given number of dice, each having a certain number of faces.", "parameters": {"type": "object", "properties": {"target_sum": {"type": "integer", "description": "The target sum to calculate the probability for.", "default": 6}, "num_dice": {"type": "integer", "description": "The number of dice being rolled.", "default": 6}, "num_faces": {"type": "string", "description": "The number of faces on each die. Defaults to 6."}}, "required": ["num_faces"]}}}], "meta": {"source_format": "D", "id": 84}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "第五頁列出的 KFC 店址有哪些?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_all_kfc_locations", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "get_all_kfc_locations", "description": "Fetches a list of KFC locations from the KFC Locations API for a given page number.", "parameters": {"type": "object", "properties": {"page": {"type": "integer", "description": "The page number of results to retrieve, with each page typically containing 10 results.", "default": "0"}}, "required": ["page"]}}}], "meta": {"source_format": "D", "id": 85}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助手。"}, {"role": "user", "content": "從 Radio World API 取得引述,每頁抓取 20 筆並存取第二頁。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getallquotes", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "artist_100", "description": "Fetches the Billboard Artist 100 chart data for a specified week.", "parameters": {"type": "object", "properties": {"week": {"type": "string", "description": "The week for which to fetch the chart data in 'YYYY-MM-DD' format. Defaults to the most recent week.", "default": "2022-10-08"}}, "required": ["week"]}}}, {"type": "function", "function": {"name": "getallquotes", "description": "Fetch all quotes from the Radio World API with optional pagination and API key.", "parameters": {"type": "object", "properties": {"limit": {"type": "string", "description": "The number of quotes to fetch per page. Defaults to 10.", "default": "10"}, "page": {"type": "string", "description": "The page number to fetch. Defaults to 1.", "default": "1"}}, "required": ["limit", "page"]}}}, {"type": "function", "function": {"name": "greatest_of_all_time_hot_100_songs", "description": "Retrieves the Greatest of All Time Hot 100 Songs chart from the Billboard API.", "parameters": {"type": "object", "properties": {"range": {"type": "string", "description": "A string specifying the range of results to return, formatted as 'start-end'. Defaults to '1-10'.", "default": "1-10"}}, "required": ["range"]}}}], "meta": {"source_format": "D", "id": 86}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "列出支援的幣種,並提供 'special' 市場中預測的績效統計。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_supported_coins_handler", "arguments": {}}}, {"type": "function", "function": {"name": "performance_stats_for_past_predictions", "arguments": {"market": "special"}}}]}], "tools": [{"type": "function", "function": {"name": "get_supported_coins_handler", "description": "Fetches supported cryptocurrency coins from the RapidAPI Fan Crypto Coins endpoint.", "parameters": {"type": "object", "properties": {"cursor": {"type": "string", "description": "Pagination string for fetching the next set of coins. Defaults to None.", "default": ""}}, "required": ["cursor"]}}}, {"type": "function", "function": {"name": "get_scores_for_given_date", "description": "Fetches the list of football match scores for a given date using the specified API.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "The date for which to fetch the football scores, in the format %Y-%m-%d (e.g., '2022-12-01').", "default": "2022-12-04"}}, "required": ["date"]}}}, {"type": "function", "function": {"name": "performance_stats_for_past_predictions", "description": "Returns the accuracy statistics of past predictions over various time frames and allows optional filtering by federation and market.", "parameters": {"type": "object", "properties": {"federation": {"type": "string", "description": "Filter statistics by a specific federation. Defaults to None.", "default": ""}, "market": {"type": "string", "description": "Filter statistics based on the prediction market. Defaults to 'classic'.", "default": "classic"}}, "required": ["federation", "market"]}}}], "meta": {"source_format": "D", "id": 87}} {"messages": [{"role": "system", "content": "你是個樂於助人的助手。"}, {"role": "user", "content": "請取得特斯拉的年度資產負債表(英文與西班牙文)。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "company_balance_sheet", "arguments": {"period": "ANNUAL", "symbol": "TSLA", "language": "en"}}}, {"type": "function", "function": {"name": "company_balance_sheet", "arguments": {"period": "ANNUAL", "symbol": "TSLA", "language": "es"}}}]}], "tools": [{"type": "function", "function": {"name": "stock_earnings", "description": "Retrieve earnings information for a particular stock symbol using the Yahoo Finance API.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol for which to retrieve earnings information.", "default": "AAPL"}}, "required": ["symbol"]}}}, {"type": "function", "function": {"name": "now", "description": "Fetches the current time for a specified time zone using the RapidAPI date calculator service.", "parameters": {"type": "object", "properties": {"tzname": {"type": "string", "description": "The name of the time zone for which to fetch the current time. Defaults to 'UTC'.", "default": "UTC"}}, "required": ["tzname"]}}}, {"type": "function", "function": {"name": "company_balance_sheet", "description": "Retrieves the balance sheet of a public company for a specified period.", "parameters": {"type": "object", "properties": {"period": {"type": "string", "description": "Period for which to get the company's balance sheet. Can be 'QUARTERLY' or 'ANNUAL'.", "default": ""}, "symbol": {"type": "string", "description": "Stock symbol (ticker) of the company, e.g., 'MSFT' or 'AAPL'.", "default": "AAPL:NASDAQ"}, "language": {"type": "string", "description": "The language to use for the results, specified as a 2-letter language code according to ISO 639-1. Default is 'en'.", "default": "en"}}, "required": ["period", "symbol", "language"]}}}, {"type": "function", "function": {"name": "v1_convertcurrency", "description": "Converts an amount of currency from one type to another using the API Ninjas Convert Currency API endpoint.", "parameters": {"type": "object", "properties": {"amount": {"type": "integer", "description": "The amount of currency to convert.", "default": "5000"}, "have": {"type": "string", "description": "The currency you currently hold. Must be a 3-character currency code (e.g., 'USD').", "default": "USD"}, "want": {"type": "string", "description": "The currency to which you want to convert. Must be a 3-character currency code (e.g., 'EUR').", "default": "EUR"}}, "required": ["amount", "have", "want"]}}}], "meta": {"source_format": "D", "id": 88}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "根據 Billboard 年終榜,2019 年的年度最佳藝術家有哪些?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "top_artists", "arguments": {"year": "2019"}}}]}], "tools": [{"type": "function", "function": {"name": "top_artists", "description": "Fetch the YEAR-END Top Artists chart information from the Billboard API for a specified year.", "parameters": {"type": "object", "properties": {"year": {"type": "string", "description": "The year for which to retrieve the Top Artists chart information in YYYY format. Defaults to '2022'.", "default": "2022"}}, "required": ["year"]}}}], "meta": {"source_format": "D", "id": 89}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "1688 上 ID 為 123456789 的商品詳細資訊是什麼?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_1688_product_detail", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "products_search", "description": "Search for products by a specified keyword and optional filters, with support for pagination and sorting.", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The term or phrase to search for related products.", "default": "light shaded room"}, "filters": {"type": "string", "description": "Filters to apply to the product search results. Multiple filters can be specified using the format `key~value`. For example, 'colorList~White&masterClID~180'.", "default": ""}, "curpage": {"type": "string", "description": "The current page number for paginated results. Default is 1.", "default": "1"}, "itemsperpage": {"type": "string", "description": "The number of items to display per page. Default is 48.", "default": "48"}, "sortby": {"type": "string", "description": "The field by which to sort the results. Default is 0.", "default": "0"}}, "required": ["keyword", "filters", "curpage", "itemsperpage", "sortby"]}}}, {"type": "function", "function": {"name": "get_1688_product_detail", "description": "Fetches detail of a product from 1688 using the provided product ID and RapidAPI key.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the product to fetch details for from 1688.", "default": 601513403951}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "product_reviews", "description": "Fetches and paginates through product reviews on Amazon for a given product.", "parameters": {"type": "object", "properties": {"asin": {"type": "string", "description": "Product ASIN for which to get reviews.", "default": "B07ZPKN6YR"}, "query": {"type": "string", "description": "Search query to filter reviews.", "default": ""}, "sort_by": {"type": "string", "description": "Sort order for reviews. Default is `TOP_REVIEWS`. Allowed values are `TOP_REVIEWS`, `MOST_RECENT`.", "default": ""}, "verified_purchases_only": {"type": "string", "description": "Only return reviews by reviewers who made a verified purchase.", "default": "false"}, "page_size": {"type": "string", "description": "Number of reviews to return per page. Allowed values range from `1` to `20`. Default is `10`.", "default": "10"}, "page": {"type": "string", "description": "Page number of results to return. Default is `1`.", "default": "1"}, "star_rating": {"type": "string", "description": "Filter reviews by star rating. Default is `ALL`. Allowed values are `ALL`, `5_STARS`, `4_STARS`, `3_STARS`, `2_STARS`, `1_STARS`, `POSITIVE`, `CRITICAL`.", "default": ""}, "images_or_videos_only": {"type": "string", "description": "Only return reviews containing images and/or videos.", "default": "false"}, "country": {"type": "string", "description": "Marketplace country, language, and currency. Default is `US`. Allowed values are `US`, `AU`, `BR`, `CA`, `CN`, `FR`, `DE`, `IN`, `IT`, `MX`, `NL`, `SG`, `ES`, `TR`, `AE`, `GB`, `JP`.", "default": "US"}}, "required": ["asin", "query", "sort_by", "verified_purchases_only", "page_size", "page", "star_rating", "images_or_videos_only", "country"]}}}, {"type": "function", "function": {"name": "stores", "description": "Fetches a list of all IKEA stores in a specified country.", "parameters": {"type": "object", "properties": {"countrycode": {"type": "string", "description": "The two-letter country code representing the country for which to fetch the list of stores.", "default": "us"}}, "required": ["countrycode"]}}}, {"type": "function", "function": {"name": "stores_list", "description": "Returns a list of stores near the provided geographic location.", "parameters": {"type": "object", "properties": {"longitude": {"type": "integer", "description": "The longitude of the geographic location.", "default": "-118.2487"}, "latitude": {"type": "integer", "description": "The latitude of the geographic location.", "default": "33.9733"}, "radius": {"type": "string", "description": "The radius in miles to search for stores around the geographic location. Defaults to 25.", "default": "25"}}, "required": ["longitude", "latitude", "radius"]}}}], "meta": {"source_format": "D", "id": 90}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "賽季 ID 為 1001 的一級方程式(Formula 1)有哪些廠隊?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "constructors", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "activities", "description": "Fetches MET (Metabolic Equivalent of Task) values for various activities based on the given intensity level.", "parameters": {"type": "object", "properties": {"intensitylevel": {"type": "integer", "description": "Level of intensity for the activity.", "default": "1"}}, "required": ["intensitylevel"]}}}, {"type": "function", "function": {"name": "fixtures", "description": "Retrieves upcoming soccer fixtures for the next 7 days from the sports API.", "parameters": {"type": "object", "properties": {"page": {"type": "string", "description": "The page of results to retrieve. Defaults to 1.", "default": "1"}, "day": {"type": "string", "description": "The specific day of fixtures to retrieve. Defaults to 1.", "default": "1"}}, "required": ["page", "day"]}}}, {"type": "function", "function": {"name": "constructors", "description": "Fetches the list of constructors for a given Formula 1 season using the specified API key.", "parameters": {"type": "object", "properties": {"season_id": {"type": "integer", "description": "The ID of the season for which to list constructors.", "default": "2020"}}, "required": ["season_id"]}}}, {"type": "function", "function": {"name": "fixtures_by_team_by_season", "description": "Retrieves fixtures and results for a given team within a specified season across all competitions they play in.", "parameters": {"type": "object", "properties": {"season_id": {"type": "integer", "description": "The ID of the season to retrieve fixtures and results for.", "default": "2023"}, "team_id": {"type": "integer", "description": "The ID of the team to retrieve fixtures and results for.", "default": "6167"}}, "required": ["season_id", "team_id"]}}}], "meta": {"source_format": "D", "id": 91}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "我需要關於微軟(MSFT)報價的詳細資訊。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "quotes_get_mashup", "arguments": {"symbol": "MSFT"}}}]}], "tools": [{"type": "function", "function": {"name": "quotes_get_mashup", "description": "Fetch additional information for a specific market quote.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The market quote symbol for which the information is to be fetched. Only one symbol is allowed.", "default": "IBIO"}}, "required": ["symbol"]}}}, {"type": "function", "function": {"name": "symbols_press_releases", "description": "Fetches a list of press releases for a given stock symbol from Seeking Alpha's API.", "parameters": {"type": "object", "properties": {"ticker_slug": {"type": "string", "description": "The slug representing the stock ticker symbol.", "default": "NVDA"}, "page_number": {"type": "integer", "description": "The page number of the press releases to fetch.", "default": "1"}}, "required": ["ticker_slug", "page_number"]}}}, {"type": "function", "function": {"name": "stock_key_statistics_stock", "description": "Fetches key statistics data for a given stock symbol from the MBOUM Finance API.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol for which to retrieve key statistics data.", "default": "AAPL"}}, "required": ["symbol"]}}}], "meta": {"source_format": "D", "id": 92}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "檢查 'deed' 是否為回文,並找出 [0.5, 0.5, 0.5] 與 [1, 1, 1] 之間的餘弦相似度。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "is_valid_palindrome", "arguments": {"s": "deed"}}}, {"type": "function", "function": {"name": "cosine_similarity", "arguments": {}}}]}, {"role": "assistant", "content": ", vector_b=[1, 1, 1])]"}], "tools": [{"type": "function", "function": {"name": "is_valid_palindrome", "description": "Checks if a string is a valid palindrome, considering only alphanumeric characters and ignoring case.", "parameters": {"type": "object", "properties": {"s": {"type": "string", "description": "The input string."}}, "required": ["s"]}}}, {"type": "function", "function": {"name": "calculate_standard_deviation", "description": "Calculates the standard deviation of a list of numbers.", "parameters": {"type": "object", "properties": {"numbers": {"type": "string", "description": "The list of numbers."}}, "required": ["numbers"]}}}, {"type": "function", "function": {"name": "wire_resistance", "description": "Calculates the resistance of a wire based on its length, cross-sectional area, and material resistivity.", "parameters": {"type": "object", "properties": {"length_m": {"type": "integer", "description": "The length of the wire in meters.", "default": "copper"}, "area_sq_m": {"type": "number", "description": "The cross-sectional area of the wire in square meters.", "default": "copper"}, "material": {"type": "string", "description": "The material of the wire. Allowed values: \"copper\" (default) or \"aluminum\"."}}, "required": ["material"]}}}, {"type": "function", "function": {"name": "cosine_similarity", "description": "Calculates the cosine similarity between two vectors.", "parameters": {"type": "object", "properties": {"vector_a": {"type": "string", "description": "The first vector."}, "vector_b": {"type": "string", "description": "The second vector."}}, "required": ["vector_a", "vector_b"]}}}], "meta": {"source_format": "D", "id": 93}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請提供 Cardano 區塊鏈的詳細資料。另外,請將 150 AUD 轉換為 JPY。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "web_chain_details", "arguments": {"chain_slug": "cardano"}}}, {"type": "function", "function": {"name": "convert", "arguments": {"is_from": "AUD", "to": "JPY"}}}]}], "tools": [{"type": "function", "function": {"name": "web_chain_details", "description": "python", "parameters": {"type": "object", "properties": {"chain_slug": {"type": "string", "description": "The slug identifier for the blockchain (e.g., 'ethereum' for Ethereum mainnet).", "default": "ethereum"}}, "required": ["chain_slug"]}}}, {"type": "function", "function": {"name": "convert", "description": "Convert a specified amount from one currency to another using the RapidAPI currency converter.", "parameters": {"type": "object", "properties": {"is_from": {"type": "string", "description": "The currency code to convert from (e.g., 'USD').", "default": ""}, "amount": {"type": "integer", "description": "The amount of currency to convert.", "default": "10"}, "to": {"type": "string", "description": "The currency code to convert to (e.g., 'EUR').", "default": ""}}, "required": ["is_from", "amount", "to"]}}}, {"type": "function", "function": {"name": "converter", "description": "Performs currency conversion between multiple currencies using the given parameters.", "parameters": {"type": "object", "properties": {"target": {"type": "string", "description": "The currency code to convert to. This should be a valid three-letter currency code. Multiple target currencies can be specified, separated by a comma.", "default": "EUR,INR,JPY"}, "source": {"type": "string", "description": "The currency code to convert from. This should be a valid three-letter currency code, e.g., USD or EUR.", "default": "USD"}, "amount": {"type": "string", "description": "The amount to convert from the source currency to the target currency. Defaults to 1 if not provided.", "default": "1"}}, "required": ["target", "source", "amount"]}}}], "meta": {"source_format": "D", "id": 94}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你可以列出 Epic 遊戲商城在德國即將推出的免費遊戲,並提供 Valorant 中 'Player123' 的玩家數據嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "free_games", "arguments": {"country": "DE"}}}, {"type": "function", "function": {"name": "get_player_info", "arguments": {"playerid": "Player123"}}}]}], "tools": [{"type": "function", "function": {"name": "free_games", "description": "Returns all free games currently on offer and upcoming free games from the Epic Games Store.", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "Country code for local offers (e.g., 'US', 'DE', 'ES'). Defaults to 'US'.", "default": "US"}}, "required": ["country"]}}}, {"type": "function", "function": {"name": "get_player_info", "description": "Fetches and returns information about a Valorant esports player using the RapidAPI service.", "parameters": {"type": "object", "properties": {"playerid": {"type": "string", "description": "The unique identifier of the player.", "default": "93"}}, "required": ["playerid"]}}}, {"type": "function", "function": {"name": "season_wins_leaderboard_mw_2", "description": "Fetches season wins information for a specified number of players on the MW 2 leaderboard.", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "Number of players to fetch the leaderboard information for, ranging from 1 to 2000.", "default": "2000"}, "season": {"type": "string", "description": "The season for which to fetch the wins information. Defaults to 's1'.", "default": "s1"}}, "required": ["limit", "season"]}}}, {"type": "function", "function": {"name": "upcoming", "description": "Fetches upcoming CS:GO matches data from the specified API endpoint.", "parameters": {"type": "object", "properties": {"content_type": {"type": "string", "description": "The content type for the request, default is 'application/json'.", "default": "application/json"}, "page": {"type": "integer", "description": "The page number to retrieve, default is 1.", "default": "1"}, "limit": {"type": "integer", "description": "The number of matches to retrieve per page, default is 10.", "default": "10"}}, "required": ["content_type", "page", "limit"]}}}], "meta": {"source_format": "D", "id": 95}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請用預設校正因子,計算光密度(OD)為 0.6、稀釋倍數為 500 的樣本的細胞密度。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "cell_density", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "max_points_on_line", "description": "Finds the maximum number of points that lie on the same straight line.", "parameters": {"type": "object", "properties": {"points": {"type": "string", "description": "A list of points represented as tuples (x, y)."}}, "required": ["points"]}}}, {"type": "function", "function": {"name": "cell_density", "description": "Calculates the cell density based on the optical density (OD) and dilution factor.", "parameters": {"type": "object", "properties": {"od": {"type": "number", "description": "The optical density of the sample.", "default": 1000000000.0}, "dilution": {"type": "integer", "description": "The dilution factor applied to the sample.", "default": 1000000000.0}, "factor": {"type": "string", "description": "The calibration factor for converting OD to cell density. Defaults to 1e9."}}, "required": ["factor"]}}}, {"type": "function", "function": {"name": "find_next_greater_element", "description": "Finds the next greater element for each element in a list.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of numbers."}}, "required": ["nums"]}}}, {"type": "function", "function": {"name": "average", "description": "Calculates the arithmetic mean of a list of numbers.", "parameters": {"type": "object", "properties": {"numbers": {"type": "string", "description": "The list of numbers."}}, "required": ["numbers"]}}}], "meta": {"source_format": "D", "id": 96}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "你能告訴我比特幣目前的市值以及蘋果公司的公司簡介嗎?我好奇它們的產業和所在地。"}], "tools": [{"type": "function", "function": {"name": "market_capitalization", "description": "Fetches the market capitalization of a cryptocurrency in US Dollars.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The ticker symbol of the cryptocurrency.", "default": "BTC"}}, "required": ["symbol"]}}}, {"type": "function", "function": {"name": "profile", "description": "Fetches company profile data such as sector, industry, location, and executives using the given stock symbol.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol for which to fetch company profile data.", "default": "AAPL"}}, "required": ["symbol"]}}}], "meta": {"source_format": "D", "id": 97}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "計算底為 9.3 單位、高為 6.7 單位的三角形面積。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "triangle_area", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "batting_average", "description": "Calculates the batting average of a baseball player based on the number of hits and at-bats.", "parameters": {"type": "object", "properties": {"num_hits": {"type": "integer", "description": "The number of hits.", "default": 3}, "num_at_bats": {"type": "integer", "description": "The number of at-bats.", "default": 3}, "precision": {"type": "string", "description": "The number of decimal places to round the batting average. Defaults to 3."}}, "required": ["precision"]}}}, {"type": "function", "function": {"name": "triangle_area", "description": "Computes the area of a triangle given its base and height.", "parameters": {"type": "object", "properties": {"base": {"type": "number", "description": "The length of the base of the triangle."}, "height": {"type": "number", "description": "The height of the triangle."}}, "required": ["base", "height"]}}}, {"type": "function", "function": {"name": "find_pairs_with_sum", "description": "Finds all pairs of integers in a list that sum up to a target value.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of integers."}, "target": {"type": "integer", "description": "The target sum value."}}, "required": ["nums", "target"]}}}], "meta": {"source_format": "D", "id": 98}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能找到有湯姆·漢克斯參演的電影,並且給我一個隨機的 5 位演員名單嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_movies_by_cast_name", "arguments": {"cast_name": "Tom Hanks"}}}, {"type": "function", "function": {"name": "actors_random", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "get_movies_by_cast_name", "description": "Fetches movies associated with a given cast member's name from the IMDB API.", "parameters": {"type": "object", "properties": {"cast_name": {"type": "string", "description": "Name of the cast member to search for. Defaults to None.", "default": ""}}, "required": ["cast_name"]}}}, {"type": "function", "function": {"name": "actors_random", "description": "Fetches a random list of actors from the Movies Database RapidAPI.", "parameters": {"type": "object", "properties": {"limit": {"type": "string", "description": "The number of random actors to retrieve. Defaults to None, and the API will use its default value if not specified.", "default": ""}}, "required": ["limit"]}}}], "meta": {"source_format": "D", "id": 99}} {"messages": [{"role": "system", "content": "你是位樂於助人的助理。"}, {"role": "user", "content": "你能提供 AliExpress 上產品 ID 為 123456789 的詳細資訊,並檢查電子郵件地址 'test@example.com' 是否為一次性郵箱嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "product_by_id", "arguments": {}}}, {"type": "function", "function": {"name": "emailvalidation", "arguments": {"email": "test@example.com"}}}]}], "tools": [{"type": "function", "function": {"name": "product_by_id", "description": "Fetches detailed information about a specific product from the AliExpress API using the provided product ID.", "parameters": {"type": "object", "properties": {"product_id": {"type": "integer", "description": "The unique identifier for the product on AliExpress.", "default": "32841070485"}}, "required": ["product_id"]}}}, {"type": "function", "function": {"name": "emailvalidation", "description": "Validates whether the given email address is disposable or not by using the Toolbench RapidAPI service.", "parameters": {"type": "object", "properties": {"email": {"type": "string", "description": "The email address to be validated.", "default": "info@peekdomain.com"}}, "required": ["email"]}}}], "meta": {"source_format": "D", "id": 100}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我需要 ETH/USDC 交易對從 2021-01-01 00:00 到 2021-01-02 00:00 的每小時燭線資料。你可以提供嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "web_candles", "arguments": {"time_bucket": "1h", "start": "2021-01-01 00:00", "end": "2021-01-02 00:00"}}}]}], "tools": [{"type": "function", "function": {"name": "web_candles", "description": "Fetches candlestick data for a specific trading pair within a specified time range.", "parameters": {"type": "object", "properties": {"time_bucket": {"type": "string", "description": "The time bucket to use for the candle size, e.g., '1m', '5m', '1h'.", "default": "1h"}, "pair_id": {"type": "integer", "description": "The primary key for the trading pair. For tests and demos, use id `1` which corresponds to the ETH/USDC pair on Uniswap v2.", "default": 1}, "start": {"type": "string", "description": "The start of the candle fetch period as an ISO 8601 formatted string. Defaults to '2020-05-18 00:00'.", "default": "2020-05-18 00:00"}, "end": {"type": "string", "description": "The end of the candle fetch period as an ISO 8601 formatted string. Defaults to '2020-05-19 00:00'.", "default": "2020-05-19 00:00"}}, "required": ["time_bucket", "pair_id", "start", "end"]}}}, {"type": "function", "function": {"name": "convert", "description": "Convert a specified amount from one currency to another using the RapidAPI currency converter.", "parameters": {"type": "object", "properties": {"is_from": {"type": "string", "description": "The currency code to convert from (e.g., 'USD').", "default": ""}, "amount": {"type": "integer", "description": "The amount of currency to convert.", "default": "10"}, "to": {"type": "string", "description": "The currency code to convert to (e.g., 'EUR').", "default": ""}}, "required": ["is_from", "amount", "to"]}}}], "meta": {"source_format": "D", "id": 101}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你可以幫我抓取事件 ID 為 101、102 和 103 的電競比賽詳細資料嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "games_esports", "arguments": {}}}, {"type": "function", "function": {"name": "games_esports", "arguments": {}}}, {"type": "function", "function": {"name": "games_esports", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "games_esports", "description": "Fetches information about esports games for a given event ID using the SofaSport API.", "parameters": {"type": "object", "properties": {"event_id": {"type": "integer", "description": "The ID of the event to retrieve esports games for.", "default": "10289011"}}, "required": ["event_id"]}}}], "meta": {"source_format": "D", "id": 102}} {"messages": [{"role": "system", "content": "您是個樂於助人的助理。"}, {"role": "user", "content": "對於一位30歲、體重75公斤、身高180公分、活動量為中度、目標維持體重的男性,建議的每日熱量攝取量和三大營養素分配是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "calculate_calorie_intake", "arguments": {"sex": "male", "goal": "maintain"}}}]}], "tools": [{"type": "function", "function": {"name": "calculate_calorie_intake", "description": "Calculates the recommended daily calorie intake and macronutrient distribution based on personal characteristics and goals.", "parameters": {"type": "object", "properties": {"weight_kg": {"type": "number", "description": "Body weight in kilograms."}, "height_cm": {"type": "number", "description": "Height in centimeters."}, "age": {"type": "integer", "description": "Age in years."}, "sex": {"type": "string", "description": "Biological sex, either 'male' or 'female'."}, "activity_level": {"type": "integer", "description": "Activity level on a scale of 1 to 5 (1 = sedentary, 5 = extremely active)."}, "goal": {"type": "string", "description": "Fitness goal, either 'lose', 'maintain', or 'gain'."}}, "required": ["activity_level", "age", "goal", "height_cm", "sex", "weight_kg"]}}}, {"type": "function", "function": {"name": "assess_diabetes_risk", "description": "Assesses the risk of developing type 2 diabetes based on body mass index (BMI) and physical activity level.", "parameters": {"type": "object", "properties": {"weight_lbs": {"type": "integer", "description": "Body weight in pounds."}, "height_inches": {"type": "integer", "description": "Height in inches."}, "activity": {"type": "string", "description": "Physical activity level. Allowed values: \"sedentary\", \"lightly active\", \"moderately active\", or \"very active\"."}}, "required": ["activity", "height_inches", "weight_lbs"]}}}, {"type": "function", "function": {"name": "place_safeway_order", "description": "Order specified items from a Safeway location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location of the Safeway store, e.g., 'Palo Alto, CA'."}, "items": {"type": "array", "description": "List of items to order."}, "quantity": {"type": "array", "description": "Quantity of each item in the order list."}}, "required": ["items", "location", "quantity"]}}}, {"type": "function", "function": {"name": "get_ip_location", "description": "Retrieves the latitude and longitude coordinates of a given IP address using the ip-api.com API.", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "The IP address to locate."}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "is_valid_ip_address", "description": "Checks if a string is a valid IP address (IPv4).", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "The string to check."}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "get_pokemon_move_info", "description": "Retrieves information about a Pokémon's move using the PokéAPI.", "parameters": {"type": "object", "properties": {"pokemon_name": {"type": "string", "description": "The name of the Pokémon.", "default": "run"}, "move_name": {"type": "string", "description": "The name of the move to check. Defaults to \"run\".", "default": "run"}}, "required": ["pokemon_name", "move_name"]}}}, {"type": "function", "function": {"name": "is_hotel_available", "description": "Checks the availability of a hotel for a given date range.", "parameters": {"type": "object", "properties": {"hotel": {"type": "string", "description": "The name of the hotel."}, "city": {"type": "string", "description": "The city where the hotel is located."}, "checkin": {"type": "string", "description": "The check-in date in the format \"YYYY-MM-DD\"."}, "checkout": {"type": "string", "description": "The check-out date in the format \"YYYY-MM-DD\"."}}, "required": ["checkin", "checkout", "city", "hotel"]}}}, {"type": "function", "function": {"name": "get_holidays_by_year", "description": "Retrieves the list of public holidays for a given year and country using the Nager.Date API.", "parameters": {"type": "object", "properties": {"year": {"type": "integer", "description": "The year for which to retrieve the holidays."}, "country_code": {"type": "string", "description": "The two-letter ISO 3166-1 alpha-2 country code."}}, "required": ["country_code", "year"]}}}], "meta": {"source_format": "D", "id": 103}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "句子 'The quick brown fox jumps over the lazy dog' 中有多少個母音?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "count_vowels", "arguments": {"text": "The quick brown fox jumps over the lazy dog"}}}]}], "tools": [{"type": "function", "function": {"name": "is_anagram", "description": "Checks if two words are anagrams of each other.", "parameters": {"type": "object", "properties": {"word1": {"type": "string", "description": "The first word."}, "word2": {"type": "string", "description": "The second word."}}, "required": ["word1", "word2"]}}}, {"type": "function", "function": {"name": "count_vowels", "description": "Counts the number of vowels in a given text.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input text."}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "reverse_string", "description": "Reverses the characters in a string.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input string."}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "calculate_grade", "description": "Calculates the weighted average grade based on scores and their corresponding weights.", "parameters": {"type": "object", "properties": {"scores": {"type": "string", "description": "A list of scores."}, "weights": {"type": "string", "description": "A list of weights corresponding to each score."}}, "required": ["scores", "weights"]}}}, {"type": "function", "function": {"name": "binary_search", "description": "Performs binary search on a sorted list to find the index of a target value.", "parameters": {"type": "object", "properties": {"arr": {"type": "string", "description": "The sorted list of integers."}, "target": {"type": "integer", "description": "The target value to search for."}}, "required": ["arr", "target"]}}}, {"type": "function", "function": {"name": "is_valid_parentheses", "description": "Checks if a string contains valid parentheses.", "parameters": {"type": "object", "properties": {"s": {"type": "string", "description": "The input string."}}, "required": ["s"]}}}], "meta": {"source_format": "D", "id": 104}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我需要2019年FIBA籃球世界盃的球隊總事件資料。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "leaguetotalteamevents", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "leaguetotalteamevents", "description": "Retrieve the total team events for a specific basketball league in a given tournament and season.", "parameters": {"type": "object", "properties": {"seasonid": {"type": "integer", "description": "The season ID for which you want to retrieve the league's total team events.", "default": 42914}, "tournamentid": {"type": "integer", "description": "The unique tournament ID for which you want to retrieve the league's total team events.", "default": 138}}, "required": ["seasonid", "tournamentid"]}}}], "meta": {"source_format": "D", "id": 105}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "我需要查看ID為67890的飯店照片,並且你可以幫我確認今天公車10路線是否有任何改道嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "properties_get_hotel_photos_deprecated", "arguments": {}}}, {"type": "function", "function": {"name": "bus_detours", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "properties_get_hotel_photos_deprecated", "description": "This function fetches all available photos for a given hotel property using the specified RapidAPI key. ", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the property for which to retrieve photos.", "default": "1178275040"}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "bus_detours", "description": "Fetches the bus detours from the SEPTA API based on the specified route number.", "parameters": {"type": "object", "properties": {"req1": {"type": "string", "description": "The route number for which to retrieve detour information. Defaults to 2.", "default": "2"}}, "required": ["req1"]}}}], "meta": {"source_format": "D", "id": 106}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "我正在進行一項研究,需要對應於分數 10、20、30、40 和 50 的男子成績,以觀察低分範圍的趨勢。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "marks_men_points", "arguments": {}}}, {"type": "function", "function": {"name": "marks_men_points", "arguments": {}}}, {"type": "function", "function": {"name": "marks_men_points", "arguments": {}}}, {"type": "function", "function": {"name": "marks_men_points", "arguments": {}}}, {"type": "function", "function": {"name": "marks_men_points", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "marks_men_points", "description": "Fetches the men's marks corresponding to a given points value using the Scoring Tables API.", "parameters": {"type": "object", "properties": {"points": {"type": "integer", "description": "A point value between 1 and 1400 to retrieve men's marks.", "default": "1400"}}, "required": ["points"]}}}], "meta": {"source_format": "D", "id": 107}} {"messages": [{"role": "system", "content": "您是位樂於助人的助理。"}, {"role": "user", "content": "請提供電影 'tt0133093' 的技術規格,並用義大利語搜尋有關 'tecnologia' 的新聞。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "title_get_technical", "arguments": {"tconst": "tt0133093"}}}, {"type": "function", "function": {"name": "search_news", "arguments": {"keyword": "tecnologia", "language": "it"}}}]}], "tools": [{"type": "function", "function": {"name": "title_get_technical", "description": "Fetches technical information for a movie or TV show using its tconst identifier and RapidAPI key.", "parameters": {"type": "object", "properties": {"tconst": {"type": "string", "description": "The unique identifier for a title, typically starting with 'tt', obtained from endpoints like /title/auto-complete or /title/find.", "default": "tt0944947"}}, "required": ["tconst"]}}}, {"type": "function", "function": {"name": "search", "description": "Searches for news from Google News based on the specified keyword.", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The mandatory parameter to specify the search term for querying news.", "default": "facebook"}, "lr": {"type": "string", "description": "Language region for the news search (e.g., 'en-US'). Defaults to 'en-US'.", "default": "en-US"}}, "required": ["keyword", "lr"]}}}, {"type": "function", "function": {"name": "by_source_new", "description": "Fetch the most recent 50 news items from a specific source using the Moka News API.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The news source from which to retrieve the news items, taken from the available sources list.", "default": "cnn"}}, "required": ["source"]}}}, {"type": "function", "function": {"name": "search_news", "description": "Search for news articles using a specified keyword and language.", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for in news articles.", "default": "Joe Biden"}, "language": {"type": "string", "description": "The language of the news articles. Supported languages include:", "default": ""}}, "required": ["keyword", "language"]}}}], "meta": {"source_format": "D", "id": 108}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "郵遞區號 90210 的收入資料為何?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "income_by_zipcode", "arguments": {"zip": "90210"}}}]}], "tools": [{"type": "function", "function": {"name": "directions_between_2_locations", "description": "Fetches the route information between two geographical locations including distance, duration, and steps.", "parameters": {"type": "object", "properties": {"start_lon": {"type": "integer", "description": "Longitude of the starting point (required).", "default": "-16.0755888102153"}, "end_lon": {"type": "integer", "description": "Longitude of the ending point (required).", "default": "-17.447938"}, "end_lat": {"type": "integer", "description": "Latitude of the ending point (required).", "default": "14.693425"}, "start_lat": {"type": "integer", "description": "Latitude of the starting point (required).", "default": "14.14129815"}, "distance_unit": {"type": "string", "description": "Unit of distance measurement, valid options are 'km' (default) and 'mi'.", "default": "km"}}, "required": ["start_lon", "end_lon", "end_lat", "start_lat", "distance_unit"]}}}, {"type": "function", "function": {"name": "income_by_zipcode", "description": "Fetches income data for a given zipcode using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"zip": {"type": "string", "description": "Zipcode for which the income data is to be retrieved.", "default": "2818"}}, "required": ["zip"]}}}, {"type": "function", "function": {"name": "find_by_address", "description": "Fetch addresses from the \"Find By Address\" API using the provided search term.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search term used to find addresses. Defaults to 'Farringdon Road'.", "default": "Farringdon Road"}}, "required": ["query"]}}}], "meta": {"source_format": "D", "id": 109}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "在列表 [2, 4, 6, 8, 10] 中找出和為 12 的配對,並估算在初始族群為 2000、成長率為 0.04 的情況下,經過 60 分鐘後的細菌族群?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "find_pairs_with_sum", "arguments": {}}}, {"type": "function", "function": {"name": "bacterial_growth", "arguments": {}}}]}, {"role": "assistant", "content": ", target=12), bacterial_growth(initial_population=2000, growth_rate=0.04, time=60)]"}], "tools": [{"type": "function", "function": {"name": "find_pairs_with_sum", "description": "Finds all pairs of integers in a list that sum up to a target value.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of integers."}, "target": {"type": "integer", "description": "The target sum value."}}, "required": ["nums", "target"]}}}, {"type": "function", "function": {"name": "bacterial_growth", "description": "Calculates the bacterial population after a given time based on the initial population and growth rate.", "parameters": {"type": "object", "properties": {"initial_population": {"type": "integer", "description": "The initial bacterial population.", "default": 20}, "growth_rate": {"type": "number", "description": "The growth rate per unit time.", "default": 20}, "time": {"type": "number", "description": "The time elapsed."}, "doubling_time": {"type": "string", "description": "The doubling time of the bacteria in minutes. Defaults to 20."}}, "required": ["doubling_time", "time"]}}}], "meta": {"source_format": "D", "id": 110}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "建立3個英文使用者檔案和2個西班牙文使用者檔案。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_sample_userprofile", "arguments": {"locale": "en"}}}, {"type": "function", "function": {"name": "get_sample_userprofile", "arguments": {"locale": "es"}}}]}], "tools": [{"type": "function", "function": {"name": "search_country", "description": "Search for a country to see if they have an active pageant contest.", "parameters": {"type": "object", "properties": {"search": {"type": "string", "description": "The search string to query for active pageant contests in a country.", "default": "philippines"}}, "required": ["search"]}}}, {"type": "function", "function": {"name": "get_all_kfc_locations_by_state_and_city", "description": "Retrieve KFC locations for a given state and city with pagination support.", "parameters": {"type": "object", "properties": {"state": {"type": "string", "description": "The state where KFC locations are being queried.", "default": "CA"}, "city": {"type": "string", "description": "The city where KFC locations are being queried.", "default": "San Jose"}, "page": {"type": "integer", "description": "The page number for the results, with each page containing 10 results.", "default": "0"}}, "required": ["state", "city", "page"]}}}, {"type": "function", "function": {"name": "get_sample_userprofile", "description": "Generates fake user profile sample data using an external API.", "parameters": {"type": "object", "properties": {"count": {"type": "string", "description": "The number of profiles to generate. Defaults to 2. Maximum value is 1000.", "default": "2"}, "locale": {"type": "string", "description": "The locale to use for generating user profiles. Defaults to 'en'.", "default": "en"}}, "required": ["count", "locale"]}}}, {"type": "function", "function": {"name": "single_contest", "description": "Fetch details of a single pageant contest by its ID from the PageantDB API.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the pageant contest to fetch details for.", "default": "35"}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 111}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能告訴我2001年6月10日雙子座的星座運勢嗎?另外,一位35歲、身高60英寸、體重120磅的女性的體脂率是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "hoscoscope", "arguments": {"date": "2001-06-10", "sign": "Gemini"}}}, {"type": "function", "function": {"name": "bodyfat_imperial", "arguments": {"gender": "female"}}}]}], "tools": [{"type": "function", "function": {"name": "hoscoscope", "description": "Retrieves the horoscope for a specific sign and date using the Horostory API.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "The date for which to retrieve the horoscope, formatted as 'YYYY-MM-DD'.", "default": ""}, "sign": {"type": "string", "description": "The astrological sign for which to retrieve the horoscope.", "default": ""}}, "required": ["date", "sign"]}}}, {"type": "function", "function": {"name": "bodyfat_imperial", "description": "Calculates the body fat percentage based on the provided height, gender, weight, and age using imperial units.", "parameters": {"type": "object", "properties": {"height": {"type": "integer", "description": "The height of the person in inches.", "default": "77"}, "gender": {"type": "string", "description": "The gender of the person. Must be either 'male' or 'female'.", "default": "male"}, "weight": {"type": "integer", "description": "The weight of the person in pounds.", "default": "180"}, "age": {"type": "integer", "description": "The age of the person in years.", "default": "26"}}, "required": ["height", "gender", "weight", "age"]}}}], "meta": {"source_format": "D", "id": 112}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "我想知道 0 的階乘和 7 的階乘。你可以幫我計算這些嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "factorial", "arguments": {}}}, {"type": "function", "function": {"name": "factorial", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "factorial", "description": "Computes the factorial of a non-negative integer.", "parameters": {"type": "object", "properties": {"n": {"type": "integer", "description": "The non-negative integer to compute the factorial of."}}, "required": ["n"]}}}], "meta": {"source_format": "D", "id": 113}} {"messages": [{"role": "system", "content": "你是位樂於助人的助理。"}, {"role": "user", "content": "你可以找到所有位於歐洲和亞洲的國家,並告訴我員工編號 12345 的詳細資料嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "search_countries_by_continent", "arguments": {"continent": "歐洲"}}}, {"type": "function", "function": {"name": "search_countries_by_continent", "arguments": {"continent": "亞洲"}}}, {"type": "function", "function": {"name": "get_a_specific_employee_by_employee_id", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "search_countries_by_continent", "description": "Search for countries by their continent using the specified query parameters.", "parameters": {"type": "object", "properties": {"continent": {"type": "string", "description": "The continent of the countries to search for. This search is case insensitive and requires an exact match.", "default": "North America"}, "offset": {"type": "string", "description": "The zero-indexed page number from which the search should continue. Defaults to 0.", "default": 0}, "fields": {"type": "string", "description": "A comma-separated list of fields to filter the response. Defaults to None.", "default": ""}, "limit": {"type": "string", "description": "The maximum number of records to return per page. Defaults to 10.", "default": 10}}, "required": ["continent", "offset", "fields", "limit"]}}}, {"type": "function", "function": {"name": "get_a_specific_employee_by_employee_id", "description": "Fetches details of a specific employee by their unique employee ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The unique ID of the employee whose details are to be fetched.", "default": "715505"}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "rental_settings", "description": "python", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location for which the rental settings are to be fetched.", "default": "santa monica"}, "currency": {"type": "string", "description": "The currency in which the rental settings should be returned. Defaults to None.", "default": ""}}, "required": ["location", "currency"]}}}], "meta": {"source_format": "D", "id": 114}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "計算 5 的階乘。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "calculate_factorial", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "find_duplicate_number", "description": "Finds the duplicate number in a list of integers.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of integers."}}, "required": ["nums"]}}}, {"type": "function", "function": {"name": "flatten_list", "description": "Flattens a nested list into a single-level list.", "parameters": {"type": "object", "properties": {"nested_list": {"type": "array", "description": "The nested list to be flattened."}}, "required": ["nested_list"]}}}, {"type": "function", "function": {"name": "find_max_subarray_sum", "description": "Finds the maximum sum of a contiguous subarray within a list of integers.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The input list of integers."}}, "required": ["nums"]}}}, {"type": "function", "function": {"name": "calculate_factorial", "description": "Calculates the factorial of a non-negative integer.", "parameters": {"type": "object", "properties": {"n": {"type": "integer", "description": "The non-negative integer."}}, "required": ["n"]}}}, {"type": "function", "function": {"name": "split_list", "description": "Splits a list into chunks of a specified size.", "parameters": {"type": "object", "properties": {"lst": {"type": "array", "description": "The input list."}, "chunk_size": {"type": "integer", "description": "The size of each chunk."}}, "required": ["chunk_size", "lst"]}}}, {"type": "function", "function": {"name": "get_range", "description": "Helper function to format the range string.", "parameters": {"type": "object", "properties": {"start": {"type": "integer", "description": "The start of the range."}, "end": {"type": "integer", "description": "The end of the range."}}, "required": ["end", "start"]}}}, {"type": "function", "function": {"name": "count_occurrences", "description": "Counts the occurrences of each element in a list and returns a dictionary with the counts.", "parameters": {"type": "object", "properties": {"lst": {"type": "array", "description": "The input list."}}, "required": ["lst"]}}}], "meta": {"source_format": "D", "id": 115}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "27 是否為 3 的冪?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "is_power", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "is_power", "description": "Checks if a number is a power of a given base.", "parameters": {"type": "object", "properties": {"num": {"type": "integer", "description": "The number to check."}, "base": {"type": "integer", "description": "The base to check against."}}, "required": ["base", "num"]}}}, {"type": "function", "function": {"name": "find_minimum_rotated_sorted_array", "description": "Finds the minimum element in a rotated sorted array.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The rotated sorted array."}}, "required": ["nums"]}}}, {"type": "function", "function": {"name": "future_investment_value", "description": "Calculates the future value of an investment based on the present value, annual interest rate, and number of years.", "parameters": {"type": "object", "properties": {"present_value": {"type": "number", "description": "The present value of the investment."}, "annual_interest_rate": {"type": "number", "description": "The annual interest rate as a decimal (e.g., 0.05 for 5%)."}, "years": {"type": "integer", "description": "The number of years the investment will grow."}}, "required": ["annual_interest_rate", "present_value", "years"]}}}, {"type": "function", "function": {"name": "find_peak_element", "description": "Finds a peak element in a list of integers.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of integers."}}, "required": ["nums"]}}}, {"type": "function", "function": {"name": "density", "description": "Calculates the density of an object given its mass and volume.", "parameters": {"type": "object", "properties": {"mass": {"type": "number", "description": "The mass of the object."}, "volume": {"type": "number", "description": "The volume of the object."}}, "required": ["mass", "volume"]}}}], "meta": {"source_format": "D", "id": 116}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請搜尋第 1 頁的「科幻」相關電影。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "search_by_name", "arguments": {"query": "科幻"}}}]}], "tools": [{"type": "function", "function": {"name": "new_arrivals", "description": "Fetch the latest arrivals from different platforms for a specified region.", "parameters": {"type": "object", "properties": {"region": {"type": "string", "description": "The region code to fetch the latest arrivals from. Use 'IN' for India and 'US' for the USA. Currently, only these two regions are supported.", "default": "US"}, "page": {"type": "string", "description": "The page number for paginated results. Defaults to 1.", "default": "1"}}, "required": ["region", "page"]}}}, {"type": "function", "function": {"name": "actors_random", "description": "Fetches a random list of actors from the Movies Database RapidAPI.", "parameters": {"type": "object", "properties": {"limit": {"type": "string", "description": "The number of random actors to retrieve. Defaults to None, and the API will use its default value if not specified.", "default": ""}}, "required": ["limit"]}}}, {"type": "function", "function": {"name": "get_id", "description": "Fetches the ID of a movie based on the given search query from the RapidAPI similar movies service.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "The search string for the movie title.", "default": "titanic"}}, "required": ["q"]}}}, {"type": "function", "function": {"name": "search_by_name", "description": "Searches for a movie by its title using the provided query string.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The movie title or keyword to search for.", "default": "kong"}, "page": {"type": "string", "description": "The page number of results to retrieve. Defaults to 1.", "default": "1"}}, "required": ["query", "page"]}}}], "meta": {"source_format": "D", "id": 117}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "你可以提供 Netflix 標題 ID 為 's12345' 和 's67890' 的季數(以英文顯示)嗎?同時也請列出在印度可用的 OTT 平台?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "title_seasons", "arguments": {"ids": "s12345,s67890", "lang": "en"}}}, {"type": "function", "function": {"name": "ott_providers", "arguments": {"region": "IN"}}}]}], "tools": [{"type": "function", "function": {"name": "title_seasons", "description": "Fetch the seasons of the specified Netflix titles.", "parameters": {"type": "object", "properties": {"ids": {"type": "string", "description": "Comma-separated string of Netflix title IDs for which seasons are to be fetched.", "default": "80057281"}, "lang": {"type": "string", "description": "Language code for the fetched data, default is 'en'.", "default": "en"}, "offset": {"type": "string", "description": "Offset for the seasons data, default is 0.", "default": "0"}, "limit": {"type": "string", "description": "Limit for the number of seasons to fetch, default is 25.", "default": "25"}}, "required": ["ids", "lang", "offset", "limit"]}}}, {"type": "function", "function": {"name": "ott_providers", "description": "Fetch information on OTT platforms supported in a given region.", "parameters": {"type": "object", "properties": {"region": {"type": "string", "description": "The region to get OTT platform information for. Use 'US' for USA and 'IN' for India.", "default": "IN"}}, "required": ["region"]}}}, {"type": "function", "function": {"name": "titles_random", "description": "Fetches a random list of movie titles from the Movies Database API based on the provided query parameters.", "parameters": {"type": "object", "properties": {"startyear": {"type": "string", "description": "The starting year range filter (e.g., 2020).", "default": ""}, "genre": {"type": "string", "description": "The genre filter (e.g., 'Drama').", "default": ""}, "titletype": {"type": "string", "description": "The type of title to filter by (e.g., 'movie').", "default": ""}, "sort": {"type": "string", "description": "Sorting order (e.g., 'year.incr' or 'year.decr').", "default": ""}, "limit": {"type": "string", "description": "The number of titles per page (default is 10, maximum is 10).", "default": ""}, "info": {"type": "string", "description": "Type of information to include (default is 'mini-info'; options include 'base_info', 'mini_info', 'image', etc.).", "default": ""}, "endyear": {"type": "string", "description": "The ending year range filter (e.g., 2020).", "default": ""}, "year": {"type": "string", "description": "The starting year range filter (e.g., 2020).", "default": ""}, "list": {"type": "string", "description": "The selected list type (e.g., 'most_pop_movies', 'most_pop_series', 'top_rated_series_250', etc.).", "default": ""}}, "required": ["startyear", "genre", "titletype", "sort", "limit", "info", "endyear", "year", "list"]}}}], "meta": {"source_format": "D", "id": 118}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請產生 3 句 Lorem Ipsum 文字,並且使用適當的函式取得「Alice」的國籍。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "sentence", "arguments": {}}}, {"type": "function", "function": {"name": "nationalize", "arguments": {"name": "Alice"}}}]}], "tools": [{"type": "function", "function": {"name": "nationalize", "description": "Fetches the nationality of the provided name using the Genderize-Nationalize API.", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name for which to determine the nationality.", "default": "jad"}}, "required": ["name"]}}}, {"type": "function", "function": {"name": "get_railway_period_for_utc_date", "description": "Fetch the railway period for a given UTC date provided in milliseconds.", "parameters": {"type": "object", "properties": {"millis": {"type": "integer", "description": "The UTC date in milliseconds since the Unix epoch.", "default": "1654470000000"}}, "required": ["millis"]}}}, {"type": "function", "function": {"name": "rental_amenities", "description": "Fetches rental amenities information for a given location using the AirDNA API.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location for which to fetch rental amenities information.", "default": "santa monica"}, "currency": {"type": "string", "description": "The currency code for the rental pricing. Defaults to None.", "default": ""}}, "required": ["location", "currency"]}}}, {"type": "function", "function": {"name": "sources", "description": "Fetches a list of all the organizations from which information is collected.", "parameters": {"type": "object", "properties": {"json_callback": {"type": "string", "description": "If using JSONP, specify the function name here.", "default": ""}}, "required": ["json_callback"]}}}, {"type": "function", "function": {"name": "sentence", "description": "This function creates lorem ipsum text by specifying the number of sentences to generate. It makes a request to the RapidAPI lorem ipsum service.", "parameters": {"type": "object", "properties": {"amount": {"type": "integer", "description": "Number of sentences to generate. Defaults to 2.", "default": "2"}}, "required": ["amount"]}}}, {"type": "function", "function": {"name": "getpeople", "description": "Fetch a list of Power BI influencers from a specified page using the given API key.", "parameters": {"type": "object", "properties": {"page": {"type": "integer", "description": "The page number to request the list of influencers from.", "default": "1"}}, "required": ["page"]}}}], "meta": {"source_format": "D", "id": 119}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "我如何將列表 ['a', 'b', 'c', 'd', 'e'] 拆分成大小為 3 的區塊?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "split_list", "arguments": {}}}]}, {"role": "assistant", "content": ", chunk_size=3)]"}], "tools": [{"type": "function", "function": {"name": "split_list", "description": "Splits a list into chunks of a specified size.", "parameters": {"type": "object", "properties": {"lst": {"type": "array", "description": "The input list."}, "chunk_size": {"type": "integer", "description": "The size of each chunk."}}, "required": ["chunk_size", "lst"]}}}, {"type": "function", "function": {"name": "word_frequency", "description": "Calculates the frequency of each word in a text.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input text."}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "is_subset", "description": "Checks if one set is a subset of another set.", "parameters": {"type": "object", "properties": {"set1": {"type": "string", "description": "The first set."}, "set2": {"type": "string", "description": "The second set."}}, "required": ["set1", "set2"]}}}, {"type": "function", "function": {"name": "reverse_string", "description": "Reverses the characters in a string.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input string."}}, "required": ["text"]}}}], "meta": {"source_format": "D", "id": 120}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "計算 'Alice' 和 'Bob' 之間的愛情相容度。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getpercentage", "arguments": {"fname": "Alice", "sname": "Bob"}}}]}], "tools": [{"type": "function", "function": {"name": "channel_playlists", "description": "Fetches playlists from a specified YouTube channel using the YouTube Data API and various filters.", "parameters": {"type": "object", "properties": {"hl": {"type": "string", "description": "Language parameter, specified as a BCP-47 language code. Defaults to 'en'.", "default": "en"}, "filter": {"type": "string", "description": "Filter key or token to specify the type of playlists to return. Defaults to None. Available options:", "default": ""}, "cursor": {"type": "string", "description": "Continuation token for pagination. Defaults to None.", "default": ""}, "is_id": {"type": "string", "description": "The YouTube channel ID to fetch playlists for. Defaults to 'UC-lHJZR3Gqxm24_Vd_AJ5Yw'.", "default": "UC-lHJZR3Gqxm24_Vd_AJ5Yw"}, "gl": {"type": "string", "description": "Geolocation parameter to filter results by region. Defaults to 'US'.", "default": "US"}}, "required": ["hl", "filter", "cursor", "is_id", "gl"]}}}, {"type": "function", "function": {"name": "getpercentage", "description": "Calculates and returns the love compatibility percentage between two names using the Love Calculator API.", "parameters": {"type": "object", "properties": {"sname": {"type": "string", "description": "The second name to be used in the compatibility calculation.", "default": "Alice"}, "fname": {"type": "string", "description": "The first name to be used in the compatibility calculation.", "default": "John"}}, "required": ["sname", "fname"]}}}], "meta": {"source_format": "D", "id": 121}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你可以把這些數字按升冪排序嗎: [3.14, 2.71, 1.618, 0.577]?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "sort_numbers", "arguments": {}}}]}, {"role": "assistant", "content": ", descending=false)]"}], "tools": [{"type": "function", "function": {"name": "sort_numbers", "description": "Sorts a list of numbers in ascending or descending order.", "parameters": {"type": "object", "properties": {"numbers": {"type": "string", "description": "The list of numbers to be sorted."}, "descending": {"type": "string", "description": "If True, sorts the numbers in descending order. Defaults to False."}}, "required": ["descending", "numbers"]}}}], "meta": {"source_format": "D", "id": 122}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "你能取得依 ID 遞減排序的最新投注建議,並提供 2023 賽季洛杉磯湖人隊的賽程嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_all_predictions", "arguments": {"sort": "-id"}}}, {"type": "function", "function": {"name": "get_team_schedule", "arguments": {"season": "2023", "teamabv": "LAL"}}}]}], "tools": [{"type": "function", "function": {"name": "get_all_predictions", "description": "Fetches all betting tips from the API with configurable parameters for connection, content type, sorting, and API key.", "parameters": {"type": "object", "properties": {"connection": {"type": "string", "description": "Specifies the connection type for the API request. Default is 'keep-alive'.", "default": "keep-alive"}, "content_type": {"type": "string", "description": "Sets the content type for the API request. Default is 'application/json'.", "default": "application/json"}, "sort": {"type": "string", "description": "Criterion for sorting the betting tips. Default is '-id' for descending order.", "default": "-id"}}, "required": ["connection", "content_type", "sort"]}}}, {"type": "function", "function": {"name": "get_team_schedule", "description": "Fetches the schedule for an NBA team.", "parameters": {"type": "object", "properties": {"season": {"type": "string", "description": "The season year in YYYY format. Defaults to '2023'. Only '2022' and '2023' are valid.", "default": "2023"}, "teamid": {"type": "string", "description": "The unique identifier for the team. Accepts values from 1 to 30.", "default": ""}, "teamabv": {"type": "string", "description": "The team's abbreviation, such as 'CHI' for the Chicago Bulls, 'BOS' for the Boston Celtics, or 'ATL' for the Atlanta Hawks. Defaults to 'GS'.", "default": "GS"}}, "required": ["season", "teamid", "teamabv"]}}}], "meta": {"source_format": "D", "id": 123}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請問高度為 10000 的萊特幣區塊有哪些詳細資訊?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_litecoin_block_by_hash_or_height", "arguments": {"hash": "10000"}}}]}], "tools": [{"type": "function", "function": {"name": "get_litecoin_block_by_hash_or_height", "description": "Fetches detailed information about a Litecoin block by its hash or height.", "parameters": {"type": "object", "properties": {"hash": {"type": "string", "description": "The hash or height of the Litecoin block you want to retrieve details for.", "default": "1234314"}}, "required": ["hash"]}}}], "meta": {"source_format": "D", "id": 124}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "你可以為我取得比賽 24680 的即時比分詳情,以及球員 35791 的最新媒體嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "match_scorecard", "arguments": {}}}, {"type": "function", "function": {"name": "player_latest_media", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "match_scorecard", "description": "Fetches the full scorecard (updated live) for a given match ID using the RapidAPI service.", "parameters": {"type": "object", "properties": {"match_id": {"type": "integer", "description": "The ID of the cricket match for which to retrieve the live scorecard.", "default": "2432999"}}, "required": ["match_id"]}}}, {"type": "function", "function": {"name": "player_latest_media", "description": "Fetch the latest media for a given player using their player ID.", "parameters": {"type": "object", "properties": {"player_id": {"type": "integer", "description": "The unique identifier of the player for whom the latest media is to be fetched.", "default": "12994"}}, "required": ["player_id"]}}}], "meta": {"source_format": "D", "id": 125}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我需要特斯拉公司(Tesla, Inc.)上一季的資產負債表。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "balance_sheet_statement", "arguments": {"ticker": "TSLA"}}}]}], "tools": [{"type": "function", "function": {"name": "balance_sheet_statement", "description": "Fetches the balance sheet statement of a specified company by its ticker symbol.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string", "description": "The ticker symbol of the company whose balance sheet statement is to be retrieved.", "default": "AAPL"}}, "required": ["ticker"]}}}], "meta": {"source_format": "D", "id": 126}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "我有一個數字列表 [1, 2, 2, 3, 3, 3, 4, 4, 4, 4],我想知道每個數字出現的次數。你也可以幫我生成一個長度為15個字元、包含特殊字元的密碼嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "count_occurrences", "arguments": {}}}, {"type": "function", "function": {"name": "generate_password", "arguments": {}}}]}, {"role": "assistant", "content": "), generate_password(length=15, include_special=true)]"}], "tools": [{"type": "function", "function": {"name": "count_occurrences", "description": "Counts the occurrences of each element in a list and returns a dictionary with the counts.", "parameters": {"type": "object", "properties": {"lst": {"type": "array", "description": "The input list."}}, "required": ["lst"]}}}, {"type": "function", "function": {"name": "word_frequency", "description": "Calculates the frequency of each word in a text.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input text."}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "generate_password", "description": "Generates a random password of specified length and character types.", "parameters": {"type": "object", "properties": {"length": {"type": "string", "description": "The length of the password. Defaults to 12.", "default": 12}, "include_special": {"type": "string", "description": "Whether to include special characters in the password. Defaults to True.", "default": true}}, "required": ["length", "include_special"]}}}], "meta": {"source_format": "D", "id": 127}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請取得 2023 年 3 月 15 日的恐懼與貪婪指數。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "historical", "arguments": {"date": "2023-03-15"}}}]}], "tools": [{"type": "function", "function": {"name": "google_videos", "description": "Fetches the JSON data of video results from the Google Search API based on the given search parameters.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query string.", "default": "football"}, "uule": {"type": "string", "description": "Encoded location parameter.", "default": ""}, "duration": {"type": "string", "description": "Video duration filter.", "default": ""}, "safe": {"type": "string", "description": "Safe search setting.", "default": ""}, "hl": {"type": "string", "description": "Language of the search results (default is 'en_us').", "default": "en_us"}, "num": {"type": "string", "description": "Number of results to return (default is '10').", "default": "10"}, "lr": {"type": "string", "description": "Language restriction for the search.", "default": ""}, "device": {"type": "string", "description": "Device type (default is 'desktop').", "default": "desktop"}, "tbs": {"type": "string", "description": "Restrict results based on time.", "default": ""}, "nfpr": {"type": "string", "description": "Enables or disables personal results (default is '0').", "default": "0"}, "gl": {"type": "string", "description": "Country restrict for the search (default is 'us').", "default": "us"}, "page": {"type": "string", "description": "Page number for the search results (default is '0').", "default": "0"}}, "required": ["query", "uule", "duration", "safe", "hl", "num", "lr", "device", "tbs", "nfpr", "gl", "page"]}}}, {"type": "function", "function": {"name": "historical", "description": "Fetches the Fear and Greed Index for a given date from the RapidAPI service.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "The date for which to retrieve the index, in the format 'YYYY-MM-DD'.", "default": "2022-06-01"}}, "required": ["date"]}}}, {"type": "function", "function": {"name": "rental_ratings", "description": "Fetches rental ratings for a specified location using the AirDNA API.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location for which rental ratings are to be fetched.", "default": "santa monica"}, "currency": {"type": "string", "description": "The currency code for the rental ratings. Defaults to None.", "default": ""}}, "required": ["location", "currency"]}}}, {"type": "function", "function": {"name": "get_cities", "description": "Fetches a list of cities within a specified region of a country using the provided RapidAPI key.", "parameters": {"type": "object", "properties": {"region_code": {"type": "string", "description": "The code of the region for which to retrieve cities.", "default": "abr"}, "country_code": {"type": "string", "description": "The code of the country which contains the region.", "default": "ph"}}, "required": ["region_code", "country_code"]}}}], "meta": {"source_format": "D", "id": 128}} {"messages": [{"role": "system", "content": "你是位樂於助人的助理。"}, {"role": "user", "content": "請使用 Realty-in-AU API 提供「布里斯本」和「阿德萊德」的自動完成建議。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "auto_complete", "arguments": {"query": "布里斯本"}}}, {"type": "function", "function": {"name": "auto_complete", "arguments": {"query": "阿德萊德"}}}]}], "tools": [{"type": "function", "function": {"name": "properties_get_broadband", "description": "Fetch broadband information for a given property listing.", "parameters": {"type": "object", "properties": {"listing_id": {"type": "integer", "description": "The ID of the property listing for which broadband information is to be retrieved. This value is typically obtained from the `/properties/list` endpoint.", "default": "56354192"}}, "required": ["listing_id"]}}}, {"type": "function", "function": {"name": "auto_complete", "description": "Get autocomplete suggestions for a given query using the Realty-in-AU API.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Any term or phrase you are familiar with. It can be an address or a keyword for which you want autocomplete suggestions.", "default": "sydney"}}, "required": ["query"]}}}], "meta": {"source_format": "D", "id": 129}} {"messages": [{"role": "system", "content": "您是位樂於助人的助理。"}, {"role": "user", "content": "請為 URL 'https://www.example.com' 生成一個大小為 7 的 QR 碼,並使用罰分 0.3 分析密碼 'Secure123',並以 JSON 格式輸出。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "qr_code_image", "arguments": {"url": "https://www.example.com"}}}, {"type": "function", "function": {"name": "ec", "arguments": {"password": "Secure123", "outputformat": "json"}}}]}], "tools": [{"type": "function", "function": {"name": "qr_code_image", "description": "Generates a QR Code image of a specified size for a given URL.", "parameters": {"type": "object", "properties": {"size": {"type": "string", "description": "The size of the QR code image. Default is 5.", "default": "5"}, "url": {"type": "string", "description": "The URL to be encoded in the QR code. Default is 'www.google.com'.", "default": "www.google.com"}}, "required": ["size", "url"]}}}, {"type": "function", "function": {"name": "qr_code_image_generator", "description": "Generates a QR code image from a given URL using the QR Code Generator API.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "The URL for which the QR code is to be generated.", "default": "https://rapidapi.com"}}, "required": ["url"]}}}, {"type": "function", "function": {"name": "scrape_links", "description": "Scrapes a specified number of links from the provided URL using the Scrapey Link Scraper API.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "The target URL from which to scrape links.", "default": "amazon.com"}, "maxlinks": {"type": "string", "description": "The maximum number of links to scrape. Defaults to 10.", "default": "10"}, "includequery": {"type": "string", "description": "Whether to include query parameters in the links. Defaults to None.", "default": "true"}}, "required": ["url", "maxlinks", "includequery"]}}}, {"type": "function", "function": {"name": "ec", "description": "Analyzes a given password based on a variety of parameters and returns the analysis.", "parameters": {"type": "object", "properties": {"password": {"type": "string", "description": "The password to be analyzed. It must be between 4 and 128 characters long.", "default": ""}, "penalty": {"type": "string", "description": "The penalty applied to each character that is part of a word, number sequence, alphabet sequence, etc. The penalty is a float number in the range [0, 1], with a default value of 0.25.", "default": ""}, "outputformat": {"type": "string", "description": "The format of the returned analysis. Allowed values are 'json', 'xml', and 'yaml'. The default value is 'xml'.", "default": ""}, "reqid": {"type": "string", "description": "An identifier for this request. This string must match the regular expression `^(?i)[a-z0-9]{8,16}$`. If not provided, a randomly generated identifier will be assigned.", "default": ""}}, "required": ["password", "penalty", "outputformat", "reqid"]}}}], "meta": {"source_format": "D", "id": 130}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請幫我在奧斯汀(德州)的 Whole Foods 下小訂單。請包含有機香蕉、燕麥奶和奇亞籽。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "whole_foods_order", "arguments": {"store_location": "奧斯汀, 德州", "order_size": "small"}}}]}, {"role": "assistant", "content": ", order_size=\"small\")]"}], "tools": [{"type": "function", "function": {"name": "whole_foods_order", "description": "Places an order at Whole Foods.", "parameters": {"type": "object", "properties": {"store_location": {"type": "string", "description": "The location of the Whole Foods store."}, "item_list": {"type": "array", "description": "A list of items to order."}, "order_size": {"type": "string", "description": "The size of the order. Allowed values: \"small\", \"medium\", or \"large\"."}}, "required": ["item_list", "order_size", "store_location"]}}}], "meta": {"source_format": "D", "id": 131}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "列出排名前五的 Minecraft 伺服器。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_all_servers", "arguments": {"limit": "5"}}}]}], "tools": [{"type": "function", "function": {"name": "get_a_specific_item_by_id", "description": "Fetches a specific item from an API using its id.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The unique identifier of the item to fetch.", "default": "99020"}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "get_all_servers", "description": "Fetches a list of Minecraft servers with an optional limit on the number of servers returned.", "parameters": {"type": "object", "properties": {"limit": {"type": "string", "description": "A string representing the maximum number of servers to return.", "default": "2000"}}, "required": ["limit"]}}}, {"type": "function", "function": {"name": "gamebans", "description": "Fetches game bans for a specified E-Sports game using the provided game ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the E-Sports game for which you want to retrieve the ban details.", "default": 359554}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 132}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "找出 'abcddcbaz' 中最長的回文子字串。另外,將 '10011' 與 '11101' 相加,二進位結果為何?"}], "tools": [{"type": "function", "function": {"name": "find_longest_palindromic_substring", "description": "Finds the longest palindromic substring in a string.", "parameters": {"type": "object", "properties": {"s": {"type": "string", "description": "The input string."}}, "required": ["s"]}}}, {"type": "function", "function": {"name": "binary_addition", "description": "Adds two binary numbers and returns the result as a binary string.", "parameters": {"type": "object", "properties": {"a": {"type": "string", "description": "The first binary number."}, "b": {"type": "string", "description": "The second binary number."}}, "required": ["a", "b"]}}}], "meta": {"source_format": "D", "id": 133}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請問以太坊目前以美元和歐元計的最新價格是多少?以及請提供特斯拉公司截至最近一季的資產負債表?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "short_ticker", "arguments": {"market": "global", "fiats": "USD,EUR"}}}, {"type": "function", "function": {"name": "balance_sheet_statement", "arguments": {"ticker": "TSLA"}}}]}], "tools": [{"type": "function", "function": {"name": "stock_time_series", "description": "Fetches stock time series data and key news events for a specified period and symbol.", "parameters": {"type": "object", "properties": {"period": {"type": "string", "description": "The period for which to return time series and key events. Supported values are:", "default": ""}, "symbol": {"type": "string", "description": "The stock symbol (ticker) to query. Examples include:", "default": "AAPL:NASDAQ"}, "language": {"type": "string", "description": "The language code for the results (default is 'en'). Refer to ISO 639-1 for available 2-letter language codes.", "default": "en"}}, "required": ["period", "symbol", "language"]}}}, {"type": "function", "function": {"name": "short_ticker", "description": "Fetches the latest and daily average prices for the specified cryptocurrency in the given market and against the provided fiat currencies.", "parameters": {"type": "object", "properties": {"market": {"type": "string", "description": "The market type, possible values include 'global' and 'local'.", "default": "global"}, "crypto": {"type": "string", "description": "The cryptocurrency to get ticker information for, default is 'ETH'.", "default": "ETH"}, "fiats": {"type": "string", "description": "A comma-separated string of fiat currencies to return values for, default is 'USD,EUR'.", "default": "USD,EUR"}}, "required": ["market", "crypto", "fiats"]}}}, {"type": "function", "function": {"name": "balance_sheet_statement", "description": "Fetches the balance sheet statement of a specified company by its ticker symbol.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string", "description": "The ticker symbol of the company whose balance sheet statement is to be retrieved.", "default": "AAPL"}}, "required": ["ticker"]}}}], "meta": {"source_format": "D", "id": 134}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "你可以取得今天以及一週後的每日賽事清單嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "daily_match_list_all", "arguments": {"date": "14/12/2023"}}}, {"type": "function", "function": {"name": "daily_match_list_all", "arguments": {"date": "21/12/2023"}}}]}], "tools": [{"type": "function", "function": {"name": "getteamstats", "description": "Retrieves the statistics of a specific NHL team using the given team ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the team.", "default": 28}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "home_team_last_10_matches", "description": "Fetches the statistics and list of the last 10 matches played by the home team for a given team ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the home team for which to fetch the last 10 matches.", "default": "81930"}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "prediction_details", "description": "Fetches and returns detailed prediction information for a given football match.", "parameters": {"type": "object", "properties": {"match_id": {"type": "string", "description": "The unique identifier for the football match.", "default": "62fb54c82c9a2e8d643c7965"}}, "required": ["match_id"]}}}, {"type": "function", "function": {"name": "daily_match_list_all", "description": "Fetches the daily match list including scheduled, live, and finished matches for a given date.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "The date of the match in the format {dd/MM/yyyy}.", "default": "06/10/2020"}}, "required": ["date"]}}}], "meta": {"source_format": "D", "id": 135}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請計算坎帕拉(緯度 0.3163,經度 32.5825)與金賈(緯度 0.4463,經度 33.2041)之間的距離(以英里為單位)。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "measure_distance", "arguments": {"unit": "mi"}}}]}], "tools": [{"type": "function", "function": {"name": "measure_distance", "description": "Calculates the distance between two geographic locations specified by their latitude and longitude coordinates, with an optional unit of measurement.", "parameters": {"type": "object", "properties": {"lon2": {"type": "integer", "description": "Longitude of the second location.", "default": "10.103167361330975"}, "lat2": {"type": "integer", "description": "Latitude of the second location.", "default": "36.81395975"}, "lon1": {"type": "integer", "description": "Longitude of the first location.", "default": "10.7603483"}, "lat1": {"type": "integer", "description": "Latitude of the first location.", "default": "34.797783"}, "unit": {"type": "string", "description": "Unit of distance measurement. Valid options are \"km\" (default), \"mi\", \"ft\", and \"yd\".", "default": "km"}}, "required": ["lon2", "lat2", "lon1", "lat1", "unit"]}}}, {"type": "function", "function": {"name": "postcodes_postcode", "description": "Fetches addresses for a given UK postcode using the RapidAPI UK Postcode API.", "parameters": {"type": "object", "properties": {"postcode": {"type": "string", "description": "The UK postcode to look up addresses for.", "default": "PL11DN"}}, "required": ["postcode"]}}}, {"type": "function", "function": {"name": "search_restaurants_by_town", "description": "Search for restaurants within a specified town or city using the Wyre Data API.", "parameters": {"type": "object", "properties": {"town": {"type": "string", "description": "The name of the town or city to search for restaurants.", "default": "hambleton"}}, "required": ["town"]}}}, {"type": "function", "function": {"name": "get_place_by_id", "description": "Returns a single Place identified by an ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "ID of the Place.", "default": "US"}, "language": {"type": "string", "description": "Specifies a language (ISO 639-1) to get the localized name of the place. If translation is not available, the \"localizedName\" property will be null. Defaults to None.", "default": ""}}, "required": ["is_id", "language"]}}}, {"type": "function", "function": {"name": "measure_distance", "description": "Calculates the distance between two geographic locations based on their latitude and longitude coordinates, with optional specification of the unit of measurement.", "parameters": {"type": "object", "properties": {"lat1": {"type": "integer", "description": "Latitude of the first location.", "default": "0.365816"}, "lat2": {"type": "integer", "description": "Latitude of the second location.", "default": "0.32493795000000003"}, "lon2": {"type": "integer", "description": "Longitude of the second location.", "default": "32.57523607707668"}, "lon1": {"type": "integer", "description": "Longitude of the first location.", "default": "32.529226"}, "unit": {"type": "string", "description": "Unit of distance measurement. Valid options are 'km' (default), 'mi', 'ft', and 'yd'.", "default": "km"}}, "required": ["lat1", "lat2", "lon2", "lon1", "unit"]}}}], "meta": {"source_format": "D", "id": 136}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_hourly_forecast", "arguments": {"city": "Tokyo"}}}]}], "tools": [{"type": "function", "function": {"name": "get_hourly_forecast", "description": "Retrieves the hourly weather forecast for a specified city using the RapidAPI Cloud Cast service.", "parameters": {"type": "object", "properties": {"city": {"type": "string", "description": "The name of the city for which to retrieve the hourly weather forecast.", "default": "New York"}}, "required": ["city"]}}}, {"type": "function", "function": {"name": "weather_report", "description": "Fetches the weather report of a specified city using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"cityname": {"type": "string", "description": "Name of the city for which the weather report is to be fetched.", "default": "mumbai"}}, "required": ["cityname"]}}}], "meta": {"source_format": "D", "id": 137}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請從 'Lankadeepa.lk' 取得第 2 頁的新聞文章,並列出郵遞區號 90002 周圍半徑 100 英里的電影院。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_news_from_one_news_source", "arguments": {"source": "Lankadeepa.lk"}}}, {"type": "function", "function": {"name": "theaters_list", "arguments": {"zipcode": "90002"}}}]}], "tools": [{"type": "function", "function": {"name": "actors_get_all_images", "description": "Returns all images of a specific actor or actress based on their unique identifier (nconst).", "parameters": {"type": "object", "properties": {"nconst": {"type": "string", "description": "The unique identifier of the actor/actress. It typically starts with 'nm' followed by a series of numbers (e.g., 'nm0001667').", "default": "nm0001667"}}, "required": ["nconst"]}}}, {"type": "function", "function": {"name": "keyword", "description": "Retrieves “Monthly Data” and “Search count” for a given keyword from the Targeted Keyword Trend API.", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search data for.", "default": "digital marketing"}}, "required": ["keyword"]}}}, {"type": "function", "function": {"name": "politician_goverlytics_id", "description": "Retrieves information about a politician by their 'goverlytics_id' from the Goverlytics API.", "parameters": {"type": "object", "properties": {"goverlytics_id": {"type": "string", "description": "The unique identifier for a politician in the Goverlytics system.", "default": "437c7e15-c66a-4b46-af9b-07e9b1317190"}}, "required": ["goverlytics_id"]}}}, {"type": "function", "function": {"name": "get_news_from_one_news_source", "description": "Fetches news articles from a specified news source and page number using the Sri Lanka News API.", "parameters": {"type": "object", "properties": {"page": {"type": "integer", "description": "The page number to retrieve news articles from. Different news sources may have varying numbers of articles per page.", "default": 1}, "source": {"type": "string", "description": "The news source to retrieve articles from. Possible values include 'Lankadeepa.lk', 'Deshaya.lk', 'Ada.lk', 'BBCSinhala.com', 'Mawbima.lk'.", "default": "Ada.lk"}}, "required": ["page", "source"]}}}, {"type": "function", "function": {"name": "theaters_list", "description": "List theaters around a specified postal code or GEO location using the Flixster API.", "parameters": {"type": "object", "properties": {"longitude": {"type": "string", "description": "The GEO longitude to search for theaters.", "default": ""}, "zipcode": {"type": "string", "description": "The postal code to search for theaters. Default is '90002'.", "default": "90002"}, "latitude": {"type": "string", "description": "The GEO latitude to search for theaters.", "default": ""}, "radius": {"type": "string", "description": "The radius (in miles) around the specified location to search for theaters. Default is 50.", "default": "50"}}, "required": ["longitude", "zipcode", "latitude", "radius"]}}}, {"type": "function", "function": {"name": "science", "description": "Fetches science news from Google News using the provided language region and RapidAPI key.", "parameters": {"type": "object", "properties": {"lr": {"type": "string", "description": "The language region code (e.g., 'en-US') to filter the news articles.", "default": "en-US"}}, "required": ["lr"]}}}], "meta": {"source_format": "D", "id": 138}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "Frank 正在研究股票股息,需要計算六種情境下的每季股息:$275,000 與 13,750 股、$300,000 與 15,000 股、$325,000 與 16,250 股、$350,000 與 17,500 股、$375,000 與 18,750 股,以及 $400,000 與 20,000 股。你能幫忙嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "calculate_quarterly_dividend", "arguments": {}}}, {"type": "function", "function": {"name": "calculate_quarterly_dividend", "arguments": {}}}, {"type": "function", "function": {"name": "calculate_quarterly_dividend", "arguments": {}}}, {"type": "function", "function": {"name": "calculate_quarterly_dividend", "arguments": {}}}, {"type": "function", "function": {"name": "calculate_quarterly_dividend", "arguments": {}}}, {"type": "function", "function": {"name": "calculate_quarterly_dividend", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "calculate_quarterly_dividend", "description": "Calculates the quarterly dividend per share based on the total dividend payout and the number of outstanding shares.", "parameters": {"type": "object", "properties": {"total_dividend": {"type": "integer", "description": "The total dividend payout in USD."}, "num_shares": {"type": "integer", "description": "The number of outstanding shares."}}, "required": ["num_shares", "total_dividend"]}}}], "meta": {"source_format": "D", "id": 139}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能提供特斯拉公司(Tesla Inc.,TSLA)的公司概況,以及以太坊區塊鏈的最新區塊資訊嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "stock_company_overview", "arguments": {"symbol": "TSLA", "language": "en"}}}, {"type": "function", "function": {"name": "get_latest_current_block", "arguments": {"chain": "ethereum"}}}]}], "tools": [{"type": "function", "function": {"name": "stock_company_overview", "description": "Retrieve the overview details of a public company or stock, supporting multiple stock types such as stock, index, mutual fund, and futures.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol (ticker) for which to obtain the overview. Examples include 'MSFT:NASDAQ', 'MSFT', '^DJI', 'VTSAX'.", "default": "AAPL:NASDAQ"}, "language": {"type": "string", "description": "The 2-letter language code indicating the language for the results, as per ISO 639-1. Defaults to 'en'.", "default": "en"}}, "required": ["symbol", "language"]}}}, {"type": "function", "function": {"name": "get_latest_current_block", "description": "Retrieve the latest (current) block being mined on a specified blockchain.", "parameters": {"type": "object", "properties": {"chain": {"type": "string", "description": "The blockchain to get the latest block from. Defaults to None.", "default": ""}}, "required": ["chain"]}}}], "meta": {"source_format": "D", "id": 140}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我需要 2021 年的年度 Billboard Global 200 年終榜。此外,請提供 2021 年 12 月 31 日的 Artist 100 榜單,但僅限前五名藝術家。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "billboard_global_200_year_end", "arguments": {"year": "2021"}}}, {"type": "function", "function": {"name": "artist_100", "arguments": {"date": "2021-12-31", "range": "1-5"}}}]}], "tools": [{"type": "function", "function": {"name": "artist_100", "description": "Fetches the Artist 100 chart from the Billboard API for a specified date and range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "The date for which to fetch the chart, in YYYY-MM-DD format.", "default": "2021-07-07"}, "range": {"type": "string", "description": "The range of results to return. Defaults to '1-10'. Returns all results if not specified.", "default": "1-10"}}, "required": ["date", "range"]}}}, {"type": "function", "function": {"name": "bolivia_songs", "description": "Fetches the Bolivia Songs chart information for a given range and date.", "parameters": {"type": "object", "properties": {"range": {"type": "string", "description": "The range of the chart to fetch.", "default": "1-10"}, "date": {"type": "string", "description": "The date for which the chart information is required, in the format YYYY-MM-DD.", "default": "2022-05-07"}}, "required": ["range", "date"]}}}, {"type": "function", "function": {"name": "billboard_global_200_year_end", "description": "Fetch the YEAR-END Billboard Global 200 chart information for a given year.", "parameters": {"type": "object", "properties": {"year": {"type": "string", "description": "The year for which to fetch the chart data, in the format 'YYYY'. Defaults to '2022'.", "default": "2022"}}, "required": ["year"]}}}], "meta": {"source_format": "D", "id": 141}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "「racecar」是回文嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "is_palindrome", "arguments": {"text": "racecar"}}}]}], "tools": [{"type": "function", "function": {"name": "is_palindrome", "description": "Checks if a string is a palindrome.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input string."}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "binary_search", "description": "Performs binary search on a sorted list to find the index of a target value.", "parameters": {"type": "object", "properties": {"arr": {"type": "string", "description": "The sorted list of integers."}, "target": {"type": "integer", "description": "The target value to search for."}}, "required": ["arr", "target"]}}}, {"type": "function", "function": {"name": "find_max_subarray_sum", "description": "Finds the maximum sum of a contiguous subarray within a list of integers.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The input list of integers."}}, "required": ["nums"]}}}, {"type": "function", "function": {"name": "is_sum_of_cubes", "description": "Checks if a number is the sum of the cubes of its digits.", "parameters": {"type": "object", "properties": {"num": {"type": "integer", "description": "The number to check."}}, "required": ["num"]}}}, {"type": "function", "function": {"name": "word_frequency", "description": "Calculates the frequency of each word in a text.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input text."}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "flatten_list", "description": "Flattens a nested list into a single-level list.", "parameters": {"type": "object", "properties": {"nested_list": {"type": "array", "description": "The nested list to be flattened."}}, "required": ["nested_list"]}}}, {"type": "function", "function": {"name": "longest_common_prefix", "description": "Finds the longest common prefix among a list of strings.", "parameters": {"type": "object", "properties": {"strs": {"type": "string", "description": "The list of strings."}}, "required": ["strs"]}}}, {"type": "function", "function": {"name": "find_duplicate_number", "description": "Finds the duplicate number in a list of integers.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of integers."}}, "required": ["nums"]}}}], "meta": {"source_format": "D", "id": 142}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請估算一輛車的市場價值,VIN 為 2T3BF4DV1KW000001,里程為 60000 公里。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "estimate_market_value", "arguments": {"vin": "2T3BF4DV1KW000001"}}}]}], "tools": [{"type": "function", "function": {"name": "keyword_search_with_ranking", "description": "Perform a keyword search at a specific coordinate (latitude/longitude) to find businesses and rank a specific business at that location. The ranking data can be determined by the business place ID or business name.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The Google Place ID of the business or the business name to match in results. Use the `match_type` parameter to specify the choice.", "default": "web design"}, "lng": {"type": "integer", "description": "The longitude value of the grid center coordinate point.", "default": "-121.938314"}, "match_value": {"type": "string", "description": "The keyword or search query.", "default": "ChIJoejvAr3Mj4ARtHrbKxtAHXI"}, "lat": {"type": "integer", "description": "The latitude value of the grid center coordinate point.", "default": "37.341759"}, "zoom": {"type": "string", "description": "The Google Maps zoom level to use for the search on each grid point. Allowed values are 0-18. Default is 13.", "default": "13"}, "match_type": {"type": "string", "description": "The type of match to perform for ranking. Allowed values are 'place_id' or 'name'. Default is 'place_id'.", "default": "place_id"}}, "required": ["query", "lng", "match_value", "lat", "zoom", "match_type"]}}}, {"type": "function", "function": {"name": "ip_reputation", "description": "Fetch detailed information about a specified IPv4 or IPv6 address, including geolocation, ISP or hosting provider, and history of abuse or malicious activity.", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "The IP address to query for reputation information.", "default": "185.65.135.230"}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "estimate_market_value", "description": "Estimates the market value of a car given its VIN and optionally its mileage using the Toolbench RapidAPI service.", "parameters": {"type": "object", "properties": {"vin": {"type": "string", "description": "The Vehicle Identification Number of the car.", "default": "5N3AA08D68N901917"}, "mileage": {"type": "string", "description": "The current mileage of the car. Defaults to 50,000 if not specified.", "default": "50000"}}, "required": ["vin", "mileage"]}}}, {"type": "function", "function": {"name": "get_list_of_top_level_domains", "description": "Retrieve an exhaustive list of generic and country code top-level domains (TLDs).", "parameters": {"type": "object", "properties": {"tlds": {"type": "string", "description": "A comma-separated string of specific TLDs to query. If not provided, all TLDs are retrieved.", "default": ""}}, "required": ["tlds"]}}}, {"type": "function", "function": {"name": "user_timeline", "description": "Fetches the tweet timeline for a specified user ID.", "parameters": {"type": "object", "properties": {"user_id": {"type": "integer", "description": "The unique identifier of the Twitter user whose timeline is to be fetched.", "default": "44196397"}, "cursor": {"type": "string", "description": "Cursor for pagination to fetch the next set of results. Defaults to 'HBaEgNKVxpvYtS0AAA=='.", "default": "HBaEgNKVxpvYtS0AAA=="}, "count": {"type": "string", "description": "Number of tweets to retrieve. Defaults to 10.", "default": "10"}}, "required": ["user_id", "cursor", "count"]}}}], "meta": {"source_format": "D", "id": 143}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "最後,搜尋「肛交」和「口交」類別。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "search_for_any_category_or_star", "arguments": {"search": "肛交"}}}, {"type": "function", "function": {"name": "search_for_any_category_or_star", "arguments": {"search": "口交"}}}]}], "tools": [{"type": "function", "function": {"name": "search_for_any_category_or_star", "description": "Search for images using a category keyword or pornstar name via the RapidAPI service.", "parameters": {"type": "object", "properties": {"search": {"type": "string", "description": "The category keyword or pornstar name to search for.", "default": "Natasha Nice"}}, "required": ["search"]}}}], "meta": {"source_format": "D", "id": 144}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能告訴我 LeetCode 用戶『CodeMaster』已解了多少題嗎?另外,幫我取得 FluentMe 的前 10 篇貼文。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "gettotalsolved", "arguments": {"username": "CodeMaster"}}}, {"type": "function", "function": {"name": "get_all_posts", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "gettotalsolved", "description": "Fetches the total number of questions solved by the given LeetCode user.", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The LeetCode username of the user whose solved questions are to be retrieved.", "default": "mujtabah258"}}, "required": ["username"]}}}, {"type": "function", "function": {"name": "get_all_posts", "description": "Retrieves a paginated list of all posts from the API.", "parameters": {"type": "object", "properties": {"per_page": {"type": "string", "description": "The number of posts to retrieve per page. Defaults to 10.", "default": "10"}, "page": {"type": "string", "description": "The number of posts to retrieve per page. Defaults to 10.", "default": "1"}}, "required": ["per_page", "page"]}}}], "meta": {"source_format": "D", "id": 145}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請為 YouTube 上的「狗把戲」提供搜尋建議,並取得一個隨機顏色。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "search_suggestions", "arguments": {"q": "狗把戲"}}}, {"type": "function", "function": {"name": "get_a_random_color", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "user_follower_list", "description": "Fetches the follower list of a specified TikTok user.", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The ID of the TikTok user whose followers are to be fetched.", "default": "107955"}, "time": {"type": "string", "description": "The start time for fetching followers. Default is '0'.", "default": "0"}, "count": {"type": "string", "description": "The number of followers to fetch. Maximum is 200. Default is '50'.", "default": "50"}}, "required": ["user_id", "time", "count"]}}}, {"type": "function", "function": {"name": "get_video_urls", "description": "Retrieves video or shorts URLs from YouTube using a provided video ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The YouTube video ID for which the URLs are to be fetched.", "default": "ppCIVJE3my4"}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "get_all_details", "description": "Fetches all details of a YouTube video, stream, or shorts including captions, audio-only files, video-only files, and stream URL if available.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The unique ID of the YouTube video/stream/shorts.", "default": "ppCIVJE3my4"}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "video", "description": "Fetches all available information for a specific YouTube video using the provided video ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The unique identifier of the YouTube video.", "default": "dQw4w9WgXcQ"}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "search_suggestions", "description": "Fetches search suggestions for a given query using the Cheap YouTube API through RapidAPI.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "The search query for which to fetch suggestions.", "default": "crypto"}}, "required": ["q"]}}}, {"type": "function", "function": {"name": "get_a_random_color", "description": "Fetches a random color or a specified number of random colors from the sRGB color space using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"quantity": {"type": "string", "description": "The number of colors to return. The maximum is 50. Defaults to 2. Values greater than 50 will default to 50, and values less than 1 will result in an empty array.", "default": "2"}}, "required": ["quantity"]}}}], "meta": {"source_format": "D", "id": 146}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "查詢與關鍵字「比特幣」相關的加密貨幣,UTC 偏移量為 3600。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "coins_search", "arguments": {"string": "比特幣"}}}]}], "tools": [{"type": "function", "function": {"name": "gethistoricalscoresbyyear", "description": "Fetches historical Environmental, Social, Governance and Overall scores for companies based on the given year.", "parameters": {"type": "object", "properties": {"year": {"type": "string", "description": "The year for which to fetch the historical scores (must be less than or equal to 2020).", "default": "2020"}, "content_type": {"type": "string", "description": "The type of content to return. Default is None.", "default": ""}, "sedol": {"type": "string", "description": "The SEDOL identifier of the company. Default is None.", "default": ""}, "isin": {"type": "string", "description": "The ISIN identifier of the company. Default is None.", "default": ""}, "companyname": {"type": "string", "description": "The name of the company. Default is 'Apple Inc.'.", "default": "Apple Inc."}}, "required": ["year", "content_type", "sedol", "isin", "companyname"]}}}, {"type": "function", "function": {"name": "coins_search", "description": "Search for available cryptocurrencies that match a given string.", "parameters": {"type": "object", "properties": {"string": {"type": "string", "description": "A word or name to search for relevant cryptocurrencies.", "default": "bit"}, "time_utc_offset": {"type": "string", "description": "UTC offset value in seconds (default is 28800, representing UTC+8).", "default": "28800"}, "lang_id": {"type": "string", "description": "Language ID value, with a default of 1, corresponding to the all_langs/lang_ID returned from the get-meta-data endpoint.", "default": "1"}}, "required": ["string", "time_utc_offset", "lang_id"]}}}], "meta": {"source_format": "D", "id": 147}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請為在德國且使用歐元的使用者,提供詞語 'smartphone' 的德語自動完成建議。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "auto_complete", "arguments": {"word": "smartphone", "language": "de", "country": "DE", "currency": "EUR"}}}]}], "tools": [{"type": "function", "function": {"name": "auto_complete", "description": "Fetches auto-complete suggestions for a given word using an external API.", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The term or phrase for which to get auto-complete suggestions.", "default": "bikini top"}, "currency": {"type": "string", "description": "The 3-letter currency code. Defaults to 'USD'.", "default": "USD"}, "country": {"type": "string", "description": "The 2-letter country code. Defaults to 'US'.", "default": "US"}, "language": {"type": "string", "description": "The 2-letter language code. Defaults to 'en'.", "default": "en"}}, "required": ["word", "currency", "country", "language"]}}}], "meta": {"source_format": "D", "id": 148}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "歐洲的洲代碼是什麼?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "continents", "arguments": {"name": "Europe", "fields": "continent_code"}}}]}], "tools": [{"type": "function", "function": {"name": "continents", "description": "Fetches and returns a list of continents of the world localized to the requested language, with various filtering options.", "parameters": {"type": "object", "properties": {"fields": {"type": "string", "description": "Specifies the fields to return for each continent. Options include 'iso_a2', 'iso_a3', 'continent_code', 'dial_code', 'currency_code', 'currency_num_code', 'currency'.", "default": ""}, "continent_code": {"type": "string", "description": "Filters the results based on the 2-letter continent code.", "default": ""}, "lang": {"type": "string", "description": "Two-letter ISO 639-2 language code to localize the continent names.", "default": ""}, "name": {"type": "string", "description": "Filter results to contain the given continent name in the chosen language.", "default": ""}}, "required": ["fields", "continent_code", "lang", "name"]}}}, {"type": "function", "function": {"name": "reverse_geocoding", "description": "Translates location coordinates into human-readable addresses using the Reverse Geocoding API.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The location coordinates to be translated into a readable address.", "default": "40.7624284 -73.973794"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "countries", "description": "List or search for countries of the world in different languages. This function allows filtering and specifying the fields to return for each country, such as ISO codes, currency details, and dial codes.", "parameters": {"type": "object", "properties": {"currency": {"type": "string", "description": "Filter by the currency name in the chosen language.", "default": ""}, "dial_code": {"type": "string", "description": "Filter by the country's dial code.", "default": ""}, "currency_code": {"type": "string", "description": "Filter by the 3-letter currency code (ISO).", "default": ""}, "fields": {"type": "string", "description": "Specify which fields to return for each country. Defaults to 'currency,currency_num_code,currency_code,continent_code,currency,iso_a3,dial_code'.", "default": "currency,currency_num_code,currency_code,continent_code,currency,iso_a3,dial_code"}, "iso_a2": {"type": "string", "description": "Filter by the 2-letter ISO country code.", "default": ""}, "name": {"type": "string", "description": "Search string for the country name, can be partial.", "default": ""}, "limit": {"type": "string", "description": "Limit the number of results returned. Defaults to 250.", "default": "250"}, "continent_code": {"type": "string", "description": "Filter by the 2-letter region/continent code (e.g., 'eu', 'na', 'sa', 'as', 'af', 'oc', 'an').", "default": ""}, "iso_a3": {"type": "string", "description": "Filter by the 3-letter ISO country code.", "default": ""}, "currency_num_code": {"type": "string", "description": "Filter by the 3-digit numeric currency code (ISO).", "default": ""}, "lang": {"type": "string", "description": "Language selection ISO 639-1 code. Overrides the Accept-Language header. Defaults to 'en'.", "default": ""}}, "required": ["currency", "dial_code", "currency_code", "fields", "iso_a2", "name", "limit", "continent_code", "iso_a3", "currency_num_code", "lang"]}}}], "meta": {"source_format": "D", "id": 149}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請嘗試使用 'frank' 和 'frankpass' 登入。並擷取 'goods_id' 為 '10196865' 的產品評論。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "loginuser", "arguments": {"username": "frank", "password": "frankpass"}}}, {"type": "function", "function": {"name": "products_get_reviews", "arguments": {"goods_id": "10196865"}}}]}], "tools": [{"type": "function", "function": {"name": "loginuser", "description": "Logs a user into the system using the provided username and password.", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The user's username for login.", "default": "string"}, "password": {"type": "string", "description": "The user's password for login in clear text.", "default": "string"}}, "required": ["username", "password"]}}}, {"type": "function", "function": {"name": "get_awesome_product_details", "description": "Fetches detailed information about a product using a given product ID from the Amazon Data Scraper API.", "parameters": {"type": "object", "properties": {"productid": {"type": "string", "description": "The unique identifier for the product to retrieve details for.", "default": "B00K3OM3PS"}}, "required": ["productid"]}}}, {"type": "function", "function": {"name": "products_get_reviews", "description": "Fetches brief reviews of a product from the Shein API.", "parameters": {"type": "object", "properties": {"goods_spu": {"type": "string", "description": "The value of 'productRelationID' returned in the /products/list or /products/search endpoints. Defaults to 'm22022854841'.", "default": "m22022854841"}, "cat_id": {"type": "string", "description": "The value of 'cat_id' returned in the /products/list or /products/search endpoints. Defaults to '1727'.", "default": "1727"}, "sku": {"type": "string", "description": "The value of 'goods_sn' returned in the /products/list or /products/search endpoints. Defaults to 'rm2202285484176751'.", "default": "rm2202285484176751"}, "currency": {"type": "string", "description": "The 3-letter currency code. Defaults to 'USD'.", "default": "USD"}, "goods_id": {"type": "string", "description": "The value of 'goods_id' field returned in the /products/list or /products/search endpoints. Defaults to '10196865'.", "default": "10196865"}, "language": {"type": "string", "description": "The 2-letter language code. Defaults to 'en'.", "default": "en"}, "country": {"type": "string", "description": "The 2-letter country code. Defaults to 'US'.", "default": "US"}}, "required": ["goods_spu", "cat_id", "sku", "currency", "goods_id", "language", "country"]}}}], "meta": {"source_format": "D", "id": 150}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能幫我抓取本週可用的前5個 PlayStation 優惠嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "playstationdeals", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "playstationdeals", "description": "Fetches PlayStation deals based on the specified count, using the provided RapidAPI key.", "parameters": {"type": "object", "properties": {"count": {"type": "integer", "description": "The number of games to fetch from the deals list. The minimum value is 0, and the maximum value depends on the total number of games available.", "default": "0"}}, "required": ["count"]}}}], "meta": {"source_format": "D", "id": 151}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "請計算紐約 (40.7128° N, 74.0060° W) 與倫敦 (51.5074° N, 0.1278° W) 之間的距離,單位為英里。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "measure_distance", "arguments": {"unit": "mi"}}}]}], "tools": [{"type": "function", "function": {"name": "find_by_postcode", "description": "Fetch addresses for a given UK postcode using the \"Find By PostCode\" API.", "parameters": {"type": "object", "properties": {"postcode": {"type": "string", "description": "The UK postcode for which to retrieve addresses.", "default": "PL11DN"}}, "required": ["postcode"]}}}, {"type": "function", "function": {"name": "geocode", "description": "Fetches geographical coordinates (latitude, longitude) and city name of a given address in Uganda using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"address": {"type": "string", "description": "The address in Uganda to be geocoded.", "default": "Nansana"}}, "required": ["address"]}}}, {"type": "function", "function": {"name": "search_restaurants_by_local_authority", "description": "Fetches all restaurants within a specified local authority using the Wyre Data API.", "parameters": {"type": "object", "properties": {"localauthority": {"type": "string", "description": "The name of the local authority to search for restaurants in.", "default": "wyre"}}, "required": ["localauthority"]}}}, {"type": "function", "function": {"name": "measure_distance", "description": "Calculates the distance between two locations specified by their latitude and longitude coordinates. The distance can be measured in various units such as kilometers, miles, feet, or yards.", "parameters": {"type": "object", "properties": {"lon2": {"type": "integer", "description": "Longitude of the second location.", "default": "11.50293"}, "lat2": {"type": "integer", "description": "Latitude of the second location.", "default": "3.84803"}, "lat1": {"type": "integer", "description": "Latitude of the first location.", "default": "4.05048"}, "lon1": {"type": "integer", "description": "Longitude of the first location.", "default": "9.70428"}, "unit": {"type": "string", "description": "Unit of distance measurement. Valid options are 'km' (default), 'mi', 'ft', and 'yd'.", "default": "km"}}, "required": ["lon2", "lat2", "lat1", "lon1", "unit"]}}}, {"type": "function", "function": {"name": "measure_distance", "description": "Calculates the distance between two geographical locations using their latitude and longitude coordinates.", "parameters": {"type": "object", "properties": {"lon2": {"type": "integer", "description": "Longitude of the second location.", "default": "-17.447938"}, "lat2": {"type": "integer", "description": "Latitude of the second location.", "default": "14.693425"}, "lon1": {"type": "integer", "description": "Longitude of the first location.", "default": "-16.0755888102153"}, "lat1": {"type": "integer", "description": "Latitude of the first location.", "default": "14.14129815"}, "unit": {"type": "string", "description": "Unit of distance measurement. Valid options are 'km' (default), 'mi', 'ft', and 'yd'.", "default": "km"}}, "required": ["lon2", "lat2", "lon1", "lat1", "unit"]}}}, {"type": "function", "function": {"name": "measure_distance", "description": "Calculates the distance between two geographic locations based on their latitude and longitude coordinates. The unit of measurement for the distance can be specified.", "parameters": {"type": "object", "properties": {"lon2": {"type": "integer", "description": "Longitude of the second location.", "default": "31.23788289124186"}, "lat1": {"type": "integer", "description": "Latitude of the first location.", "default": "31.1991806"}, "lon1": {"type": "integer", "description": "Longitude of the first location.", "default": "29.8951716"}, "lat2": {"type": "integer", "description": "Latitude of the second location.", "default": "30.02313795"}, "unit": {"type": "string", "description": "Unit of distance measurement. Valid options are 'km' (default), 'mi', 'ft', and 'yd'.", "default": "km"}}, "required": ["lon2", "lat1", "lon1", "lat2", "unit"]}}}, {"type": "function", "function": {"name": "get_a_list_of_states", "description": "Retrieves a list of 3-letter state abbreviations for a given Australian postcode using the RapidAPI service.", "parameters": {"type": "object", "properties": {"postcode": {"type": "integer", "description": "A valid Australian postcode to retrieve state information for.", "default": "2000"}}, "required": ["postcode"]}}}, {"type": "function", "function": {"name": "get_ip_data", "description": "Fetch location-related data for a given IP address using the APIIP.net service.", "parameters": {"type": "object", "properties": {"callback": {"type": "string", "description": "JSONP callback function name as per the APIIP.net documentation. Default is 'FUNCTION_NAME'.", "default": "FUNCTION_NAME"}, "ip": {"type": "string", "description": "IPv4 or IPv6 address, or a comma-separated list of such addresses (limit: 50). Default is '67.250.186.196'.", "default": "67.250.186.196"}, "language": {"type": "string", "description": "2-letter language code to customize the response language. Default is 'es'.", "default": "es"}, "fields": {"type": "string", "description": "Comma-separated list of response fields to retrieve specific data according to the APIIP.net documentation. Default is 'city,capital'.", "default": "city,capital"}, "output": {"type": "string", "description": "Format of the API response, either 'json' or 'xml'. Default is 'xml'.", "default": "xml"}}, "required": ["callback", "ip", "language", "fields", "output"]}}}], "meta": {"source_format": "D", "id": 152}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "我想知道葡萄牙語與土耳其語的英雄列表。你可以取得那些列表嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_champions", "arguments": {"lang": "pt"}}}, {"type": "function", "function": {"name": "get_champions", "arguments": {"lang": "tr"}}}]}], "tools": [{"type": "function", "function": {"name": "get_champions", "description": "Fetches a list of all champions from the League of Legends API, optionally in a specified language.", "parameters": {"type": "object", "properties": {"lang": {"type": "string", "description": "The language in which to retrieve the champion information. Defaults to None, which retrieves information in English.", "default": ""}}, "required": ["lang"]}}}], "meta": {"source_format": "D", "id": 153}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "你可以為證券代碼為 9984 的公司取得證券報告嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getlistbysecuritiescode", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "get_3_month_historical_daily_prices", "description": "Fetches 3 months of historical daily stock prices for the given ticker.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string", "description": "The stock ticker symbol to fetch historical prices for.", "default": "AAPL"}}, "required": ["ticker"]}}}, {"type": "function", "function": {"name": "getlistbysecuritiescode", "description": "Fetches the securities report data for a specified company using its securities code.", "parameters": {"type": "object", "properties": {"securities_code": {"type": "integer", "description": "The securities code of the company whose report data is to be fetched.", "default": "7203"}}, "required": ["securities_code"]}}}], "meta": {"source_format": "D", "id": 154}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請擷取 Netflix 的年度損益表(英文),以及 Adobe 的季度損益表(日文)。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "company_income_statement", "arguments": {"symbol": "NFLX", "period": "ANNUAL", "language": "en"}}}, {"type": "function", "function": {"name": "company_income_statement", "arguments": {"symbol": "ADBE", "period": "QUARTERLY", "language": "ja"}}}]}], "tools": [{"type": "function", "function": {"name": "company_income_statement", "description": "Fetch the income statement of a public company for a given period and in a specified language.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol (ticker) of the company for which to fetch the income statement. Examples: 'MSFT:NASDAQ', 'MSFT', 'AAPL'.", "default": "AAPL:NASDAQ"}, "period": {"type": "string", "description": "The period for which to retrieve the income statement. Options are 'QUARTERLY' or 'ANNUAL'.", "default": ""}, "language": {"type": "string", "description": "The language to use for the results, specified as a two-letter language code as per ISO 639-1. Default is 'en'.", "default": "en"}}, "required": ["symbol", "period", "language"]}}}], "meta": {"source_format": "D", "id": 155}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "請問 2023-07-10 至 2023-07-15 期間,邁阿密的 Ocean View Resort 是否有空房?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "is_hotel_available", "arguments": {"hotel": "Ocean View Resort", "city": "Miami", "checkin": "2023-07-10", "checkout": "2023-07-15"}}}]}], "tools": [{"type": "function", "function": {"name": "is_hotel_available", "description": "Checks the availability of a hotel for a given date range.", "parameters": {"type": "object", "properties": {"hotel": {"type": "string", "description": "The name of the hotel."}, "city": {"type": "string", "description": "The city where the hotel is located."}, "checkin": {"type": "string", "description": "The check-in date in the format \"YYYY-MM-DD\"."}, "checkout": {"type": "string", "description": "The check-out date in the format \"YYYY-MM-DD\"."}}, "required": ["checkin", "checkout", "city", "hotel"]}}}], "meta": {"source_format": "D", "id": 156}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "用3顆骰子擲出總和為10的機率是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "dice_roll_probability", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "bacterial_growth", "description": "Calculates the bacterial population after a given time based on the initial population and growth rate.", "parameters": {"type": "object", "properties": {"initial_population": {"type": "integer", "description": "The initial bacterial population.", "default": 20}, "growth_rate": {"type": "number", "description": "The growth rate per unit time.", "default": 20}, "time": {"type": "number", "description": "The time elapsed."}, "doubling_time": {"type": "string", "description": "The doubling time of the bacteria in minutes. Defaults to 20."}}, "required": ["doubling_time", "time"]}}}, {"type": "function", "function": {"name": "dice_roll_probability", "description": "Calculates the probability of rolling a specific sum with a given number of dice, each having a certain number of faces.", "parameters": {"type": "object", "properties": {"target_sum": {"type": "integer", "description": "The target sum to calculate the probability for.", "default": 6}, "num_dice": {"type": "integer", "description": "The number of dice being rolled.", "default": 6}, "num_faces": {"type": "string", "description": "The number of faces on each die. Defaults to 6."}}, "required": ["num_faces"]}}}, {"type": "function", "function": {"name": "final_velocity", "description": "Calculates the final velocity of an object given its initial velocity, acceleration, and time.", "parameters": {"type": "object", "properties": {"initial_velocity": {"type": "number", "description": "The initial velocity of the object."}, "acceleration": {"type": "number", "description": "The acceleration of the object."}, "time": {"type": "number", "description": "The time elapsed."}}, "required": ["acceleration", "initial_velocity", "time"]}}}, {"type": "function", "function": {"name": "batting_average", "description": "Calculates the batting average of a baseball player based on the number of hits and at-bats.", "parameters": {"type": "object", "properties": {"num_hits": {"type": "integer", "description": "The number of hits.", "default": 3}, "num_at_bats": {"type": "integer", "description": "The number of at-bats.", "default": 3}, "precision": {"type": "string", "description": "The number of decimal places to round the batting average. Defaults to 3."}}, "required": ["precision"]}}}], "meta": {"source_format": "D", "id": 157}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我該在中等難度的猜字遊戲(charades)使用哪個單字?以及等級70的突襲有哪些?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_charades_word", "arguments": {"difficulty": "medium"}}}, {"type": "function", "function": {"name": "get_raids_by_level", "arguments": {"level": "70"}}}]}], "tools": [{"type": "function", "function": {"name": "get_raids_by_level", "description": "Fetches all guardian raids for a specified level.", "parameters": {"type": "object", "properties": {"level": {"type": "string", "description": "The level of the guardian raids to retrieve information for.", "default": "1"}}, "required": ["level"]}}}, {"type": "function", "function": {"name": "get_charades_word", "description": "Fetch a random charades word with the specified difficulty level using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"difficulty": {"type": "string", "description": "The difficulty level of the charades word (e.g., 'easy', 'medium', 'hard'). If not provided, a random difficulty level will be used.", "default": ""}}, "required": ["difficulty"]}}}], "meta": {"source_format": "D", "id": 158}} {"messages": [{"role": "system", "content": "你是位樂於助人的助理。"}, {"role": "user", "content": "計算將 1500 美元以 4% 年利率投資 6 年後的未來價值。此外,找出序列 [3, 6, 9, 6, 3] 中的峰值元素。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "future_investment_value", "arguments": {}}}, {"type": "function", "function": {"name": "find_peak_element", "arguments": {}}}]}, {"role": "assistant", "content": ")]"}], "tools": [{"type": "function", "function": {"name": "future_investment_value", "description": "Calculates the future value of an investment based on the present value, annual interest rate, and number of years.", "parameters": {"type": "object", "properties": {"present_value": {"type": "number", "description": "The present value of the investment."}, "annual_interest_rate": {"type": "number", "description": "The annual interest rate as a decimal (e.g., 0.05 for 5%)."}, "years": {"type": "integer", "description": "The number of years the investment will grow."}}, "required": ["annual_interest_rate", "present_value", "years"]}}}, {"type": "function", "function": {"name": "find_peak_element", "description": "Finds a peak element in a list of integers.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of integers."}}, "required": ["nums"]}}}], "meta": {"source_format": "D", "id": 159}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "列出所有 ISO 代碼為 'eng' 的語言及其旗幟,並將結果翻譯成英文。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "languages", "arguments": {"lang_3": "eng", "fields": "iso_a2,lang_3,flag", "lang": "en"}}}]}], "tools": [{"type": "function", "function": {"name": "zipcode_by_city", "description": "Retrieves the zip code(s) of a given city using the GeoSource API.", "parameters": {"type": "object", "properties": {"city": {"type": "string", "description": "The name of the city for which to retrieve zip code(s). The city must be in the supported countries list (44 countries).", "default": "Brussels"}}, "required": ["city"]}}}, {"type": "function", "function": {"name": "v1_iplookup", "description": "Performs an IP address lookup using the API Ninjas IP Lookup API.", "parameters": {"type": "object", "properties": {"address": {"type": "string", "description": "The IP address to query. Must be in the format A.B.C.D (e.g., 73.9.149.180).", "default": "24.48.0.3"}}, "required": ["address"]}}}, {"type": "function", "function": {"name": "languages", "description": "Fetch a list of the world's languages, optionally filtered and translated.", "parameters": {"type": "object", "properties": {"lang_3": {"type": "string", "description": "Filter by 3-letter ISO language code. Defaults to None.", "default": ""}, "iso_a2": {"type": "string", "description": "Filter by 2-letter country code. Defaults to None.", "default": ""}, "fields": {"type": "string", "description": "Select fields to include in the result (e.g., 'iso_a2,lang_3,flag'). Defaults to 'iso_a2,lang_3,flag'.", "default": "iso_a2,lang_3,flag"}, "lang": {"type": "string", "description": "Language code to translate the results into. Defaults to 'en'.", "default": "en"}}, "required": ["lang_3", "iso_a2", "fields", "lang"]}}}, {"type": "function", "function": {"name": "measure_distance_reverse", "description": "Calculates the distance between two addresses in Cameroon using the specified unit of measurement.", "parameters": {"type": "object", "properties": {"stop_address": {"type": "string", "description": "The destination address for which the distance needs to be calculated.", "default": "Bonamoussadi, Douala"}, "start_address": {"type": "string", "description": "The starting address for which the distance needs to be calculated.", "default": "Molyko, Buea"}, "unit": {"type": "string", "description": "The unit of distance measurement. Valid options are 'km' (default), 'mi', 'ft', and 'yd'.", "default": "km"}}, "required": ["stop_address", "start_address", "unit"]}}}], "meta": {"source_format": "D", "id": 160}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請驗證 'john.doe123@example.com' 和 'john.doe123@sub.example.com' 是否有效。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "email_id", "arguments": {"email": "john.doe123@example.com"}}}, {"type": "function", "function": {"name": "email_id", "arguments": {"email": "john.doe123@sub.example.com"}}}]}], "tools": [{"type": "function", "function": {"name": "email_id", "description": "Validates an email address using the Toolbench API and returns the validation result.", "parameters": {"type": "object", "properties": {"email": {"type": "string", "description": "The email address to validate.", "default": "test@gmail.com"}}, "required": ["email"]}}}], "meta": {"source_format": "D", "id": 161}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請擷取索尼公司(Sony Corporation)的財務資料。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getlistbysecuritiescode", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "getlistbysecuritiescode", "description": "Fetches the securities report data for a specified company using its securities code.", "parameters": {"type": "object", "properties": {"securities_code": {"type": "integer", "description": "The securities code of the company whose report data is to be fetched.", "default": "7203"}}, "required": ["securities_code"]}}}], "meta": {"source_format": "D", "id": 162}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "請從第3頁取回《Diablo 4》的新聞文章,並取得 Amazon.com Inc. 的公司詳細資訊。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getnews", "arguments": {}}}, {"type": "function", "function": {"name": "get_company_by_domain", "arguments": {"domain": "amazon.com"}}}]}], "tools": [{"type": "function", "function": {"name": "get_company_by_domain", "description": "Fetches company data using a given web domain.", "parameters": {"type": "object", "properties": {"domain": {"type": "string", "description": "The web domain of the company to look up.", "default": "apple.com"}}, "required": ["domain"]}}}, {"type": "function", "function": {"name": "getnews", "description": "Fetches news articles for Diablo 4 from the specified page number using the provided RapidAPI key.", "parameters": {"type": "object", "properties": {"page": {"type": "integer", "description": "The page number of news articles to fetch.", "default": "1"}}, "required": ["page"]}}}, {"type": "function", "function": {"name": "get_chapter_by_bookname", "description": "Retrieves a specific chapter from a book in the Bible using the specified book name and chapter ID.", "parameters": {"type": "object", "properties": {"bookname": {"type": "string", "description": "The name of the book in the Bible.", "default": "John"}, "chapterid": {"type": "integer", "description": "The chapter number to retrieve from the specified book.", "default": "3"}}, "required": ["bookname", "chapterid"]}}}], "meta": {"source_format": "D", "id": 163}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我正在尋找 'tt0110684' 和 'tt0110915' 的主要演員。你可以幫忙嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "titles_id_main_actors", "arguments": {"is_id": "tt0110684"}}}, {"type": "function", "function": {"name": "titles_id_main_actors", "arguments": {"is_id": "tt0110915"}}}]}], "tools": [{"type": "function", "function": {"name": "titles_id_main_actors", "description": "Fetches the main actors of a title given its IMDb ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "IMDb ID of the title (e.g., 'tt0000002').", "default": ""}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 164}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請找出 9:45 時時針與分針之間的角度。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "calculate_angle", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "neuronal_activity_rate", "description": "Calculates the neuronal activity rate based on the synaptic input rate, synaptic weight, and decay constant.", "parameters": {"type": "object", "properties": {"synaptic_input_rate": {"type": "integer", "description": "The rate of synaptic inputs per second.", "default": 1.0}, "synaptic_weight": {"type": "string", "description": "The weight of the synaptic input, denoting its influence. Defaults to 1.0.", "default": 0.1}, "decay_constant": {"type": "string", "description": "The rate at which the neuron's potential decays. Defaults to 0.1.", "default": 1.0}}, "required": ["synaptic_input_rate", "synaptic_weight", "decay_constant"]}}}, {"type": "function", "function": {"name": "is_power", "description": "Checks if a number is a power of a given base.", "parameters": {"type": "object", "properties": {"num": {"type": "integer", "description": "The number to check."}, "base": {"type": "integer", "description": "The base to check against."}}, "required": ["base", "num"]}}}, {"type": "function", "function": {"name": "cagr", "description": "Calculates the Compound Annual Growth Rate (CAGR) of an investment.", "parameters": {"type": "object", "properties": {"start_value": {"type": "number", "description": "The initial value of the investment."}, "end_value": {"type": "number", "description": "The final value of the investment."}, "years": {"type": "integer", "description": "The number of years between the initial and final values."}}, "required": ["end_value", "start_value", "years"]}}}, {"type": "function", "function": {"name": "calculate_angle", "description": "Calculates the angle between the hour and minute hands of a clock.", "parameters": {"type": "object", "properties": {"hour": {"type": "integer", "description": "The hour value (1-12)."}, "minute": {"type": "integer", "description": "The minute value (0-59)."}}, "required": ["hour", "minute"]}}}], "meta": {"source_format": "D", "id": 165}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "你能在「USPTO」資料來源中搜尋與「可再生能源」相關的專利嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "search_patent", "arguments": {"q": "可再生能源", "ds": "USPTO"}}}]}], "tools": [{"type": "function", "function": {"name": "tokenize", "description": "Tokenizes a given value by making a request to the Tokenizer API endpoint. The value must adhere to specific character restrictions and size limits.", "parameters": {"type": "object", "properties": {"value": {"type": "string", "description": "The text to be tokenized. The value must be 1KB or smaller and must not include any of the following characters: forward slash (/), backslash (\\), number sign (#), question mark (?), or control characters ranging from U+0000 to U+001F (including horizontal tab, linefeed, and carriage return), and from U+007F to U+009F.", "default": "TextIWantToTokenize"}}, "required": ["value"]}}}, {"type": "function", "function": {"name": "iso", "description": "Retrieves the ISO codes for a given country using the Metropolis API.", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "The name of the country for which to get the ISO codes.", "default": "Canada"}}, "required": ["country"]}}}, {"type": "function", "function": {"name": "search_patent", "description": "Searches for patents using a keyword and data source, and returns a list of patents.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "Keyword used for searching patents.", "default": "kettle"}, "ds": {"type": "string", "description": "Data source to search for patents.", "default": "all"}}, "required": ["q", "ds"]}}}], "meta": {"source_format": "D", "id": 166}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請取得在 Binance 現貨市場以 USDT 交易的 Ripple(XRP)之元資料,以及 Facebook 的母公司 Meta Platforms, Inc. 的指數趨勢。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "metadata", "arguments": {"asset_type": "spot", "symbol": "XRP", "base": "USDT", "market_venue": "BINANCE"}}}, {"type": "function", "function": {"name": "stock_index_trend", "arguments": {"symbol": "META"}}}]}], "tools": [{"type": "function", "function": {"name": "getlatestbysecuritiescode", "description": "Fetches the latest securities report data for a given company based on its securities code.", "parameters": {"type": "object", "properties": {"securities_code": {"type": "integer", "description": "The securities code representing the company.", "default": "7203"}}, "required": ["securities_code"]}}}, {"type": "function", "function": {"name": "stock_cashflow_statement", "description": "Fetches the cash flow statement for a given stock symbol from Yahoo Finance using RapidAPI.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol for which to fetch the cash flow statement.", "default": "AAPL"}}, "required": ["symbol"]}}}, {"type": "function", "function": {"name": "metadata", "description": "Fetches the metadata information for cryptocurrency markets from the specified API.", "parameters": {"type": "object", "properties": {"asset_type": {"type": "string", "description": "The type of the asset, e.g., 'spot' or 'futures'. Default is 'spot'.", "default": "spot"}, "market_venue": {"type": "string", "description": "The trading venue where the asset is listed, e.g., 'BINANCE'. Default is 'BINANCE'.", "default": "BINANCE"}, "symbol": {"type": "string", "description": "The symbol of the cryptocurrency, e.g., 'BTC'. Default is 'BTC'.", "default": "BTC"}, "base": {"type": "string", "description": "The base currency for trading, e.g., 'USDT'. Default is 'USDT'.", "default": "USDT"}, "data_type": {"type": "string", "description": "The type of data to fetch, e.g., 'metrics'. Default is 'metrics'.", "default": "metrics"}}, "required": ["asset_type", "market_venue", "symbol", "base", "data_type"]}}}, {"type": "function", "function": {"name": "stock_index_trend", "description": "Fetch the index trend earnings history information for a specific stock symbol from the Yahoo Finance API.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol to fetch the index trend data for.", "default": "AAPL"}}, "required": ["symbol"]}}}], "meta": {"source_format": "D", "id": 167}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助手。"}, {"role": "user", "content": "請取得 Amazon 上 ASIN 為 B07Z4JQW7J 的商品在德國的最新價格。此外,請為廠商 67890 擷取公告,但不要包含額外細節。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "camelizer_get_prices", "arguments": {"asin": "B07Z4JQW7J", "locale": "de"}}}, {"type": "function", "function": {"name": "get_advisories_by_vendor", "arguments": {"vendorid": "67890"}}}]}], "tools": [{"type": "function", "function": {"name": "whois", "description": "Fetch the WhoIS lookup data for a given domain using the specified Toolbench RapidAPI key.", "parameters": {"type": "object", "properties": {"domain": {"type": "string", "description": "The domain name for which to retrieve the WhoIS data.", "default": "peekdomain.com"}}, "required": ["domain"]}}}, {"type": "function", "function": {"name": "camelizer_get_prices", "description": "Retrieves the latest prices, and the historical highest and lowest prices of a product from Amazon using its ASIN code.", "parameters": {"type": "object", "properties": {"asin": {"type": "string", "description": "The ASIN number of a product from Amazon, formatted as a string (e.g., 'B08QB93S6R').", "default": ""}, "locale": {"type": "string", "description": "The locale code to specify the Amazon region. Defaults to 'us'. Options include 'au', 'ca', 'fr', 'de', 'it', 'es', 'uk', 'us'.", "default": "us"}}, "required": ["asin", "locale"]}}}, {"type": "function", "function": {"name": "get_advisories_by_vendor", "description": "Fetch advisories from CISA.gov for a specified vendor and provide information on current security issues, vulnerabilities, and exploits.", "parameters": {"type": "object", "properties": {"vendorid": {"type": "string", "description": "The vendor ID for which to fetch advisories.", "default": "Siemens"}, "limit": {"type": "string", "description": "The maximum number of advisories to retrieve. Defaults to 2.", "default": "2"}, "info": {"type": "string", "description": "Additional information flag. If set, includes more details in the response.", "default": "true"}}, "required": ["vendorid", "limit", "info"]}}}], "meta": {"source_format": "D", "id": 168}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助手。"}, {"role": "user", "content": "請幫我找出所有 Chevrolet 的車型,以及 Boeing 飛機的相關資料。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_models", "arguments": {"manufacturer": "Chevrolet"}}}, {"type": "function", "function": {"name": "airplanes_by_brand", "arguments": {"brand": "Boeing"}}}]}], "tools": [{"type": "function", "function": {"name": "strain_type", "description": "Fetches a list of results based on the specified strain type from the Weed Strain API.", "parameters": {"type": "object", "properties": {"straintype": {"type": "string", "description": "The type of strain to search for (e.g., Indica, Sativa, Hybrid).", "default": "Hybrid"}}, "required": ["straintype"]}}}, {"type": "function", "function": {"name": "get_models", "description": "Fetches all models from a given manufacturer using the Toolbench RapidAPI service.", "parameters": {"type": "object", "properties": {"manufacturer": {"type": "string", "description": "The name of the manufacturer for which to retrieve models.", "default": "Audi"}}, "required": ["manufacturer"]}}}, {"type": "function", "function": {"name": "airplanes_by_brand", "description": "Fetches all airplanes by a specified brand from the airplanes database.", "parameters": {"type": "object", "properties": {"brand": {"type": "string", "description": "The brand of airplanes to fetch information for.", "default": "Airbus"}}, "required": ["brand"]}}}, {"type": "function", "function": {"name": "data_breach_checker_endpoint", "description": "Checks if the given email has been compromised in any known data breaches using the Data Breach Checker API.", "parameters": {"type": "object", "properties": {"email": {"type": "string", "description": "The email address to be checked for data breaches.", "default": "example@xyz.com"}}, "required": ["email"]}}}], "meta": {"source_format": "D", "id": 169}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "取得 2023 年 6 月 3 日 UFC Fight Night:Kara-France 對 Albazi 所有拳手的詳細數據,從第 10 筆資料開始並擷取 5 筆記錄。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "ufc_fight_night_kara_france_vs_albazi_june_03_2023", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "players_at_position", "description": "Fetches all players at a specified position from the National Football Players API.", "parameters": {"type": "object", "properties": {"position": {"type": "string", "description": "The abbreviated position name to query players for (e.g., QB, RB, WR).", "default": "QB"}}, "required": ["position"]}}}, {"type": "function", "function": {"name": "teamnearmatches", "description": "Fetches the near matches for a specific baseball team using the team ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The team ID for which to retrieve the near matches.", "default": 3633}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "ufc_fight_night_kara_france_vs_albazi_june_03_2023", "description": "Fetch details of UFC Fight Night: Kara-France vs. Albazi on June 03, 2023.", "parameters": {"type": "object", "properties": {"offset": {"type": "string", "description": "The starting point of records to return. Defaults to None.", "default": ""}, "limit": {"type": "string", "description": "The number of records to return. Defaults to None.", "default": ""}}, "required": ["offset", "limit"]}}}], "meta": {"source_format": "D", "id": 170}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "一個頂點位於 (1, 1)、(5, 1)、(7, 5)、(5, 9)、(1, 9) 和 (0, 5) 的六邊形面積是多少?另外,從清單 [120, 130, 140, 150, 160] 中擷取最大的 4 個數字。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "polygon_area_shoelace", "arguments": {}}}, {"type": "function", "function": {"name": "find_n_largest_numbers", "arguments": {}}}]}, {"role": "assistant", "content": ", [5, 1], [7, 5], [5, 9], [1, 9], [0, 5]]), find_n_largest_numbers(nums=[120, 130, 140, 150, 160], n=4)]"}], "tools": [{"type": "function", "function": {"name": "polygon_area_shoelace", "description": "Calculates the area of a polygon using the shoelace formula.", "parameters": {"type": "object", "properties": {"vertices": {"type": "string", "description": "A list of polygon vertices represented as tuples (x, y)."}}, "required": ["vertices"]}}}, {"type": "function", "function": {"name": "find_n_largest_numbers", "description": "Finds the n largest numbers in a list.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of numbers."}, "n": {"type": "integer", "description": "The number of largest numbers to find."}}, "required": ["n", "nums"]}}}], "meta": {"source_format": "D", "id": 171}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "這則評論的情緒是什麼:'服務很糟糕,我再也不會回去了。'"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "text_sentiment_analysis", "arguments": {"text": "服務很糟糕,我再也不會回去了。"}}}]}], "tools": [{"type": "function", "function": {"name": "text_sentiment_analysis", "description": "Analyzes the sentiment of the provided text using the Text Sentiment Analysis API.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be analyzed for sentiment.", "default": "have a good day"}}, "required": ["text"]}}}], "meta": {"source_format": "D", "id": 172}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請計算句子 'The quick brown fox jumps over the lazy dog.' 中的元音字母數量。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "count_vowels", "arguments": {"text": "The quick brown fox jumps over the lazy dog."}}}]}], "tools": [{"type": "function", "function": {"name": "count_vowels", "description": "Counts the number of vowels in a given text.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input text."}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "generate_random_string", "description": "Generates a random string of specified length and character types.", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the random string.", "default": true}, "uppercase": {"type": "string", "description": "Include uppercase letters. Defaults to True.", "default": true}, "lowercase": {"type": "string", "description": "Include lowercase letters. Defaults to True.", "default": true}, "digits": {"type": "string", "description": "Include digits. Defaults to True."}, "special_chars": {"type": "string", "description": "Include special characters. Defaults to False.", "default": true}}, "required": ["digits"]}}}, {"type": "function", "function": {"name": "find_missing_ranges", "description": "Finds the missing ranges between lower and upper in a sorted list of integers.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The sorted list of integers."}, "lower": {"type": "integer", "description": "The lower bound."}, "upper": {"type": "integer", "description": "The upper bound."}}, "required": ["lower", "nums", "upper"]}}}], "meta": {"source_format": "D", "id": 173}} {"messages": [{"role": "system", "content": "你是位樂於助人的助理。"}, {"role": "user", "content": "你可以提供電影《駭客任務》(tconst:tt0133093)的技術細節,並列出第3頁的 AI 公司嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "title_get_technical", "arguments": {"tconst": "tt0133093"}}}, {"type": "function", "function": {"name": "getcompanies", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "title_get_technical", "description": "Fetches technical information for a movie or TV show using its tconst identifier and RapidAPI key.", "parameters": {"type": "object", "properties": {"tconst": {"type": "string", "description": "The unique identifier for a title, typically starting with 'tt', obtained from endpoints like /title/auto-complete or /title/find.", "default": "tt0944947"}}, "required": ["tconst"]}}}, {"type": "function", "function": {"name": "getcompanies", "description": "Fetches AI companies from a given page through the RapidAPI service.", "parameters": {"type": "object", "properties": {"page": {"type": "integer", "description": "The page number to retrieve companies from.", "default": "1"}}, "required": ["page"]}}}, {"type": "function", "function": {"name": "get_news", "description": "Fetches a list of news articles based on the specified category and region.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news to fetch.", "default": ""}, "region": {"type": "string", "description": "The region code for which to fetch news. Examples include 'us' for the United States and 'gb' for the United Kingdom.", "default": ""}}, "required": ["category", "region"]}}}, {"type": "function", "function": {"name": "get_articles", "description": "Fetch and filter Google News articles based on various criteria.", "parameters": {"type": "object", "properties": {"language": {"type": "string", "description": "The language code for the articles (e.g., 'EN' for English). Supported languages are: TR, EN, FR, DE, IT, ZH, ES, RU, KO, PT.", "default": ""}, "sort": {"type": "string", "description": "The sorting criterion for the articles. Possible values are 'date:asc', 'date:desc', '_score:asc', and '_score:desc'.", "default": ""}, "required_props": {"type": "string", "description": "Comma-separated list of required properties that an article must have to be included in the results (e.g., 'title,image').", "default": ""}, "cursor": {"type": "string", "description": "The cursor value for pagination, allowing navigation to the next set of articles.", "default": ""}, "to": {"type": "string", "description": "The ISO 8601 date string (YYYY-MM-DDTHH:mm:ss) specifying the end date for the articles.", "default": ""}, "limit": {"type": "string", "description": "The maximum number of articles to retrieve per request. The maximum limit is 100.", "default": ""}, "is_from": {"type": "string", "description": "The ISO 8601 date string (YYYY-MM-DDTHH:mm:ss) specifying the start date for the articles.", "default": ""}, "q": {"type": "string", "description": "The search query string to find specific articles. Use 'AND'/'OR' for multiple terms and '-' to exclude terms.", "default": ""}}, "required": ["language", "sort", "required_props", "cursor", "to", "limit", "is_from", "q"]}}}, {"type": "function", "function": {"name": "theaters_list", "description": "List theaters around a specified postal code or GEO location using the Flixster API.", "parameters": {"type": "object", "properties": {"longitude": {"type": "string", "description": "The GEO longitude to search for theaters.", "default": ""}, "zipcode": {"type": "string", "description": "The postal code to search for theaters. Default is '90002'.", "default": "90002"}, "latitude": {"type": "string", "description": "The GEO latitude to search for theaters.", "default": ""}, "radius": {"type": "string", "description": "The radius (in miles) around the specified location to search for theaters. Default is 50.", "default": "50"}}, "required": ["longitude", "zipcode", "latitude", "radius"]}}}, {"type": "function", "function": {"name": "getstats", "description": "Fetches the latest and historical coronavirus statistics data, including confirmed cases, deaths, and recovered cases, for a specified location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "ISO 3166-2 location code (e.g., \"FR\" for France, \"US\" for the United States, \"US-CA\" for California state, or \"global\" for worldwide statistics).", "default": "US"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "health", "description": "Fetches health-related news from Google News using the provided language region and API key.", "parameters": {"type": "object", "properties": {"lr": {"type": "string", "description": "Language region for the news, e.g., 'en-US'.", "default": "en-US"}}, "required": ["lr"]}}}], "meta": {"source_format": "D", "id": 174}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請為文字 'Bonjour, monde!' 使用聲音 'fr-FR-DenverNeural' 建立下載 URL。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getdownloadurl", "arguments": {"text": "Bonjour, monde!", "voice_name": "fr-FR-DenverNeural"}}}]}], "tools": [{"type": "function", "function": {"name": "my_images_by_id", "description": "Fetches generated images' information filtered by a unique ID.", "parameters": {"type": "object", "properties": {"uniqueid": {"type": "string", "description": "The unique ID used to filter the generated images.", "default": ""}}, "required": ["uniqueid"]}}}, {"type": "function", "function": {"name": "get_products_in_category", "description": "Fetches products in a specified category from the demo project's catalog.", "parameters": {"type": "object", "properties": {"skip": {"type": "integer", "description": "The number of items to skip for pagination.", "default": ""}, "limit": {"type": "integer", "description": "The maximum number of items to return for pagination.", "default": ""}, "category": {"type": "string", "description": "The category from which to retrieve products.", "default": ""}}, "required": ["skip", "limit", "category"]}}}, {"type": "function", "function": {"name": "getdownloadurl", "description": "Generates an mp3 download URL using a Text-to-Speech (TTS) engine for the provided text and voice.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be converted to speech.", "default": "Are you alright?"}, "voice_name": {"type": "string", "description": "The voice and language for the speech synthesis. Default is 'en-US-AriaNeural'.", "default": "en-US-AriaNeural"}}, "required": ["text", "voice_name"]}}}], "meta": {"source_format": "D", "id": 175}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "你可以取得 Trackmania 最近 100 個配對紀錄,並提供《Lost Ark》中等級「困難」的守護者突襲詳細資訊嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "matchmaking_matches", "arguments": {}}}, {"type": "function", "function": {"name": "get_raids_by_level", "arguments": {"level": "困難"}}}]}], "tools": [{"type": "function", "function": {"name": "matchmaking_matches", "description": "Fetch recent matchmaking matches with optional pagination and result limit.", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "The maximum number of match results to return. Default is 50.", "default": "50"}, "page": {"type": "integer", "description": "The page number for pagination, each containing 50 results. Default is 0.", "default": "0"}}, "required": ["limit", "page"]}}}, {"type": "function", "function": {"name": "get_raids_by_level", "description": "Fetches all guardian raids for a specified level.", "parameters": {"type": "object", "properties": {"level": {"type": "string", "description": "The level of the guardian raids to retrieve information for.", "default": "1"}}, "required": ["level"]}}}, {"type": "function", "function": {"name": "gamesdata", "description": "Fetches data for a specific game using its APP_ID from the Steam Games Data API.", "parameters": {"type": "object", "properties": {"app_id": {"type": "integer", "description": "The unique identifier for the game whose data is to be fetched.", "default": "1581770"}}, "required": ["app_id"]}}}], "meta": {"source_format": "D", "id": 176}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "你能幫我找到關於最新 iPhone 13 評測的影片,以及關於初學者瑜珈教學的影片嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "search", "arguments": {"q": "iPhone 13 評測"}}}, {"type": "function", "function": {"name": "search", "arguments": {"q": "初學者瑜珈教學"}}}]}], "tools": [{"type": "function", "function": {"name": "search", "description": "This function queries the Cheap YouTube API to search for videos based on the given query string.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "The search query string to find relevant videos.", "default": "crypto"}}, "required": ["q"]}}}], "meta": {"source_format": "D", "id": 177}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "你能找出9:45和11:30時的角度嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "calculate_angle", "arguments": {}}}, {"type": "function", "function": {"name": "calculate_angle", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "calculate_angle", "description": "Calculates the angle between the hour and minute hands of a clock.", "parameters": {"type": "object", "properties": {"hour": {"type": "integer", "description": "The hour value (1-12)."}, "minute": {"type": "integer", "description": "The minute value (0-59)."}}, "required": ["hour", "minute"]}}}], "meta": {"source_format": "D", "id": 178}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "在一個由30人組成的團體中,若有25名外向者和5名內向者,外向者的主導會如何影響該團體的動態?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "analyze_social_group_dynamics", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "analyze_social_group_dynamics", "description": "Analyzes the social dynamics within a group based on the personality traits and group size.", "parameters": {"type": "object", "properties": {"total": {"type": "integer", "description": "The total group size."}, "extroverts": {"type": "integer", "description": "The number of extroverted members in the group."}, "introverts": {"type": "integer", "description": "The number of introverted members in the group."}}, "required": ["extroverts", "introverts", "total"]}}}], "meta": {"source_format": "D", "id": 179}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "從索引 5 開始抓取積極型小型股。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "market_aggressive_small_caps", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "get_funding_rate_history", "description": "Retrieve the funding rate history for a specific derivative product category over a given time interval.", "parameters": {"type": "object", "properties": {"interval": {"type": "string", "description": "Kline interval. Possible values are: 1, 3, 5, 15, 30, 60, 120, 240, 360, 720, \"D\" (day), \"M\" (month), \"W\" (week).", "default": "D"}, "start": {"type": "integer", "description": "Start timestamp point for the result, in milliseconds.", "default": "1652112000000"}, "category": {"type": "string", "description": "Derivatives products category. Possible values are \"linear\" and \"inverse\".", "default": "linear"}, "end": {"type": "integer", "description": "End timestamp point for the result, in milliseconds.", "default": "1652544000000"}, "symbol": {"type": "string", "description": "Symbol of the derivative product.", "default": "BTCUSDT"}, "limit": {"type": "string", "description": "Limit for data size per page, max size is 200. Defaults to showing 200 pieces of data per page.", "default": ""}}, "required": ["interval", "start", "category", "end", "symbol", "limit"]}}}, {"type": "function", "function": {"name": "conversion", "description": "Performs cryptocurrency conversion from a given cryptocurrency symbol to another and retrieves conversion data.", "parameters": {"type": "object", "properties": {"tsym": {"type": "string", "description": "The target cryptocurrency symbol to convert to.", "default": "USDT"}, "fsyms": {"type": "string", "description": "The source cryptocurrency symbol to convert from.", "default": "ETH"}}, "required": ["tsym", "fsyms"]}}}, {"type": "function", "function": {"name": "market_aggressive_small_caps", "description": "Fetch data for aggressive small cap stocks with earnings growth rates greater than 25% using the mboum-finance API.", "parameters": {"type": "object", "properties": {"start": {"type": "string", "description": "The starting index for fetching the data. Defaults to 0.", "default": "0"}}, "required": ["start"]}}}, {"type": "function", "function": {"name": "type_parent_get_highest_rated_investments", "description": "Retrieve the highest rated investments as displayed in the Parent tab.", "parameters": {"type": "object", "properties": {"type": {"type": "string", "description": "The type of investment, one of the following values: 'etf' or 'fund'.", "default": "etf"}, "securityid": {"type": "string", "description": "The security ID for which to retrieve the highest rated investments.", "default": "F00000O2CG"}}, "required": ["type", "securityid"]}}}], "meta": {"source_format": "D", "id": 180}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請為專輯 '67890' 以西班牙語取得相關藝人,並從 Spotify 取得曲目 '11111'、'22222' 的詳細資訊。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "albums_get_related_artist", "arguments": {"is_id": "67890", "l": "es-ES"}}}, {"type": "function", "function": {"name": "get_tracks", "arguments": {"ids": "11111,22222"}}}]}], "tools": [{"type": "function", "function": {"name": "albums_get_related_artist", "description": "Fetches related artist information for a given album using the Shazam API.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The value of the 'albums->id', 'id', or 'albumadamid' field returned from various Shazam API endpoints.", "default": "850569437"}, "l": {"type": "string", "description": "The language code to return results in. Defaults to 'en-US'.", "default": "en-US"}}, "required": ["is_id", "l"]}}}, {"type": "function", "function": {"name": "get_tracks", "description": "Fetches track information from the Spotify API for the given track IDs.", "parameters": {"type": "object", "properties": {"ids": {"type": "string", "description": "A string of comma-separated track IDs to fetch information for.", "default": "4WNcduiCmDNfmTEz7JvmLv"}}, "required": ["ids"]}}}], "meta": {"source_format": "D", "id": 181}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "列出罩杯為 D 或以上且腰圍低於 65 公分的色情演員。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "listpornstars", "arguments": {"min_cup_size": "D", "max_waist": "65"}}}]}], "tools": [{"type": "function", "function": {"name": "listpornstars", "description": "Fetch a list of pornstars based on various filtering criteria.", "parameters": {"type": "object", "properties": {"max_rank": {"type": "string", "description": "Maximum rank of the pornstar.", "default": ""}, "min_rank": {"type": "string", "description": "Minimum rank of the pornstar.", "default": ""}, "max_waist": {"type": "string", "description": "Maximum waist measurement of the pornstar.", "default": ""}, "max_cup_size": {"type": "string", "description": "Maximum cup size of the pornstar.", "default": ""}, "min_cup_size": {"type": "string", "description": "Minimum cup size of the pornstar.", "default": ""}, "min_weight": {"type": "string", "description": "Minimum weight of the pornstar.", "default": ""}, "max_weight": {"type": "string", "description": "Maximum weight of the pornstar.", "default": ""}, "max_age": {"type": "string", "description": "Maximum age of the pornstar.", "default": ""}, "ethnicity": {"type": "string", "description": "Ethnicity of the pornstar.", "default": ""}, "min_age": {"type": "string", "description": "Minimum age of the pornstar.", "default": ""}, "nationality": {"type": "string", "description": "Nationality of the pornstar.", "default": ""}, "tattoos": {"type": "string", "description": "Tattoo status of the pornstar.", "default": ""}, "eyes": {"type": "string", "description": "Eye color of the pornstar.", "default": ""}, "hair": {"type": "string", "description": "Hair color of the pornstar.", "default": ""}, "page": {"type": "string", "description": "Page number for paginated results.", "default": ""}, "min_waist": {"type": "string", "description": "Minimum waist measurement of the pornstar.", "default": ""}, "name": {"type": "string", "description": "Name of the pornstar.", "default": ""}, "date_of_birth": {"type": "string", "description": "Date of birth of the pornstar.", "default": ""}}, "required": ["max_rank", "min_rank", "max_waist", "max_cup_size", "min_cup_size", "min_weight", "max_weight", "max_age", "ethnicity", "min_age", "nationality", "tattoos", "eyes", "hair", "page", "min_waist", "name", "date_of_birth"]}}}], "meta": {"source_format": "D", "id": 182}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我有一個資料集,平均值為50,標準差為2,樣本大小為500。90%信賴區間的下界和上界是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "mean_confidence_interval", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "mean_confidence_interval", "description": "Calculates the confidence interval for a sample mean.", "parameters": {"type": "object", "properties": {"std_dev": {"type": "number", "description": "The standard deviation of the sample.", "default": 0.95}, "sample_size": {"type": "integer", "description": "The size of the sample.", "default": 0.95}, "mean": {"type": "number", "description": "The mean of the sample."}, "confidence": {"type": "string", "description": "The desired confidence level. Default is 0.95."}}, "required": ["confidence", "mean"]}}}], "meta": {"source_format": "D", "id": 183}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請問 'MSFT' 在美國的五年平均股息殖利率是多少?以及 'BTC/USD' 的終極振盪器(Ultimate Oscillator),時間間隔為4小時,時間週期為7、14和28,結果為何?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "stock_get_five_yr_avg_div_yield", "arguments": {"symbol": "MSFT", "region": "US"}}}, {"type": "function", "function": {"name": "ultosc", "arguments": {"symbol": "BTC/USD", "interval": "4h"}}}]}], "tools": [{"type": "function", "function": {"name": "stock_get_five_yr_avg_div_yield", "description": "Fetches the five-year average dividend yield for a given stock symbol and region.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock ticker symbol (e.g., 'AAPL' for Apple Inc.).", "default": "AAPL"}, "region": {"type": "string", "description": "The region of the stock market. Allowed values are 'US', 'BR', 'AU', 'CA', 'FR', 'DE', 'HK', 'IN', 'IT', 'ES', 'GB', 'S'. Default is 'US'.", "default": "US"}}, "required": ["symbol", "region"]}}}, {"type": "function", "function": {"name": "ultosc", "description": "Fetches the Ultimate Oscillator (ULTOSC) data for a given financial instrument using the Twelve Data API. The Ultimate Oscillator takes into account three different time periods to enhance the quality of overbought and oversold signals.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "Instrument symbol, can be any equity, index, ETF, forex, or cryptocurrency (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC').", "default": "AAPL"}, "interval": {"type": "string", "description": "Interval between two consecutive points in the time series. Supported values are '1min', '5min', '15min', '30min', '45min', '1h', '2h', '4h', '1day', '1week', and '1month'.", "default": "1min"}, "time_period_1": {"type": "string", "description": "First time period for the oscillator calculation. Defaults to 7.", "default": 7}, "time_period_2": {"type": "string", "description": "Second time period for the oscillator calculation. Defaults to 14.", "default": 14}, "format": {"type": "string", "description": "Output format, either 'CSV' or 'JSON'. Defaults to 'json'.", "default": "json"}, "time_period_3": {"type": "string", "description": "Third time period for the oscillator calculation. Defaults to 28.", "default": 28}, "outputsize": {"type": "string", "description": "Number of data points to return. Defaults to 30.", "default": 30}}, "required": ["symbol", "interval", "time_period_1", "time_period_2", "format", "time_period_3", "outputsize"]}}}], "meta": {"source_format": "D", "id": 184}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "order_by_descending", "arguments": {"ordering": "affection"}}}]}], "tools": [{"type": "function", "function": {"name": "order_by_descending", "description": "Fetches a list of resources from the Cat Breed Database API sorted in descending order based on the provided ordering parameter.", "parameters": {"type": "object", "properties": {"ordering": {"type": "string", "description": "The criterion by which to sort the list in descending order.", "default": "-breedName"}}, "required": ["ordering"]}}}], "meta": {"source_format": "D", "id": 185}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我需要力拓(Rio Tinto)在澳洲的年度平均股息率,以及必和必拓集團(BHP Group)在英國的年度平均股息率。"}], "tools": [{"type": "function", "function": {"name": "stock_get_annual_avg_div_rate", "description": "Fetches the annual average dividend rate for a given stock symbol.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock ticker symbol (e.g., \"AAPL\" for Apple Inc.).", "default": "AAPL"}, "region": {"type": "string", "description": "The market region for the stock. Defaults to 'US'.", "default": "US"}}, "required": ["symbol", "region"]}}}, {"type": "function", "function": {"name": "options", "description": "Fetches stock and options trading data for the given ticker symbol using the RapidAPI service.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string", "description": "The ticker symbol for the U.S. trading stock or ETF.", "default": "aapl"}, "x_rapidapi_proxy_secret": {"type": "string", "description": "The RapidAPI proxy secret for authentication. Defaults to 'a755b180-f5a9-11e9-9f69-7bf51e845926'.", "default": "a755b180-f5a9-11e9-9f69-7bf51e845926"}}, "required": ["ticker", "x_rapidapi_proxy_secret"]}}}], "meta": {"source_format": "D", "id": 186}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助手。"}, {"role": "user", "content": "你能為歐洲車解碼 VIN 1HGCM82633A102761 並找出其車型和製造年份嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "vin_decoder", "arguments": {"vin": "1HGCM8263A102761"}}}]}], "tools": [{"type": "function", "function": {"name": "vin_decoder", "description": "Decodes a given VIN (Vehicle Identification Number) for a vehicle manufactured in Europe to retrieve information such as car model, maker, year, engine, and other relevant details.", "parameters": {"type": "object", "properties": {"vin": {"type": "string", "description": "The VIN number to be decoded.", "default": "VF3CA5FU8DW062146"}}, "required": ["vin"]}}}, {"type": "function", "function": {"name": "get_single_user", "description": "Retrieves individual user data for a provided user ID from the RapidAPI service.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The ID of the user for which to retrieve data.", "default": ""}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "postcodes", "description": "This function fetches information about a given Japanese postcode using the PostcodeJP API.", "parameters": {"type": "object", "properties": {"postcode": {"type": "string", "description": "The postcode for which information is to be fetched.", "default": "1000001"}}, "required": ["postcode"]}}}, {"type": "function", "function": {"name": "search_place_id_api", "description": "Fetches details for a given place from the Complete Study Bible API using the provided Place Unique ID.", "parameters": {"type": "object", "properties": {"place_unique_id": {"type": "string", "description": "The unique identifier for the place to be searched in the API.", "default": "2"}}, "required": ["place_unique_id"]}}}], "meta": {"source_format": "D", "id": 187}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "有哪些由 Meryl Streep 參演的電影,以及 'The Devil Wears Prada' 的 ID 是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_movies_by_cast_name", "arguments": {"cast_name": "Meryl Streep"}}}, {"type": "function", "function": {"name": "get_id", "arguments": {"q": "The Devil Wears Prada"}}}]}], "tools": [{"type": "function", "function": {"name": "get_id", "description": "Fetches the ID of a movie based on the given search query from the RapidAPI similar movies service.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "The search string for the movie title.", "default": "titanic"}}, "required": ["q"]}}}, {"type": "function", "function": {"name": "get_movies_by_cast_name", "description": "Fetches movies associated with a given cast member's name from the IMDB API.", "parameters": {"type": "object", "properties": {"cast_name": {"type": "string", "description": "Name of the cast member to search for. Defaults to None.", "default": ""}}, "required": ["cast_name"]}}}, {"type": "function", "function": {"name": "get_quote_by_year", "description": "Fetches quotes from movies or TV shows for a given year.", "parameters": {"type": "object", "properties": {"year": {"type": "integer", "description": "The year for which to retrieve quotes.", "default": "1939"}}, "required": ["year"]}}}, {"type": "function", "function": {"name": "searchinventory", "description": "Searches for available inventory in the system based on the provided search parameters.", "parameters": {"type": "object", "properties": {"searchstring": {"type": "string", "description": "An optional search string to look up inventory items. Defaults to 'string'.", "default": "string"}, "limit": {"type": "integer", "description": "The maximum number of records to return. Defaults to 0, which means no limit.", "default": 0}, "skip": {"type": "integer", "description": "The number of records to skip for pagination. Defaults to 0.", "default": 0}}, "required": ["searchstring", "limit", "skip"]}}}], "meta": {"source_format": "D", "id": 188}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請問里約熱內盧的 5 天天氣預報和當地時間是什麼?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "daily_forecast_5_days", "arguments": {"longitude": "-43.1729", "latitude": "-22.9068"}}}, {"type": "function", "function": {"name": "time_zone_api", "arguments": {"q": "里約熱內盧"}}}]}], "tools": [{"type": "function", "function": {"name": "alerts_active_zone_zoneid", "description": "Fetches a list of active weather alerts for a specified zone ID using the National Weather Service API.", "parameters": {"type": "object", "properties": {"zoneid": {"type": "string", "description": "A valid zone ID for which to fetch the active alerts. Example: 'ILZ081'.", "default": ""}}, "required": ["zoneid"]}}}, {"type": "function", "function": {"name": "time_zone_api", "description": "Fetches up-to-date time zone and local time information as JSON based on a given query parameter.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "Query parameter to fetch time zone data.", "default": ""}}, "required": ["q"]}}}, {"type": "function", "function": {"name": "daily_forecast_5_days", "description": "Fetch a 5-day daily weather forecast for the specified geographic coordinates.", "parameters": {"type": "object", "properties": {"longitude": {"type": "string", "description": "The longitude of the location for which the forecast is to be retrieved.", "default": "103.86"}, "latitude": {"type": "string", "description": "The latitude of the location for which the forecast is to be retrieved.", "default": "1.28"}}, "required": ["longitude", "latitude"]}}}], "meta": {"source_format": "D", "id": 189}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能查找製藥業中輝瑞公司 (PFE) 與強生公司 (JNJ) 的盈餘趨勢嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "earnings_trend", "arguments": {"ticker": "PFE"}}}, {"type": "function", "function": {"name": "earnings_trend", "arguments": {"ticker": "JNJ"}}}]}], "tools": [{"type": "function", "function": {"name": "earnings_trend", "description": "Retrieves the earnings trend for a given stock ticker using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string", "description": "The stock ticker symbol for which the earnings trend is to be retrieved.", "default": "AAPL"}}, "required": ["ticker"]}}}], "meta": {"source_format": "D", "id": 190}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請提供 ID 為 'cr/la-buena-vida-cabinas' 的物業詳細資訊與圖片,並列出 chain_id 為 '123' 的所有飯店連鎖。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "stays_properties_detail_photos", "arguments": {"language_code": "zh-tw", "id_detail": "cr/la-buena-vida-cabinas"}}}, {"type": "function", "function": {"name": "list_of_hotel_chains", "arguments": {"chain_id": "123"}}}]}], "tools": [{"type": "function", "function": {"name": "stays_properties_detail_photos", "description": "Fetch detailed photos of a specific property from the stays/properties/detail/photos endpoint using the Booking.com RapidAPI.", "parameters": {"type": "object", "properties": {"language_code": {"type": "string", "description": "The language code to use for the response. Default is 'en-us'.", "default": "en-us"}, "id_detail": {"type": "string", "description": "The ID of the property to fetch detail photos for. Default is 'cr/la-buena-vida-cabinas'.", "default": "cr/la-buena-vida-cabinas"}}, "required": ["language_code", "id_detail"]}}}, {"type": "function", "function": {"name": "list_of_hotel_chains", "description": "Fetches a list of hotel chains from the Booking.com API.", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "Hotel chain name to filter results by.", "default": ""}, "chain_id": {"type": "string", "description": "Chain ID to filter results by.", "default": ""}}, "required": ["name", "chain_id"]}}}, {"type": "function", "function": {"name": "get_stations", "description": "Retrieve the nearest electric vehicle charging stations within a specified distance.", "parameters": {"type": "object", "properties": {"distance": {"type": "string", "description": "The radius in miles to search for charging stations. Defaults to '100'.", "default": "100"}, "longitude": {"type": "string", "description": "The longitude coordinate for the search location. Defaults to '2.4379392'.", "default": "2.4379392"}, "latitude": {"type": "string", "description": "The latitude coordinate for the search location. Defaults to '44.351488'.", "default": "44.351488"}}, "required": ["distance", "longitude", "latitude"]}}}, {"type": "function", "function": {"name": "hotel_photos", "description": "Fetches a list of photos for given hotels based on their IDs from the RapidAPI Priceline provider.", "parameters": {"type": "object", "properties": {"hotel_ids": {"type": "string", "description": "Comma-separated string of PPN hotel IDs (Semi Opaque Only).", "default": "700000000,700000001,700000002,700000003"}, "image_size": {"type": "string", "description": "The size of the images to be returned. Valid options are 'small' (60px), 'medium' (300 to 312px), or 'large' (500 to 800px). Defaults to 'medium'.", "default": "medium"}}, "required": ["hotel_ids", "image_size"]}}}], "meta": {"source_format": "D", "id": 191}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "你可以為「Basic Latin」字元範圍使用「Arial」字型堆疊擷取字體嗎?另外,請以 10 筆為上限,擷取「North America」地區的紀錄。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_fonts", "arguments": {"range": "Basic Latin", "fontstack": "Arial"}}}, {"type": "function", "function": {"name": "fetch_by_region", "arguments": {"region": "North America"}}}]}], "tools": [{"type": "function", "function": {"name": "get_fonts", "description": "Fetch fonts for vector tiles using a specified range and font stack from the Mapilion API.", "parameters": {"type": "object", "properties": {"range": {"type": "string", "description": "The range of font unicode characters to fetch.", "default": "0-255"}, "fontstack": {"type": "string", "description": "The font stack to be used for the tiles.", "default": "Roboto Regular"}}, "required": ["range", "fontstack"]}}}, {"type": "function", "function": {"name": "fetch_by_region", "description": "Fetches records by region from the Magical Taske API.", "parameters": {"type": "object", "properties": {"region": {"type": "string", "description": "The region for which to fetch records.", "default": "Central"}, "limit": {"type": "integer", "description": "The maximum number of records to return.", "default": "5"}}, "required": ["region", "limit"]}}}, {"type": "function", "function": {"name": "getcity", "description": "Retrieves a list of cities for a given ISO code using the RapidAPI service.", "parameters": {"type": "object", "properties": {"iso": {"type": "string", "description": "The ISO code representing the country.", "default": "iq"}}, "required": ["iso"]}}}], "meta": {"source_format": "D", "id": 192}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我需要 'TSLA' 的選擇權資料,類型為 'Put',最低履約價為 200,最高履約價為 250,最早到期日為 '2022-06-01',最晚到期日為 '2022-12-31'。另外,請取得 'BTC/USD' 的 ULTOSC 資料,時間間隔為 1h,時間週期為 7、14、28。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "options_prices", "arguments": {"type": "Put", "symbol": "TSLA", "min_expiry": "2022-06-01", "max_expiry": "2022-12-31"}}}, {"type": "function", "function": {"name": "ultosc", "arguments": {"symbol": "BTC/USD", "interval": "1h"}}}]}], "tools": [{"type": "function", "function": {"name": "options_prices", "description": "Fetch current options data given the input parameters.", "parameters": {"type": "object", "properties": {"type": {"type": "string", "description": "The type of option contract ('Call' or 'Put').", "default": "Call"}, "symbol": {"type": "string", "description": "The symbol of the asset to look for, e.g., 'AAPL' (Apple Inc), 'MSFT' (Microsoft).", "default": "AAPL"}, "min_strike": {"type": "string", "description": "A lower bound for the strike price. Default is 50. If provided, the strike range [min_strike, max_strike] takes priority over the strike parameter.", "default": "50"}, "min_expiry": {"type": "string", "description": "A lower bound for the expiration date in the format 'YYYY-MM-DD'. Default is '2021-05-21'. If provided, the expiry range [min_expiry, max_expiry] takes priority over the expiration parameter.", "default": "2021-05-21"}, "max_expiry": {"type": "string", "description": "An upper bound for the expiration date in the format 'YYYY-MM-DD'. Default is '2023-12-14'. If provided, the expiry range [min_expiry, max_expiry] takes priority over the expiration parameter.", "default": "2023-12-14"}, "max_strike": {"type": "string", "description": "An upper bound for the strike price. Default is 90. If provided, the strike range [min_strike, max_strike] takes priority over the strike parameter.", "default": "90"}, "strike": {"type": "string", "description": "A lower bound for the strike price. Default is 50. If provided, the strike range [min_strike, max_strike] takes priority over the strike parameter.", "default": "122.00"}, "expiration": {"type": "string", "description": "The expiration date of the option in the format 'YYYY-MM-DD'. Default is '2023-12-14'.", "default": "2023-12-14"}}, "required": ["type", "symbol", "min_strike", "min_expiry", "max_expiry", "max_strike", "strike", "expiration"]}}}, {"type": "function", "function": {"name": "ultosc", "description": "Fetches the Ultimate Oscillator (ULTOSC) data for a given financial instrument using the Twelve Data API. The Ultimate Oscillator takes into account three different time periods to enhance the quality of overbought and oversold signals.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "Instrument symbol, can be any equity, index, ETF, forex, or cryptocurrency (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC').", "default": "AAPL"}, "interval": {"type": "string", "description": "Interval between two consecutive points in the time series. Supported values are '1min', '5min', '15min', '30min', '45min', '1h', '2h', '4h', '1day', '1week', and '1month'.", "default": "1min"}, "time_period_1": {"type": "string", "description": "First time period for the oscillator calculation. Defaults to 7.", "default": 7}, "time_period_2": {"type": "string", "description": "Second time period for the oscillator calculation. Defaults to 14.", "default": 14}, "format": {"type": "string", "description": "Output format, either 'CSV' or 'JSON'. Defaults to 'json'.", "default": "json"}, "time_period_3": {"type": "string", "description": "Third time period for the oscillator calculation. Defaults to 28.", "default": 28}, "outputsize": {"type": "string", "description": "Number of data points to return. Defaults to 30.", "default": 30}}, "required": ["symbol", "interval", "time_period_1", "time_period_2", "format", "time_period_3", "outputsize"]}}}], "meta": {"source_format": "D", "id": 193}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請從 BetMGM 取得賽程,並取得足球比賽 '98765' 的即時資料。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "game_odds_by_site_schedule", "arguments": {"site": "BetMGM"}}}, {"type": "function", "function": {"name": "provider1_live_match_id", "arguments": {"is_id": "98765"}}}]}], "tools": [{"type": "function", "function": {"name": "provider1_live_match_id", "description": "Fetch the live match data for the given match ID from provider1 using the RapidAPI endpoint.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The match ID to fetch data for.", "default": ""}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "matchschedules", "description": "Fetches the schedules of ice hockey matches for a specified date, including match timings, teams, and other relevant information.", "parameters": {"type": "object", "properties": {"day": {"type": "integer", "description": "The day of the month for which you want to retrieve the schedules (1-31).", "default": 28}, "year": {"type": "integer", "description": "The year for which you want to retrieve the schedules (e.g., 2022).", "default": 2022}, "month": {"type": "integer", "description": "The month for which you want to retrieve the schedules (1-12).", "default": 11}}, "required": ["day", "year", "month"]}}}, {"type": "function", "function": {"name": "game_odds_by_site_schedule", "description": "Fetches the game schedule from a specified sports betting site using the provided API key.", "parameters": {"type": "object", "properties": {"site": {"type": "string", "description": "The name of the sports betting site to fetch the schedule from. Case-insensitive. Valid options include:", "default": "draftkings"}}, "required": ["site"]}}}], "meta": {"source_format": "D", "id": 194}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "請確認電子郵件 'invalid.email@.com' 是否有效。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "is_valid_email", "arguments": {"email": "invalid.email@.com"}}}]}], "tools": [{"type": "function", "function": {"name": "predict_forest_area", "description": "Predicts the change in forest area over a specified number of years.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The geographic location for the prediction."}, "num_years": {"type": "integer", "description": "The number of years into the future to make the prediction."}, "include_humans": {"type": "string", "description": "Whether to include the impact of human activities in the prediction. Defaults to False."}}, "required": ["include_humans", "location", "num_years"]}}}, {"type": "function", "function": {"name": "analyze_social_group_dynamics", "description": "Analyzes the social dynamics within a group based on the personality traits and group size.", "parameters": {"type": "object", "properties": {"total": {"type": "integer", "description": "The total group size."}, "extroverts": {"type": "integer", "description": "The number of extroverted members in the group."}, "introverts": {"type": "integer", "description": "The number of introverted members in the group."}}, "required": ["extroverts", "introverts", "total"]}}}, {"type": "function", "function": {"name": "is_valid_email", "description": "Checks if an email address is valid.", "parameters": {"type": "object", "properties": {"email": {"type": "string", "description": "The email address to validate."}}, "required": ["email"]}}}, {"type": "function", "function": {"name": "get_ip_zipcode", "description": "Retrieves the ZIP code of a given IP address using the ip-api.com API.", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "The IP address to locate."}}, "required": ["ip"]}}}], "meta": {"source_format": "D", "id": 195}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "檢查 370 是否為其數字的立方和,並將句子「AI 正在快速改變世界。」反轉。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "is_sum_of_cubes", "arguments": {}}}, {"type": "function", "function": {"name": "reverse_words", "arguments": {"sentence": "AI 正在快速改變世界。"}}}]}], "tools": [{"type": "function", "function": {"name": "find_max_subarray_sum", "description": "Finds the maximum sum of a contiguous subarray within a list of integers.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The input list of integers."}}, "required": ["nums"]}}}, {"type": "function", "function": {"name": "fibonacci", "description": "Calculates the nth Fibonacci number.", "parameters": {"type": "object", "properties": {"n": {"type": "integer", "description": "The position of the Fibonacci number."}}, "required": ["n"]}}}, {"type": "function", "function": {"name": "is_sum_of_cubes", "description": "Checks if a number is the sum of the cubes of its digits.", "parameters": {"type": "object", "properties": {"num": {"type": "integer", "description": "The number to check."}}, "required": ["num"]}}}, {"type": "function", "function": {"name": "reverse_words", "description": "Reverses the order of words in a sentence.", "parameters": {"type": "object", "properties": {"sentence": {"type": "string", "description": "The input sentence."}}, "required": ["sentence"]}}}], "meta": {"source_format": "D", "id": 196}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_by_tmdb_id", "arguments": {"m": "movie"}}}, {"type": "function", "function": {"name": "get_by_tmdb_id", "arguments": {"m": "show"}}}, {"type": "function", "function": {"name": "get_countries", "arguments": {"keyword": "USA"}}}]}], "tools": [{"type": "function", "function": {"name": "get_by_tmdb_id", "description": "Fetches movie or TV show information based on a given TMDb ID.", "parameters": {"type": "object", "properties": {"tm": {"type": "integer", "description": "A valid TMDb ID for the movie or TV show.", "default": "578"}, "m": {"type": "integer", "description": "A valid TMDb ID for the movie or TV show.", "default": ""}}, "required": ["tm", "m"]}}}, {"type": "function", "function": {"name": "get_countries", "description": "Fetches a list of countries from the 60k Radio Stations API, optionally filtered by a keyword.", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "A keyword to filter the list of countries (default is 'Aus').", "default": "Aus"}}, "required": ["keyword"]}}}, {"type": "function", "function": {"name": "community_post_details", "description": "Fetches details of a community post from YouTube using RapidAPI.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "Community post ID. Default is 'UgkxCWeKPiIOLsnh_5a0MPHWCmYgbhifgwIZ'.", "default": "UgkxCWeKPiIOLsnh_5a0MPHWCmYgbhifgwIZ"}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "titles_with_changed_episodes", "description": "Retrieve a listing of titles that have changes to their episodes (new episodes, episode details changed, etc.) within a specified date range.", "parameters": {"type": "object", "properties": {"end_date": {"type": "string", "description": "The end date for the date range to include changes, in the format YYYYMMDD or YYYYMMDDHHMMSS. Hours are in 24-hour format and in Eastern Standard Time. Leading zeros must be used for single-digit values.", "default": ""}, "start_date": {"type": "string", "description": "The start date for the date range to include changes, in the format YYYYMMDD or YYYYMMDDHHMMSS. Hours are in 24-hour format and in Eastern Standard Time. Leading zeros must be used for single-digit values.", "default": ""}, "page": {"type": "string", "description": "The page of results to return. Defaults to 1.", "default": "1"}, "limit": {"type": "string", "description": "The maximum number of results to return per page. Defaults to 50.", "default": "50"}}, "required": ["end_date", "start_date", "page", "limit"]}}}, {"type": "function", "function": {"name": "schedule", "description": "Fetches the TV schedule based on the given parameters.", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "An ISO country code to filter the schedule by country.", "default": ""}, "date": {"type": "string", "description": "An ISO formatted date to filter the schedule for a specific day.", "default": ""}, "filter": {"type": "string", "description": "A filter to specify whether to show only primetime shows. Default is 'primetime'.", "default": "primetime"}}, "required": ["country", "date", "filter"]}}}], "meta": {"source_format": "D", "id": 197}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "受僱於 Apple 的 Emily Davis 的電子郵件地址是什麼?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "emailfinder", "arguments": {"domain": "apple.com", "first_name": "Emily", "last_name": "Davis"}}}]}], "tools": [{"type": "function", "function": {"name": "emailfinder", "description": "Finds the most likely email address based on the provided domain name, first name, and last name using the Tomba RapidAPI.", "parameters": {"type": "object", "properties": {"domain": {"type": "string", "description": "The domain name to search for the email address (e.g., \"stripe.com\").", "default": "stripe.com"}, "first_name": {"type": "string", "description": "The first name of the person.", "default": "Moskoz"}, "last_name": {"type": "string", "description": "The last name of the person.", "default": "Dustin"}}, "required": ["domain", "first_name", "last_name"]}}}], "meta": {"source_format": "D", "id": 198}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請取得加州與全球的冠狀病毒統計資料。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getstats", "arguments": {"location": "US-CA"}}}, {"type": "function", "function": {"name": "getstats", "arguments": {"location": "global"}}}]}], "tools": [{"type": "function", "function": {"name": "sources", "description": "Retrieves available news sources based on specified parameters such as country, language, and category.", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "Find sources that display news in a specific country. Possible options include `us`, `gb`, `in`, `jp`, `ae`, `sa`, `au`, `ca`, `sg`.", "default": ""}, "language": {"type": "string", "description": "Find sources that display news in a specific language. Possible options include `en`, `ar`, `jp`, `in`, `es`, `fr`.", "default": ""}, "category": {"type": "string", "description": "Find sources that display news of a specific category. Possible options include `top`, `business`, `science`, `technology`, `sports`, `health`, `entertainment`.", "default": ""}}, "required": ["country", "language", "category"]}}}, {"type": "function", "function": {"name": "getlearningresourcesbytopic", "description": "Retrieve learning resources by topic from the AI Smartable API.", "parameters": {"type": "object", "properties": {"topic": {"type": "string", "description": "The topic for which to retrieve learning resources.", "default": "machine-learning"}, "page": {"type": "integer", "description": "The page number of the results to fetch.", "default": "1"}}, "required": ["topic", "page"]}}}, {"type": "function", "function": {"name": "getfutureevents", "description": "Fetches future election events for a given page from the Election2020 Smartable API.", "parameters": {"type": "object", "properties": {"page": {"type": "string", "description": "The page number or identifier to fetch specific events.", "default": ""}}, "required": ["page"]}}}, {"type": "function", "function": {"name": "getstats", "description": "Fetches the latest and historical coronavirus statistics data, including confirmed cases, deaths, and recovered cases, for a specified location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "ISO 3166-2 location code (e.g., \"FR\" for France, \"US\" for the United States, \"US-CA\" for California state, or \"global\" for worldwide statistics).", "default": "US"}}, "required": ["location"]}}}], "meta": {"source_format": "D", "id": 199}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "請搜尋託管在 'wikipedia.org' 的頁面,並取得包含時間戳記與原始 URL 的詳細資訊。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "searchdomain", "arguments": {"url": "wikipedia.org", "fl": "timestamp:4,original,urlkey"}}}]}], "tools": [{"type": "function", "function": {"name": "check_email_server", "description": "Checks the status of an email server for a given domain using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"domain": {"type": "string", "description": "The domain of the email server to check.", "default": "microsoft.com"}}, "required": ["domain"]}}}, {"type": "function", "function": {"name": "check", "description": "Checks and returns SSL information for a given domain. Optionally, additional information can be requested by setting the extended property.", "parameters": {"type": "object", "properties": {"domain": {"type": "string", "description": "The domain name to check SSL information for.", "default": "test.com"}, "extended": {"type": "string", "description": "Optional; Set to 'true' for additional information. Default is 'true'.", "default": "true"}}, "required": ["domain", "extended"]}}}, {"type": "function", "function": {"name": "get_daily_domains", "description": "Fetches the daily list of domains containing the specified keyword that were registered in the past day.", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword used to search for newly registered domains. The keyword should not contain any domain name.", "default": "Google"}}, "required": ["keyword"]}}}, {"type": "function", "function": {"name": "searchdomain", "description": "Fetches webpage data from the \"pages-hosted-on-domain\" API based on the provided filters and parameters.", "parameters": {"type": "object", "properties": {"matchtype": {"type": "string", "description": "The type of match to be used. Default is 'prefix'.", "default": "prefix"}, "collapse": {"type": "string", "description": "The field to be collapsed. Default is 'urlkey'.", "default": "urlkey"}, "url": {"type": "string", "description": "The URL to search for. Default is 'httpsimage.com'.", "default": "httpsimage.com"}, "fl": {"type": "string", "description": "The fields to include in the response. Default is 'timestamp:4,original,urlkey'.", "default": "timestamp:4,original,urlkey"}, "limit": {"type": "integer", "description": "The maximum number of results to return. Default is 100000.", "default": "100000"}, "filter": {"type": "string", "description": "The filter to apply to the results. Default is 'statuscode:200'.", "default": "statuscode:200"}}, "required": ["matchtype", "collapse", "url", "fl", "limit", "filter"]}}}, {"type": "function", "function": {"name": "get_all_advisories", "description": "Fetches all advisories providing timely information about current security issues, vulnerabilities, and exploits from CISA.gov.", "parameters": {"type": "object", "properties": {"info": {"type": "string", "description": "Flag to include additional information in the advisories. Defaults to None.", "default": "true"}, "limit": {"type": "string", "description": "The number of advisories to return. Defaults to 2.", "default": "2"}}, "required": ["info", "limit"]}}}, {"type": "function", "function": {"name": "take_screenshot", "description": "Take a screenshot of a webpage with various customizable options and return the URL of the saved image.", "parameters": {"type": "object", "properties": {"targeturl": {"type": "string", "description": "The URL of the webpage to capture.", "default": "https://www.mio-ip.it/"}, "islandscape": {"type": "string", "description": "Specifies if the viewport should be in landscape mode. Default is None.", "default": ""}, "proxycountry": {"type": "string", "description": "The proxy country to route the request through. Default is None.", "default": ""}, "isfullyloaded": {"type": "string", "description": "Specifies whether to consider navigation finished based on no more than 0 network connections for at least 500 ms. Default is None.", "default": ""}, "clickcount": {"type": "string", "description": "Number of times to click on the selector. Default is 1.", "default": "1"}, "fullpage": {"type": "string", "description": "Indicates if the screenshot should cover the entire page from header to footer. Default is None.", "default": ""}, "clickselector": {"type": "string", "description": "CSS selector for the element to click. The element will be scrolled into view before clicking. Default is None.", "default": ""}, "hastouch": {"type": "string", "description": "Specifies if the viewport supports touch events. Default is None.", "default": ""}, "clickdelay": {"type": "string", "description": "Delay (in milliseconds) before each click action. Default is 500.", "default": "500"}, "clickbutton": {"type": "string", "description": "Specifies the mouse button to use for the click action (e.g., 'left' or 'right'). Default is None.", "default": ""}, "devicescalefactor": {"type": "string", "description": "Device scaling factor to use. Default is 1.", "default": "1"}, "ismobile": {"type": "string", "description": "Whether the meta viewport tag should be taken into account. Default is None.", "default": ""}, "pagewidth": {"type": "string", "description": "Width of the browser page in pixels. Default is 1024.", "default": "1024"}, "pageheight": {"type": "string", "description": "Height of the browser page in pixels. Default is 1024.", "default": "1024"}, "removables": {"type": "string", "description": "CSS selectors for HTML elements to be removed before taking the screenshot. Default is None.", "default": ""}}, "required": ["targeturl", "islandscape", "proxycountry", "isfullyloaded", "clickcount", "fullpage", "clickselector", "hastouch", "clickdelay", "clickbutton", "devicescalefactor", "ismobile", "pagewidth", "pageheight", "removables"]}}}, {"type": "function", "function": {"name": "get_current_count", "description": "This function retrieves the current count from a specified API without increasing it. It allows customization through various parameters including `clabel`, `color`, and `idv`. The function makes a GET request to the API and returns the response in JSON format if possible, otherwise, it returns the response text.", "parameters": {"type": "object", "properties": {"clabel": {"type": "string", "description": "A label used to specify a category. Defaults to 'blue'.", "default": "blue"}, "color": {"type": "string", "description": "A color value for the request. Defaults to 'red'.", "default": "red"}, "idv": {"type": "string", "description": "An identifier for the request. Defaults to 'sample'.", "default": "sample"}}, "required": ["clabel", "color", "idv"]}}}], "meta": {"source_format": "D", "id": 200}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "Google 已為 apple.com 與 microsoft.com 索引了多少頁面?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "countpages", "arguments": {"url": "https://www.apple.com"}}}, {"type": "function", "function": {"name": "countpages", "arguments": {"url": "https://www.microsoft.com"}}}]}], "tools": [{"type": "function", "function": {"name": "countpages", "description": "Counts the number of website pages indexed by Google for a given URL using the specified RapidAPI service.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "The URL of the website to check the number of indexed pages.", "default": ""}}, "required": ["url"]}}}], "meta": {"source_format": "D", "id": 201}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請在時區 'America/New_York' 下,使用一般的 user agent,並提供特定的驗證資料,擷取 OnlyFans 最近 100 則群發訊息。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "mass_messages", "arguments": {"timezone": "America/New_York", "useragent": "GenericBrowser 1.0", "auth_id": "123456", "signstart": "2023-01-01T00:00:00Z", "signend": "2023-12-31T23:59:59Z", "sess": "session123", "xbc": "xbc123", "apptoken": "token123"}}}]}], "tools": [{"type": "function", "function": {"name": "io", "description": "Check if an .io domain with the given name is registered using the RapidAPI toolbench API.", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The domain name to check.", "default": "testdomain"}}, "required": ["name"]}}}, {"type": "function", "function": {"name": "wikipedia", "description": "This function checks if a given username exists on Wikipedia using the Toolbench RapidAPI service.", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The username to check on Wikipedia.", "default": "username"}}, "required": ["username"]}}}, {"type": "function", "function": {"name": "mass_messages", "description": "Retrieves the last 100 mass messages from the OnlyFans API.", "parameters": {"type": "object", "properties": {"timezone": {"type": "string", "description": "The timezone to use for the messages.", "default": "America/Los_Angeles"}, "useragent": {"type": "string", "description": "The user agent string identifying the client's browser.", "default": ""}, "auth_id": {"type": "string", "description": "Authentication ID used for accessing the API.", "default": "729369"}, "signstart": {"type": "string", "description": "Start time for the signed request.", "default": ""}, "signend": {"type": "string", "description": "End time for the signed request.", "default": ""}, "sess": {"type": "string", "description": "Session identifier.", "default": ""}, "xbc": {"type": "string", "description": "Another session-related identifier.", "default": ""}, "apptoken": {"type": "string", "description": "Application token for API access.", "default": ""}}, "required": ["timezone", "useragent", "auth_id", "signstart", "signend", "sess", "xbc", "apptoken"]}}}, {"type": "function", "function": {"name": "top_posts_by_subreddit", "description": "Fetches the top posts from a specific subreddit within a given time frame using the Reddit API.", "parameters": {"type": "object", "properties": {"time": {"type": "string", "description": "The time frame for fetching top posts. Options include `hour`, `day`, `week`, `month`, `year`, and `all`.", "default": "year"}, "subreddit": {"type": "string", "description": "The subreddit name from which to fetch top posts, e.g., `memes`.", "default": "memes"}, "cursor": {"type": "string", "description": "A cursor for pagination to fetch additional posts. Defaults to None.", "default": ""}}, "required": ["time", "subreddit", "cursor"]}}}], "meta": {"source_format": "D", "id": 202}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請從 Ghana Food Recipe API 取得 ID 為 'R101' 的食譜,並再取得一個 ID 為 'R202' 的食譜。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_recipe_by_id", "arguments": {"is_id": "R101"}}}, {"type": "function", "function": {"name": "get_recipe_by_id", "arguments": {"is_id": "R202"}}}]}], "tools": [{"type": "function", "function": {"name": "generate_recipe", "description": "This function generates a recipe using an ingredient and a provided RapidAPI key.", "parameters": {"type": "object", "properties": {"ingredient": {"type": "string", "description": "The main ingredient to be used in the recipe. Default is 'chicken'.", "default": "chicken"}}, "required": ["ingredient"]}}}, {"type": "function", "function": {"name": "get_beverage_by_there_id", "description": "Retrieves beverage details by the given beverage ID from the RapidAPI Beverages and Desserts API.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The ID of the beverage to retrieve.", "default": ""}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "get_recipe_by_id", "description": "Fetches a specific recipe by its ID from the Ghana Food Recipe API.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The ID of the recipe to fetch.", "default": "63c2e83b09852be5facb894a"}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 203}} {"messages": [{"role": "system", "content": "您是個樂於助人的助理。"}, {"role": "user", "content": "我想查看大洋洲含影像與位置的網路攝影機,還有 'de/hotel-adlon-kempinski' 的德語相片。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "webcams_list_continent_continent_continent", "arguments": {"continent": "OC", "lang": "en", "show": "webcams:image,location"}}}, {"type": "function", "function": {"name": "stays_properties_detail_photos", "arguments": {"language_code": "de-de", "id_detail": "de/hotel-adlon-kempinski"}}}]}], "tools": [{"type": "function", "function": {"name": "webcams_list_continent_continent_continent", "description": "Fetches a list of webcams for a specified continent.", "parameters": {"type": "object", "properties": {"continent": {"type": "string", "description": "Continent code for which to fetch webcams. Possible values are:", "default": ""}, "lang": {"type": "string", "description": "Language code to localize the results, if available. Default is 'en'.", "default": "en"}, "show": {"type": "string", "description": "Content to be listed in the response. Possible values are:", "default": "webcams:image,location"}}, "required": ["continent", "lang", "show"]}}}, {"type": "function", "function": {"name": "stays_properties_detail_photos", "description": "Fetch detailed photos of a specific property from the stays/properties/detail/photos endpoint using the Booking.com RapidAPI.", "parameters": {"type": "object", "properties": {"language_code": {"type": "string", "description": "The language code to use for the response. Default is 'en-us'.", "default": "en-us"}, "id_detail": {"type": "string", "description": "The ID of the property to fetch detail photos for. Default is 'cr/la-buena-vida-cabinas'.", "default": "cr/la-buena-vida-cabinas"}}, "required": ["language_code", "id_detail"]}}}, {"type": "function", "function": {"name": "webcams_list_limit_limit_offset", "description": "Fetches a list of webcams with optional parameters for result slicing and localization.", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "Maximum number of webcams in the result list. The maximum allowable value is 50.", "default": ""}, "offset": {"type": "string", "description": "Offset for the first item in the result list. Defaults to 0.", "default": "0"}, "lang": {"type": "string", "description": "Language to localize the results. Defaults to 'en'.", "default": "en"}, "show": {"type": "string", "description": "Content fields to be listed in the response. Defaults to 'webcams:image,location'.", "default": "webcams:image,location"}}, "required": ["limit", "offset", "lang", "show"]}}}], "meta": {"source_format": "D", "id": 204}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你可以找到啤酒 '54321' 的詳細資料,並列出從第11個結果開始的 '低碳餐' 食譜嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_beers_by_single_country", "arguments": {"beerid": "54321"}}}, {"type": "function", "function": {"name": "v1_recipe", "arguments": {"query": "低碳餐", "offset": "10"}}}]}], "tools": [{"type": "function", "function": {"name": "get_recipes_details", "description": "Fetches the details of a recipe by its slug using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"slug": {"type": "string", "description": "The unique identifier for the recipe.", "default": "articulo-13-jugos-verdes-para-adelgazar-y-quemar-grasa-71482.html"}}, "required": ["slug"]}}}, {"type": "function", "function": {"name": "v1_recipe", "description": "Fetch a list of recipes for a given search query using the Recipe by API Ninjas service.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query text to find matching recipes.", "default": "italian wedding soup"}, "offset": {"type": "string", "description": "The number of results to offset in order to paginate through the results. Defaults to None.", "default": ""}}, "required": ["query", "offset"]}}}, {"type": "function", "function": {"name": "get_beers_by_single_country", "description": "Fetches the details of a beer from a specified country using the given beer identifier.", "parameters": {"type": "object", "properties": {"beerid": {"type": "string", "description": "The identifier of the beer to fetch details for.", "default": "italy"}}, "required": ["beerid"]}}}], "meta": {"source_format": "D", "id": 205}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助手。"}, {"role": "user", "content": "我需要知道電視節目 'tt0944947' 的技術規格,還有英國的健康新聞。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "title_get_technical", "arguments": {"tconst": "tt0944947"}}}, {"type": "function", "function": {"name": "health", "arguments": {"lr": "en-GB"}}}]}], "tools": [{"type": "function", "function": {"name": "health", "description": "Fetches health-related news from Google News using the provided language region and API key.", "parameters": {"type": "object", "properties": {"lr": {"type": "string", "description": "Language region for the news, e.g., 'en-US'.", "default": "en-US"}}, "required": ["lr"]}}}, {"type": "function", "function": {"name": "getfutureevents", "description": "Fetches future election events for a given page from the Election2020 Smartable API.", "parameters": {"type": "object", "properties": {"page": {"type": "string", "description": "The page number or identifier to fetch specific events.", "default": ""}}, "required": ["page"]}}}, {"type": "function", "function": {"name": "title_get_technical", "description": "Fetches technical information for a movie or TV show using its tconst identifier and RapidAPI key.", "parameters": {"type": "object", "properties": {"tconst": {"type": "string", "description": "The unique identifier for a title, typically starting with 'tt', obtained from endpoints like /title/auto-complete or /title/find.", "default": "tt0944947"}}, "required": ["tconst"]}}}, {"type": "function", "function": {"name": "asoy", "description": "Fetches JSON results for All States, One Year (ASOY) for the specified US Presidential Election year.", "parameters": {"type": "object", "properties": {"year": {"type": "integer", "description": "The election year to retrieve results for (e.g., 2008).", "default": "2000"}}, "required": ["year"]}}}], "meta": {"source_format": "D", "id": 206}} {"messages": [{"role": "system", "content": "你是位樂於助人的助理。"}, {"role": "user", "content": "檢查 'No lemon, no melon' 是否為迴文,並生成一個長度為8的密碼。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "is_palindrome", "arguments": {"text": "No lemon, no melon"}}}, {"type": "function", "function": {"name": "generate_password", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "is_palindrome", "description": "Checks if a string is a palindrome.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input string."}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "flatten_list", "description": "Flattens a nested list into a single-level list.", "parameters": {"type": "object", "properties": {"nested_list": {"type": "array", "description": "The nested list to be flattened."}}, "required": ["nested_list"]}}}, {"type": "function", "function": {"name": "is_armstrong_number", "description": "Checks if a number is an Armstrong number.", "parameters": {"type": "object", "properties": {"num": {"type": "integer", "description": "The number to check."}}, "required": ["num"]}}}, {"type": "function", "function": {"name": "generate_password", "description": "Generates a random password of specified length and character types.", "parameters": {"type": "object", "properties": {"length": {"type": "string", "description": "The length of the password. Defaults to 12.", "default": 12}, "include_special": {"type": "string", "description": "Whether to include special characters in the password. Defaults to True.", "default": true}}, "required": ["length", "include_special"]}}}], "meta": {"source_format": "D", "id": 207}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請問 amazon.com 的 WhoIS 詳細資料為何?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "whois", "arguments": {"domain": "amazon.com"}}}]}], "tools": [{"type": "function", "function": {"name": "whois", "description": "Fetch the WhoIS lookup data for a given domain using the specified Toolbench RapidAPI key.", "parameters": {"type": "object", "properties": {"domain": {"type": "string", "description": "The domain name for which to retrieve the WhoIS data.", "default": "peekdomain.com"}}, "required": ["domain"]}}}, {"type": "function", "function": {"name": "check", "description": "Checks and returns SSL information for a given domain. Optionally, additional information can be requested by setting the extended property.", "parameters": {"type": "object", "properties": {"domain": {"type": "string", "description": "The domain name to check SSL information for.", "default": "test.com"}, "extended": {"type": "string", "description": "Optional; Set to 'true' for additional information. Default is 'true'.", "default": "true"}}, "required": ["domain", "extended"]}}}, {"type": "function", "function": {"name": "newlyregistereddomains", "description": "Fetch a list of newly registered domains from a REST API.", "parameters": {"type": "object", "properties": {"page": {"type": "string", "description": "The page number of domains to retrieve. Default is 1.", "default": 1}, "exclude": {"type": "string", "description": "Keywords to exclude from the domain search. Default is None.", "default": ""}, "date": {"type": "string", "description": "The registration date of the domains to be searched in 'YYYY-MM-DD' format. Default is '2023-06-12'.", "default": "2023-06-12"}, "keywords": {"type": "string", "description": "Keywords that must be included in the domain search. Default is None.", "default": ""}}, "required": ["page", "exclude", "date", "keywords"]}}}], "meta": {"source_format": "D", "id": 208}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請算出 11111111 和 10101010 的二進位和,還有 10000000 和 11001100 的二進位和。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "binary_addition", "arguments": {"a": "11111111", "b": "10101010"}}}, {"type": "function", "function": {"name": "binary_addition", "arguments": {"a": "10000000", "b": "11001100"}}}]}], "tools": [{"type": "function", "function": {"name": "binary_addition", "description": "Adds two binary numbers and returns the result as a binary string.", "parameters": {"type": "object", "properties": {"a": {"type": "string", "description": "The first binary number."}, "b": {"type": "string", "description": "The second binary number."}}, "required": ["a", "b"]}}}], "meta": {"source_format": "D", "id": 209}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "180 的質因數有哪些?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "prime_factorization", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "prime_factorization", "description": "Computes the prime factorization of a positive integer.", "parameters": {"type": "object", "properties": {"number": {"type": "integer", "description": "The positive integer to factorize."}}, "required": ["number"]}}}, {"type": "function", "function": {"name": "greatest_common_divisor", "description": "Computes the greatest common divisor (GCD) of two non-negative integers.", "parameters": {"type": "object", "properties": {"a": {"type": "integer", "description": "The first non-negative integer."}, "b": {"type": "integer", "description": "The second non-negative integer."}}, "required": ["a", "b"]}}}, {"type": "function", "function": {"name": "calculate_angle", "description": "Calculates the angle between the hour and minute hands of a clock.", "parameters": {"type": "object", "properties": {"hour": {"type": "integer", "description": "The hour value (1-12)."}, "minute": {"type": "integer", "description": "The minute value (0-59)."}}, "required": ["hour", "minute"]}}}], "meta": {"source_format": "D", "id": 210}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請計算半徑為 1.5 公尺的圓面積。另外,也請找出半徑為 3 公尺的圓面積。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "circle_area", "arguments": {}}}, {"type": "function", "function": {"name": "circle_area", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "circle_area", "description": "Computes the area of a circle given its radius.", "parameters": {"type": "object", "properties": {"radius": {"type": "number", "description": "The radius of the circle."}}, "required": ["radius"]}}}], "meta": {"source_format": "D", "id": 211}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "我需要 2023 年 3 月 1 日至 2023 年 3 月 15 日歐元(EUR)對美元(USD)的歷史匯率。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "time_series", "arguments": {"base": "EUR", "symbols": "USD", "end_date": "2023-03-15", "start_date": "2023-03-01"}}}]}], "tools": [{"type": "function", "function": {"name": "news_list_by_ticker", "description": "Retrieves a list of news articles for a specified ticker ID from the Webull API.", "parameters": {"type": "object", "properties": {"tickerid": {"type": "integer", "description": "The unique identifier for the ticker.", "default": "913256135"}, "pagesize": {"type": "string", "description": "The number of news articles to retrieve per page. Default is 20, maximum is 20.", "default": "20"}, "currentnewsid": {"type": "string", "description": "The ID of the last news article returned in the previous request. Pass 0 for the first query. Default is 0.", "default": "0"}}, "required": ["tickerid", "pagesize", "currentnewsid"]}}}, {"type": "function", "function": {"name": "industries_list_best_performing", "description": "Retrieves a list of the best performing industries for a given region.", "parameters": {"type": "object", "properties": {"regionid": {"type": "integer", "description": "The ID of the region for which to list best performing industries.", "default": "6"}, "industrytype": {"type": "string", "description": "The time period for evaluating industry performance. One of 'today', '5d', '1m', or '3m'. Default is 'today'.", "default": "today"}, "pagesize": {"type": "string", "description": "The number of results per page. Maximum is 20. Default is 20.", "default": "20"}, "pageindex": {"type": "string", "description": "The index of the page to retrieve. Default is 1.", "default": "1"}, "direction": {"type": "string", "description": "The order direction of the results. Use -1 for descending and 1 for ascending. Default is -1.", "default": "-1"}}, "required": ["regionid", "industrytype", "pagesize", "pageindex", "direction"]}}}, {"type": "function", "function": {"name": "get_equity_latest_data", "description": "Fetches the latest equity data for a given equity slug.", "parameters": {"type": "object", "properties": {"slug": {"type": "string", "description": "The unique identifier for the equity, retrieved from screener results.", "default": "saudi-aramco"}, "lang": {"type": "string", "description": "Language code for the data. Defaults to 'en'.", "default": "en"}}, "required": ["slug", "lang"]}}}, {"type": "function", "function": {"name": "time_series", "description": "Fetch the daily historical rates for a given base and target currency or metal between specified start and end dates from the TimeSeries API. The function is limited to a maximum range of 365 days and can query only one symbol per request.", "parameters": {"type": "object", "properties": {"base": {"type": "string", "description": "The three-letter currency code or metal code of the base currency.", "default": "USD"}, "symbols": {"type": "string", "description": "The three-letter currency code or metal code of the target currency.", "default": "XAU"}, "end_date": {"type": "string", "description": "The end date of the timeframe in 'YYYY-MM-DD' format.", "default": "2023-01-10"}, "start_date": {"type": "string", "description": "The start date of the timeframe in 'YYYY-MM-DD' format.", "default": "2022-12-20"}}, "required": ["base", "symbols", "end_date", "start_date"]}}}], "meta": {"source_format": "D", "id": 212}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "BNB 現在的價格是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_realtime_rates", "arguments": {"symbol": "BNB"}}}]}], "tools": [{"type": "function", "function": {"name": "get_funding_rate_history", "description": "Retrieve the funding rate history for a specific derivative product category over a given time interval.", "parameters": {"type": "object", "properties": {"interval": {"type": "string", "description": "Kline interval. Possible values are: 1, 3, 5, 15, 30, 60, 120, 240, 360, 720, \"D\" (day), \"M\" (month), \"W\" (week).", "default": "D"}, "start": {"type": "integer", "description": "Start timestamp point for the result, in milliseconds.", "default": "1652112000000"}, "category": {"type": "string", "description": "Derivatives products category. Possible values are \"linear\" and \"inverse\".", "default": "linear"}, "end": {"type": "integer", "description": "End timestamp point for the result, in milliseconds.", "default": "1652544000000"}, "symbol": {"type": "string", "description": "Symbol of the derivative product.", "default": "BTCUSDT"}, "limit": {"type": "string", "description": "Limit for data size per page, max size is 200. Defaults to showing 200 pieces of data per page.", "default": ""}}, "required": ["interval", "start", "category", "end", "symbol", "limit"]}}}, {"type": "function", "function": {"name": "get_realtime_rates", "description": "Gets the real-time price of a specified cryptocurrency coin using RapidAPI.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The symbol of the cryptocurrency coin (e.g., 'BTC' for Bitcoin).", "default": "BTC"}}, "required": ["symbol"]}}}], "meta": {"source_format": "D", "id": 213}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請提供產品 ID 為 987654321 在美國市場的商品資訊。另外,請驗證 'user@temp-mail.com'。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "product_id", "arguments": {"country": "US"}}}, {"type": "function", "function": {"name": "emailvalidation", "arguments": {"email": "user@temp-mail.com"}}}]}], "tools": [{"type": "function", "function": {"name": "product_id", "description": "Fetches product details from the AliExpress API using the provided product ID and optional parameters.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the product to fetch details for.", "default": "4000886597329"}, "locale": {"type": "string", "description": "The locale to be used for the request (e.g., 'en_US').", "default": ""}, "currency": {"type": "string", "description": "The currency for price conversion (e.g., 'USD').", "default": ""}, "country": {"type": "string", "description": "The country for regional adjustments (e.g., 'US').", "default": ""}}, "required": ["is_id", "locale", "currency", "country"]}}}, {"type": "function", "function": {"name": "emailvalidation", "description": "Validates whether the given email address is disposable or not by using the Toolbench RapidAPI service.", "parameters": {"type": "object", "properties": {"email": {"type": "string", "description": "The email address to be validated.", "default": "info@peekdomain.com"}}, "required": ["email"]}}}, {"type": "function", "function": {"name": "getproductbycategory", "description": "Retrieves products from a given category using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of the product to search for.", "default": "Phones"}}, "required": ["category"]}}}], "meta": {"source_format": "D", "id": 214}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "price_by_symbol", "arguments": {"input": "TSLA"}}}, {"type": "function", "function": {"name": "stock_earnings", "arguments": {"symbol": "FB"}}}]}], "tools": [{"type": "function", "function": {"name": "price_by_symbol", "description": "Fetches the live price of a stock by its symbol.", "parameters": {"type": "object", "properties": {"input": {"type": "string", "description": "The stock symbol to query.", "default": "AAPL"}}, "required": ["input"]}}}, {"type": "function", "function": {"name": "stock_earnings", "description": "Retrieve earnings information for a particular stock symbol using the Yahoo Finance API.", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol for which to retrieve earnings information.", "default": "AAPL"}}, "required": ["symbol"]}}}], "meta": {"source_format": "D", "id": 215}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "判斷 92727 是否為阿姆斯壯數(Armstrong number)。另外,計算一名學生在成績 80、85、90、95,且各科權重分別為 0.2、0.2、0.3 和 0.3 時的加權平均成績。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "is_armstrong_number", "arguments": {}}}, {"type": "function", "function": {"name": "calculate_grade", "arguments": {}}}]}, {"role": "assistant", "content": ", weights=[0.2, 0.2, 0.3, 0.3])]"}], "tools": [{"type": "function", "function": {"name": "is_armstrong_number", "description": "Checks if a number is an Armstrong number.", "parameters": {"type": "object", "properties": {"num": {"type": "integer", "description": "The number to check."}}, "required": ["num"]}}}, {"type": "function", "function": {"name": "calculate_grade", "description": "Calculates the weighted average grade based on scores and their corresponding weights.", "parameters": {"type": "object", "properties": {"scores": {"type": "string", "description": "A list of scores."}, "weights": {"type": "string", "description": "A list of weights corresponding to each score."}}, "required": ["scores", "weights"]}}}], "meta": {"source_format": "D", "id": 216}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你可以取得 2020-09-19(2020 年 9 月 19 日)和 2021-10-15(2021 年 10 月 15 日)的 Billboard Global Excl. US 排行榜嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "billboard_global_excl_us", "arguments": {"date": "2020-09-19"}}}, {"type": "function", "function": {"name": "billboard_global_excl_us", "arguments": {"date": "2021-10-15"}}}]}], "tools": [{"type": "function", "function": {"name": "billboard_global_excl_us", "description": "Fetches the Billboard Global Excl. US chart for a specified date using the RapidAPI service.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "The date for which to retrieve the Billboard Global Excl. US chart, formatted as 'YYYY-MM-DD'. Available data starts from September 19, 2020.", "default": "2020-09-19"}}, "required": ["date"]}}}], "meta": {"source_format": "D", "id": 217}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請計算由1庫倫電荷在距離1公尺處所產生的電場。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "calculate_electric_field", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "calculate_electric_field", "description": "Calculate the electric field produced by a charge at a certain distance.", "parameters": {"type": "object", "properties": {"charge": {"type": "integer", "description": "Charge in coulombs producing the electric field.", "default": 8.854e-12}, "distance": {"type": "integer", "description": "Distance from the charge in meters where the field is being measured.", "default": 8.854e-12}, "permitivity": {"type": "number", "description": "Permitivity of the space where field is being calculated, default is 8.854e-12."}}, "required": ["permitivity"]}}}, {"type": "function", "function": {"name": "cosine_similarity", "description": "Calculates the cosine similarity between two vectors.", "parameters": {"type": "object", "properties": {"vector_a": {"type": "string", "description": "The first vector."}, "vector_b": {"type": "string", "description": "The second vector."}}, "required": ["vector_a", "vector_b"]}}}], "meta": {"source_format": "D", "id": 218}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "你能提供波士頓棕熊(Boston Bruins)2019–2020賽季的陣容,以及UFC 250賽事的統計資料嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getteamroster", "arguments": {}}}, {"type": "function", "function": {"name": "eventstatistics", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "getteamroster", "description": "Retrieves the roster of a hockey team for a given season using the RapidAPI NHL Stats and Live Data API.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the team for which to retrieve the roster.", "default": 28}, "season": {"type": "string", "description": "The season for which to retrieve the roster. Defaults to 20172018.", "default": 20172018}}, "required": ["is_id", "season"]}}}, {"type": "function", "function": {"name": "eventstatistics", "description": "Fetch statistics for a specific MMA event using the given event ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the MMA event for which to fetch statistics.", "default": 11243946}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "games_esports", "description": "Fetches information about esports games for a given event ID using the SofaSport API.", "parameters": {"type": "object", "properties": {"event_id": {"type": "integer", "description": "The ID of the event to retrieve esports games for.", "default": "10289011"}}, "required": ["event_id"]}}}, {"type": "function", "function": {"name": "prematch", "description": "Fetches the prematch list from the Sports Betting API.", "parameters": {"type": "object", "properties": {"sp": {"type": "integer", "description": "The sport ID.", "default": ""}, "lang": {"type": "string", "description": "The language code.", "default": "en"}, "lid": {"type": "integer", "description": "The league ID.", "default": ""}}, "required": ["sp", "lang", "lid"]}}}, {"type": "function", "function": {"name": "matches_v2_list_live", "description": "Fetches a list of available live matches for a given sports category.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The sports category to retrieve live matches for. Options include 'soccer', 'cricket', 'basketball', 'tennis', 'hockey'.", "default": "soccer"}, "timezone": {"type": "string", "description": "The timezone offset to be applied to match timings. Range includes -11 to 14 in 0.25 increments. Default is -7.", "default": "-7"}}, "required": ["category", "timezone"]}}}, {"type": "function", "function": {"name": "matchodds", "description": "Retrieves the odds for a specific cricket match using the given match ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the cricket match for which to retrieve odds.", "default": 11067865}}, "required": ["is_id"]}}}, {"type": "function", "function": {"name": "basketball_match_statistics", "description": "Fetches statistics for a given basketball match using the RapidAPI sports live scores service.", "parameters": {"type": "object", "properties": {"match_id": {"type": "string", "description": "The identifier for the basketball match. Match IDs can be retrieved from the Basketball Live Matches endpoint.", "default": "10314704"}}, "required": ["match_id"]}}}], "meta": {"source_format": "D", "id": 219}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "我需要這些新聞的詳細資訊:'9999999999'、'8888888888',以及可能的 '7777777777'。但最後一個可能是打錯了,不確定。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "kompas_detail", "arguments": {"guid": "9999999999"}}}, {"type": "function", "function": {"name": "kompas_detail", "arguments": {"guid": "8888888888"}}}, {"type": "function", "function": {"name": "kompas_detail", "arguments": {"guid": "7777777777"}}}]}], "tools": [{"type": "function", "function": {"name": "kompas_detail", "description": "Fetches detailed information from the Kompas news API using a specified GUID.", "parameters": {"type": "object", "properties": {"guid": {"type": "string", "description": "The unique identifier for the news article to fetch details for.", "default": ".xml.2023.06.20.114935178"}}, "required": ["guid"]}}}], "meta": {"source_format": "D", "id": 220}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "你可以從目錄中取得前10項產品,並檢查 'example.com' 是否位於 CDN 背後嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_products", "arguments": {}}}, {"type": "function", "function": {"name": "isbehindcdn", "arguments": {"domainname": "example.com"}}}]}], "tools": [{"type": "function", "function": {"name": "get_products", "description": "Fetches a list of products from an external API with optional query parameters for limiting and skipping items in the response.", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "The number of products to return.", "default": ""}, "skip": {"type": "integer", "description": "The number of products to skip in the response.", "default": ""}}, "required": ["limit", "skip"]}}}, {"type": "function", "function": {"name": "isbehindcdn", "description": "Checks if a domain is fronted by a CDN provider using the RapidAPI service.", "parameters": {"type": "object", "properties": {"domainname": {"type": "string", "description": "The domain name to be checked.", "default": "example.com"}}, "required": ["domainname"]}}}, {"type": "function", "function": {"name": "check_a_url", "description": "Check if a given URL is a known phishing attempt using the Exerra Phishing Check API.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "The URL to be checked. Must be a valid HTTP(s) URL or a 400 error will be returned.", "default": "https://exerra.xyz"}}, "required": ["url"]}}}, {"type": "function", "function": {"name": "convert_hsl", "description": "Converts an HSL color code to other color codes such as Hex, RGB, and CMYK using the Convexity API.", "parameters": {"type": "object", "properties": {"s": {"type": "integer", "description": "The saturation component of the HSL color code.", "default": "78"}, "h": {"type": "integer", "description": "The hue component of the HSL color code.", "default": "250"}, "l": {"type": "integer", "description": "The lightness component of the HSL color code.", "default": "45"}}, "required": ["s", "h", "l"]}}}], "meta": {"source_format": "D", "id": 221}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請檢索使用者名稱為 'TechGuru123' 的使用者詳細資料。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getuserbyname", "arguments": {"username": "TechGuru123"}}}]}], "tools": [{"type": "function", "function": {"name": "getuserbyname", "description": "Fetches user details by username from the specified API endpoint using the provided RapidAPI key.", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The username of the user to fetch details for.", "default": ""}}, "required": ["username"]}}}, {"type": "function", "function": {"name": "get_all_companies_paginated", "description": "Fetches a paginated list of all companies from the CAC database using the provided API key.", "parameters": {"type": "object", "properties": {"page": {"type": "integer", "description": "The page number to fetch.", "default": "1"}, "limit": {"type": "integer", "description": "The number of companies to retrieve per page.", "default": "10"}}, "required": ["page", "limit"]}}}], "meta": {"source_format": "D", "id": 222}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請將二進位數 '10110' 與 '11011' 相加,並從列表 [15, 12, 18, 14, 16, 13, 17, 11, 19] 中找出四個最大的數。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "binary_addition", "arguments": {"a": "10110", "b": "11011"}}}, {"type": "function", "function": {"name": "find_n_largest_numbers", "arguments": {}}}]}, {"role": "assistant", "content": ", n=4)]"}], "tools": [{"type": "function", "function": {"name": "binary_addition", "description": "Adds two binary numbers and returns the result as a binary string.", "parameters": {"type": "object", "properties": {"a": {"type": "string", "description": "The first binary number."}, "b": {"type": "string", "description": "The second binary number."}}, "required": ["a", "b"]}}}, {"type": "function", "function": {"name": "find_n_largest_numbers", "description": "Finds the n largest numbers in a list.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of numbers."}, "n": {"type": "integer", "description": "The number of largest numbers to find."}}, "required": ["n", "nums"]}}}], "meta": {"source_format": "D", "id": 223}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "請從「紐約時報」來源取得最新新聞。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "by_source_new", "arguments": {"source": "紐約時報"}}}]}], "tools": [{"type": "function", "function": {"name": "tag_news", "description": "Fetch the latest news stories for a given tag using the BizToc RapidAPI.", "parameters": {"type": "object", "properties": {"tag": {"type": "string", "description": "The tag for which to fetch the latest news stories.", "default": "apple"}}, "required": ["tag"]}}}, {"type": "function", "function": {"name": "overview", "description": "Fetches summary statistics from the Papercliff API regarding the number of keywords found, and the number of articles and agencies reviewed.", "parameters": {"type": "object", "properties": {"is_from": {"type": "string", "description": "Narrows down the results to articles published after the provided date-time. The format should be `yyyy-MM-dd'T'HH:mm`. Example value: `2022-09-18T13:45`. Date-times older than a week do not affect the result.", "default": ""}, "to": {"type": "string", "description": "Narrows down the results to articles published before the provided date-time. The format should be `yyyy-MM-dd'T'HH:mm`. Example value: `2022-09-18T15:30`. Date-times in the future do not affect the result.", "default": ""}, "terms": {"type": "string", "description": "Narrows down the results to articles that contain all the provided keywords. The terms should consist of one to three words separated by a dash. Example value: `election-campaign`.", "default": ""}}, "required": ["is_from", "to", "terms"]}}}, {"type": "function", "function": {"name": "by_source_new", "description": "Fetch the most recent 50 news items from a specific source using the Moka News API.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The news source from which to retrieve the news items, taken from the available sources list.", "default": "cnn"}}, "required": ["source"]}}}, {"type": "function", "function": {"name": "search", "description": "Searches for news from Google News based on the specified keyword.", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The mandatory parameter to specify the search term for querying news.", "default": "facebook"}, "lr": {"type": "string", "description": "Language region for the news search (e.g., 'en-US'). Defaults to 'en-US'.", "default": "en-US"}}, "required": ["keyword", "lr"]}}}, {"type": "function", "function": {"name": "latest_news", "description": "Fetches the latest news and stories from different sources.", "parameters": {"type": "object", "properties": {"limit": {"type": "string", "description": "The maximum number of news items to be returned. Default is 5.", "default": "5"}}, "required": ["limit"]}}}, {"type": "function", "function": {"name": "by_category", "description": "Fetches the recent 50 news articles by category using the specified RapidAPI key.", "parameters": {"type": "object", "properties": {"cat": {"type": "string", "description": "The category of the news to fetch, e.g., 'Sport', 'World', etc.", "default": "Sport"}}, "required": ["cat"]}}}, {"type": "function", "function": {"name": "get_articles", "description": "Fetch and filter Google News articles based on various criteria.", "parameters": {"type": "object", "properties": {"language": {"type": "string", "description": "The language code for the articles (e.g., 'EN' for English). Supported languages are: TR, EN, FR, DE, IT, ZH, ES, RU, KO, PT.", "default": ""}, "sort": {"type": "string", "description": "The sorting criterion for the articles. Possible values are 'date:asc', 'date:desc', '_score:asc', and '_score:desc'.", "default": ""}, "required_props": {"type": "string", "description": "Comma-separated list of required properties that an article must have to be included in the results (e.g., 'title,image').", "default": ""}, "cursor": {"type": "string", "description": "The cursor value for pagination, allowing navigation to the next set of articles.", "default": ""}, "to": {"type": "string", "description": "The ISO 8601 date string (YYYY-MM-DDTHH:mm:ss) specifying the end date for the articles.", "default": ""}, "limit": {"type": "string", "description": "The maximum number of articles to retrieve per request. The maximum limit is 100.", "default": ""}, "is_from": {"type": "string", "description": "The ISO 8601 date string (YYYY-MM-DDTHH:mm:ss) specifying the start date for the articles.", "default": ""}, "q": {"type": "string", "description": "The search query string to find specific articles. Use 'AND'/'OR' for multiple terms and '-' to exclude terms.", "default": ""}}, "required": ["language", "sort", "required_props", "cursor", "to", "limit", "is_from", "q"]}}}], "meta": {"source_format": "D", "id": 224}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "請檢查 admin@domain 是否有效。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "is_valid_email", "arguments": {"email": "admin@domain"}}}]}], "tools": [{"type": "function", "function": {"name": "is_valid_email", "description": "Checks if an email address is valid.", "parameters": {"type": "object", "properties": {"email": {"type": "string", "description": "The email address to validate."}}, "required": ["email"]}}}], "meta": {"source_format": "D", "id": 225}} {"messages": [{"role": "system", "content": "你是位樂於助人的助理。"}, {"role": "user", "content": "列表 [5, 28, 19, 35, 40, 12, 22] 中最大的三個數字是哪些?以及一個初速度為 10 m/s、加速度為 5 m/s²、持續 3 秒的物體的末速度是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "find_n_largest_numbers", "arguments": {}}}, {"type": "function", "function": {"name": "final_velocity", "arguments": {}}}]}, {"role": "assistant", "content": ", n=3), final_velocity(initial_velocity=10, acceleration=5, time=3)]"}], "tools": [{"type": "function", "function": {"name": "std_deviation", "description": "Calculates the standard deviation of a list of numbers.", "parameters": {"type": "object", "properties": {"numbers": {"type": "string", "description": "The list of numbers."}}, "required": ["numbers"]}}}, {"type": "function", "function": {"name": "find_peak_element", "description": "Finds a peak element in a list of integers.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of integers."}}, "required": ["nums"]}}}, {"type": "function", "function": {"name": "count_bits", "description": "Counts the number of set bits (1's) in the binary representation of a number.", "parameters": {"type": "object", "properties": {"num": {"type": "integer", "description": "The input number."}}, "required": ["num"]}}}, {"type": "function", "function": {"name": "least_common_multiple", "description": "Computes the least common multiple (LCM) of two positive integers.", "parameters": {"type": "object", "properties": {"a": {"type": "integer", "description": "The first positive integer."}, "b": {"type": "integer", "description": "The second positive integer."}}, "required": ["a", "b"]}}}, {"type": "function", "function": {"name": "find_n_largest_numbers", "description": "Finds the n largest numbers in a list.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of numbers."}, "n": {"type": "integer", "description": "The number of largest numbers to find."}}, "required": ["n", "nums"]}}}, {"type": "function", "function": {"name": "final_velocity", "description": "Calculates the final velocity of an object given its initial velocity, acceleration, and time.", "parameters": {"type": "object", "properties": {"initial_velocity": {"type": "number", "description": "The initial velocity of the object."}, "acceleration": {"type": "number", "description": "The acceleration of the object."}, "time": {"type": "number", "description": "The time elapsed."}}, "required": ["acceleration", "initial_velocity", "time"]}}}, {"type": "function", "function": {"name": "fibonacci_numbers", "description": "Generates the first n Fibonacci numbers.", "parameters": {"type": "object", "properties": {"n": {"type": "integer", "description": "The number of Fibonacci numbers to generate."}}, "required": ["n"]}}}], "meta": {"source_format": "D", "id": 226}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能提供主帳戶和子帳戶 ID 999 在整個 2022 年的分析數據嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_analytics", "arguments": {"p": "your_api_key", "start": "2022-01-01", "end": "2022-12-31", "subaccounts": "only_main"}}}, {"type": "function", "function": {"name": "get_analytics", "arguments": {"p": "your_api_key", "start": "2022-01-01", "end": "2022-12-31", "subaccounts": "999"}}}]}], "tools": [{"type": "function", "function": {"name": "get_analytics", "description": "Retrieve detailed statistics for your account using the specified parameters through the API.", "parameters": {"type": "object", "properties": {"p": {"type": "string", "description": "The API Key to authenticate the API request.", "default": ""}, "start": {"type": "string", "description": "The start date for the statistics in the format YYYY-MM-DD. Defaults to 30 days ago if not specified.", "default": ""}, "label": {"type": "string", "description": "Filter data by a specific label. Allowed values: 'all' (default) or a specific label.", "default": "all"}, "end": {"type": "string", "description": "The end date for the statistics in the format YYYY-MM-DD. Defaults to the current date if not specified.", "default": ""}, "subaccounts": {"type": "string", "description": "Specifies which account data to retrieve. Allowed values: 'only_main' (default), 'all', or a specific subaccount ID.", "default": "only_main"}, "group_by": {"type": "string", "description": "Specifies the grouping of the data.", "default": ""}}, "required": ["p", "start", "label", "end", "subaccounts", "group_by"]}}}, {"type": "function", "function": {"name": "get_webhooks", "description": "Retrieves all existing webhooks using the provided API key and optional RapidAPI key.", "parameters": {"type": "object", "properties": {"p": {"type": "string", "description": "API key from Sms77.io.", "default": ""}}, "required": ["p"]}}}], "meta": {"source_format": "D", "id": 227}} {"messages": [{"role": "system", "content": "你是位樂於助人的助理。"}, {"role": "user", "content": "你能提供郵遞區號 20001 和 20002 的交易明細嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "transactions", "arguments": {"zipcode": "20001"}}}, {"type": "function", "function": {"name": "transactions", "arguments": {"zipcode": "20002"}}}]}], "tools": [{"type": "function", "function": {"name": "transactions", "description": "python", "parameters": {"type": "object", "properties": {"zipcode": {"type": "string", "description": "The zipcode for which the transaction data is to be retrieved.", "default": "10019"}, "page": {"type": "string", "description": "The page number for pagination. Defaults to '1'.", "default": "1"}}, "required": ["zipcode", "page"]}}}], "meta": {"source_format": "D", "id": 228}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}, {"role": "user", "content": "你能提供 Amazon.com Inc.(AMZN)和 Alphabet Inc.(GOOGL)的關鍵統計資料嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "key_statistics", "arguments": {"ticker": "AMZN"}}}, {"type": "function", "function": {"name": "key_statistics", "arguments": {"ticker": "GOOGL"}}}]}], "tools": [{"type": "function", "function": {"name": "key_statistics", "description": "Fetches key statistics for a given stock ticker using the Toolbench RapidAPI service.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string", "description": "The stock ticker symbol to retrieve key statistics for.", "default": "AAPL"}}, "required": ["ticker"]}}}], "meta": {"source_format": "D", "id": 229}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助手。"}, {"role": "user", "content": "你能判定 [5, 5, 5, 1, 1, 2, 2] 中的眾數(出現次數超過 ⌊n / 2⌋ 的元素)嗎,並且產生一個長度為 16 且不包含特殊字元的密碼嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "find_majority_element", "arguments": {}}}, {"type": "function", "function": {"name": "generate_password", "arguments": {}}}]}, {"role": "assistant", "content": "), generate_password(length=16, include_special=false)]"}], "tools": [{"type": "function", "function": {"name": "find_majority_element", "description": "Finds the majority element in a list, which appears more than ⌊n / 2⌋ times.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The input list of integers."}}, "required": ["nums"]}}}, {"type": "function", "function": {"name": "find_missing_number", "description": "Finds the missing number in a list of integers from 0 to n.", "parameters": {"type": "object", "properties": {"nums": {"type": "string", "description": "The list of integers."}}, "required": ["nums"]}}}, {"type": "function", "function": {"name": "generate_password", "description": "Generates a random password of specified length and character types.", "parameters": {"type": "object", "properties": {"length": {"type": "string", "description": "The length of the password. Defaults to 12.", "default": 12}, "include_special": {"type": "string", "description": "Whether to include special characters in the password. Defaults to True.", "default": true}}, "required": ["length", "include_special"]}}}], "meta": {"source_format": "D", "id": 230}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "檢查電子郵件 'info@example.org' 的有效性,並從網站 'https://www.another-example.com' 擷取所有電子郵件地址。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "email_checker", "arguments": {"email": "info@example.org"}}}, {"type": "function", "function": {"name": "get_emails", "arguments": {"url": "https://www.another-example.com"}}}]}], "tools": [{"type": "function", "function": {"name": "email_checker", "description": "Checks whether the provided email is valid or disposable using the RapidAPI service.", "parameters": {"type": "object", "properties": {"email": {"type": "string", "description": "The email address to be verified.", "default": "rahul@gmail.com"}}, "required": ["email"]}}}, {"type": "function", "function": {"name": "get_emails", "description": "Retrieve emails from a given URL using the Toolbench RapidAPI service.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "The URL from which to extract email addresses.", "default": "https://google.com"}}, "required": ["url"]}}}], "meta": {"source_format": "D", "id": 231}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "查詢 IP 位址 '8.8.8.8' 的詳細資料,以及柏林的當前時間。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "v1_iplookup", "arguments": {"address": "8.8.8.8"}}}, {"type": "function", "function": {"name": "v1_worldtime", "arguments": {"city": "柏林"}}}]}], "tools": [{"type": "function", "function": {"name": "get_all_data_on_an_establishment_by_restaurant", "description": "Fetches all data on an establishment by restaurant name using the Wyre Data API.", "parameters": {"type": "object", "properties": {"restaurant": {"type": "string", "description": "The name or identifier of the restaurant.", "default": "Shovels Inn"}}, "required": ["restaurant"]}}}, {"type": "function", "function": {"name": "code_postal_par_code", "description": "Fetches information associated with a given postal code in New Caledonia using the RapidAPI service.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "The postal code for which to retrieve information.", "default": "98827"}}, "required": ["code"]}}}, {"type": "function", "function": {"name": "reverse_geocode", "description": "Performs reverse geocoding in Ghana by providing latitude and longitude coordinates. Returns the name of the city where the location is situated.", "parameters": {"type": "object", "properties": {"lon": {"type": "string", "description": "The longitude of the location.", "default": "-0.1870"}, "lat": {"type": "string", "description": "The latitude of the location.", "default": "5.6037"}}, "required": ["lon", "lat"]}}}, {"type": "function", "function": {"name": "v1_iplookup", "description": "Performs an IP address lookup using the API Ninjas IP Lookup API.", "parameters": {"type": "object", "properties": {"address": {"type": "string", "description": "The IP address to query. Must be in the format A.B.C.D (e.g., 73.9.149.180).", "default": "24.48.0.3"}}, "required": ["address"]}}}, {"type": "function", "function": {"name": "v1_worldtime", "description": "Fetches the current date and time from the API Ninjas World Time API for a specified location.", "parameters": {"type": "object", "properties": {"timezone": {"type": "string", "description": "Timezone of the desired location (e.g., 'Europe/London').", "default": ""}, "lon": {"type": "string", "description": "Longitude of the desired location.", "default": ""}, "lat": {"type": "string", "description": "Latitude of the desired location.", "default": ""}, "state": {"type": "string", "description": "US state name or 2-letter abbreviation (for United States cities only).", "default": ""}, "country": {"type": "string", "description": "Country name or 2-letter country code.", "default": ""}, "city": {"type": "string", "description": "City name.", "default": "London"}}, "required": ["timezone", "lon", "lat", "state", "country", "city"]}}}], "meta": {"source_format": "D", "id": 232}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請查詢 2023 年 6 月 30 日的印尼盾(IDR)兌日圓(JPY)匯率,並從「Sports」類別的第 10 件商品開始擷取 12 件商品。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "t2g_kurs_check", "arguments": {"date": "2023-06-30", "valuta": "JPY"}}}, {"type": "function", "function": {"name": "get_products_in_category", "arguments": {"category": "Sports"}}}]}], "tools": [{"type": "function", "function": {"name": "t2g_kurs_check", "description": "Checks the exchange rate of IDR to another currency on a given date.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "The date for which to check the exchange rate, in the format 'YYYY-MM-DD'.", "default": ""}, "valuta": {"type": "string", "description": "The currency to which IDR exchange rate is checked.", "default": ""}}, "required": ["date", "valuta"]}}}, {"type": "function", "function": {"name": "get_products_in_category", "description": "Fetches products in a specified category from a remote catalog using the RapidAPI service.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category from which to fetch products.", "default": ""}, "limit": {"type": "integer", "description": "The number of products to retrieve.", "default": ""}, "skip": {"type": "integer", "description": "The number of products to skip before starting to retrieve.", "default": ""}}, "required": ["category", "limit", "skip"]}}}], "meta": {"source_format": "D", "id": 233}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "我需要生酮早餐的食譜。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "all_keto_recipes_by_category", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "all_keto_recipes_by_category", "description": "Fetches all keto recipes by category ID from the Keto Diet API.", "parameters": {"type": "object", "properties": {"category": {"type": "integer", "description": "The ID of the recipe category to fetch.", "default": "2"}}, "required": ["category"]}}}], "meta": {"source_format": "D", "id": 234}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "你能找出任何包含「古典」一詞的電台類型嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "get_genres", "arguments": {"keyword": "古典"}}}]}], "tools": [{"type": "function", "function": {"name": "get_genres", "description": "Fetch a list of radio station genres using the provided keyword and RapidAPI key.", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to filter genres. Defaults to 'music'.", "default": "music"}}, "required": ["keyword"]}}}, {"type": "function", "function": {"name": "list_album_tracks", "description": "Fetches a list of tracks for a given album from the Spotify API, with optional pagination support.", "parameters": {"type": "object", "properties": {"albumid": {"type": "string", "description": "The unique identifier for the album.", "default": "5Otajf16kZ0zkVZWhu7LtO"}, "limit": {"type": "string", "description": "The maximum number of tracks to return per request. Defaults to None.", "default": ""}, "offset": {"type": "string", "description": "The number of tracks to skip before starting to collect the result set. Defaults to None.", "default": ""}}, "required": ["albumid", "limit", "offset"]}}}, {"type": "function", "function": {"name": "playlist_extraction", "description": "Retrieves information about songs in a playlist from YouTube, Spotify, or SoundCloud using the RapidAPI service.", "parameters": {"type": "object", "properties": {"search": {"type": "string", "description": "The search query for the playlist.", "default": "https://www.youtube.com/playlist?list=PLXFwTY00FRUUZzL_Vjhy-bE8WIao3eyOi"}}, "required": ["search"]}}}, {"type": "function", "function": {"name": "artist_albums", "description": "Fetches the albums of a specified artist from the Spotify API using the provided RapidAPI key.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The ID of the artist.", "default": "2w9zwq3AktTeYYMuhMjju8"}, "offset": {"type": "string", "description": "The index of the first album to return. Defaults to 0.", "default": "0"}, "limit": {"type": "string", "description": "The maximum number of albums to return. Defaults to 100.", "default": "100"}}, "required": ["is_id", "offset", "limit"]}}}], "meta": {"source_format": "D", "id": 235}} {"messages": [{"role": "system", "content": "你是個樂於助人的助理。"}], "tools": [{"type": "function", "function": {"name": "generate", "description": "Generate a face with given optional parameters for ethnicity, gender, and age.", "parameters": {"type": "object", "properties": {"ethnicity": {"type": "string", "description": "Ethnic phenotype for the face. Options include 'european', 'african', 'west_asian', 'south_asian', 'east_asian', 'southeast_asian', and 'latin_american'. Defaults to 'european'.", "default": "european"}, "gender": {"type": "string", "description": "Gender of the face. Options include 'male' and 'female'. Defaults to 'female'.", "default": "female"}, "age": {"type": "string", "description": "Age group of the face. Options include '10s', '20s', '30s', '40s', '50s', and '60s'. Defaults to '20s'.", "default": "20s"}}, "required": ["ethnicity", "gender", "age"]}}}, {"type": "function", "function": {"name": "get_a_conversation_turn", "description": "Fetch a specific conversation turn by its ID and return its details.", "parameters": {"type": "object", "properties": {"is_id": {"type": "integer", "description": "The ID of the conversation turn to fetch.", "default": ""}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 236}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "將 DAI 兌換成 JPY 的限額是多少?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "exchange_range", "arguments": {"from_to": "dai_jpy"}}}]}], "tools": [{"type": "function", "function": {"name": "exchange_range", "description": "Retrieves the minimum and maximum payment amounts required to make an exchange for a specified pair of assets.", "parameters": {"type": "object", "properties": {"from_to": {"type": "string", "description": "Underscore separated pair of asset tickers (e.g., 'btc_usd').", "default": "btc_eth"}, "api_key": {"type": "string", "description": "Your specific API key for the service. Defaults to 'your_api_key'.", "default": "your_api_key"}}, "required": ["from_to", "api_key"]}}}, {"type": "function", "function": {"name": "symbols_faq", "description": "Fetch answers to common questions for a given ticker symbol.", "parameters": {"type": "object", "properties": {"ticker_slug": {"type": "string", "description": "The ticker symbol for which to fetch FAQ answers (e.g., 'NVDA').", "default": "NVDA"}}, "required": ["ticker_slug"]}}}], "meta": {"source_format": "D", "id": 237}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "我正在尋找 SKU 為 'FIT9876' 的健身追蹤器價格,還有來自澳洲亞馬遜(Amazon Australia)ASIN 為 'GAD1234' 的科技產品詳細資訊。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getproductsku", "arguments": {"product_sku": "FIT9876"}}}, {"type": "function", "function": {"name": "main_endpoint", "arguments": {"asin": "GAD1234", "domain": "au"}}}]}], "tools": [{"type": "function", "function": {"name": "getproductsku", "description": "Fetches price information for a product identified by its SKU from the RapidAPI price tracker service.", "parameters": {"type": "object", "properties": {"product_sku": {"type": "string", "description": "The SKU (Stock Keeping Unit) of the product to retrieve price information for.", "default": "PLID12183283"}}, "required": ["product_sku"]}}}, {"type": "function", "function": {"name": "main_endpoint", "description": "Fetches product information from the Amazon Pricing and Product Info API using the given ASIN and domain.", "parameters": {"type": "object", "properties": {"asin": {"type": "string", "description": "The Amazon Standard Identification Number of the product.", "default": "B07GR5MSKD"}, "domain": {"type": "string", "description": "The domain from which to fetch the product information (e.g., 'com', 'co.uk').", "default": "de"}}, "required": ["asin", "domain"]}}}], "meta": {"source_format": "D", "id": 238}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "我需要 microsoft.com 的 WHOIS 資料,以及 linkedin.com 的載入速度。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "v1_whois", "arguments": {"domain": "microsoft.com"}}}, {"type": "function", "function": {"name": "getpagespeed", "arguments": {"url": "linkedin.com"}}}]}], "tools": [{"type": "function", "function": {"name": "v1_whois", "description": "Fetches the WHOIS information for a given domain using the API Ninjas Whois API.", "parameters": {"type": "object", "properties": {"domain": {"type": "string", "description": "The domain to retrieve WHOIS information for.", "default": "example.com"}}, "required": ["domain"]}}}, {"type": "function", "function": {"name": "getpagespeed", "description": "Fetch the page or website loading speed for a given URL using the RapidAPI service.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "The URL of the page or website to check the loading speed.", "default": ""}}, "required": ["url"]}}}], "meta": {"source_format": "D", "id": 239}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請擷取公司 ID 為 '123456789' 自 2020 年 1 月以來的最新管理與團隊相關事件。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "companies_id_events", "arguments": {"is_id": "123456789", "category": "MANAGEMENT_AND_TEAM", "since": "2020-01-01"}}}]}], "tools": [{"type": "function", "function": {"name": "companies_id_events", "description": "Fetch the latest events for a specific company identified by `is_id`.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The unique identifier of the company.", "default": "DEVFCLQFW054"}, "category": {"type": "string", "description": "The category of events to filter by (default is 'MANAGEMENT_AND_TEAM,FINANCES_AND_CAPITAL,NEWS_AND_EVENTS').", "default": "MANAGEMENT_AND_TEAM,FINANCES_AND_CAPITAL,NEWS_AND_EVENTS"}, "since": {"type": "string", "description": "The start date for fetching events in YYYY-MM-DD format (default is '2017-01-01').", "default": "2017-01-01"}, "size": {"type": "string", "description": "The number of events to retrieve (default is 100).", "default": "100"}}, "required": ["is_id", "category", "since", "size"]}}}], "meta": {"source_format": "D", "id": 240}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getnews", "arguments": {"location": "US-CA"}}}]}], "tools": [{"type": "function", "function": {"name": "getnews", "description": "Fetch the latest coronavirus news for a specified location or globally.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The ISO 3166-2 location code. Use \"FR\" for France, \"US\" for the United States, \"US-CA\" for California, or \"global\" for worldwide news.", "default": "US"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "get_article_by_sid", "description": "Retrieve the content of a news article based on the given article ID (`sid`).", "parameters": {"type": "object", "properties": {"sid": {"type": "integer", "description": "The article ID for the news article to be retrieved.", "default": "565154"}}, "required": ["sid"]}}}], "meta": {"source_format": "D", "id": 241}} {"messages": [{"role": "system", "content": "你是一個樂於助人的助理。"}, {"role": "user", "content": "如果我投資的 $10000 在 3 年內增長到 $12000,年複合成長率 (CAGR) 是多少?此外,請計算在 8 次試驗中,成功機率為 0.3 的情況下,恰好得到 2 次成功的機率。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "cagr", "arguments": {}}}, {"type": "function", "function": {"name": "binomial_probability", "arguments": {}}}]}], "tools": [{"type": "function", "function": {"name": "cagr", "description": "Calculates the Compound Annual Growth Rate (CAGR) of an investment.", "parameters": {"type": "object", "properties": {"start_value": {"type": "number", "description": "The initial value of the investment."}, "end_value": {"type": "number", "description": "The final value of the investment."}, "years": {"type": "integer", "description": "The number of years between the initial and final values."}}, "required": ["end_value", "start_value", "years"]}}}, {"type": "function", "function": {"name": "binomial_probability", "description": "Calculates the probability of getting exactly k successes in n independent trials,", "parameters": {"type": "object", "properties": {"n": {"type": "integer", "description": "The total number of trials."}, "k": {"type": "integer", "description": "The number of successes."}, "p": {"type": "number", "description": "The probability of success in each trial."}}, "required": ["k", "n", "p"]}}}, {"type": "function", "function": {"name": "dice_roll_probability", "description": "Calculates the probability of rolling a specific sum with a given number of dice, each having a certain number of faces.", "parameters": {"type": "object", "properties": {"target_sum": {"type": "integer", "description": "The target sum to calculate the probability for.", "default": 6}, "num_dice": {"type": "integer", "description": "The number of dice being rolled.", "default": 6}, "num_faces": {"type": "string", "description": "The number of faces on each die. Defaults to 6."}}, "required": ["num_faces"]}}}], "meta": {"source_format": "D", "id": 242}} {"messages": [{"role": "system", "content": "您是一個樂於助人的助手。"}, {"role": "user", "content": "我正在尋找有關 JPY 對 KRW 貨幣對的新聞,但希望以韓文呈現。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "currency_news", "arguments": {"from_symbol": "JPY", "to_symbol": "KRW", "language": "ko"}}}]}], "tools": [{"type": "function", "function": {"name": "currency_news", "description": "Fetch the latest news related to a specific currency, forex, or cryptocurrency pair.", "parameters": {"type": "object", "properties": {"from_symbol": {"type": "string", "description": "A 3-letter currency code or symbol (ISO 4217) representing the base currency (e.g., 'USD').", "default": "USD"}, "to_symbol": {"type": "string", "description": "A 3-letter currency code or symbol (ISO 4217) representing the target currency (e.g., 'EUR').", "default": "EUR"}, "language": {"type": "string", "description": "The language of the news results, specified as a 2-letter language code (ISO 639-1). Default is 'en'.", "default": "en"}}, "required": ["from_symbol", "to_symbol", "language"]}}}], "meta": {"source_format": "D", "id": 243}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "請問 2021 賽季的 Serie A 積分榜為何?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "serie_a_standings", "arguments": {"season": "2021"}}}]}], "tools": [{"type": "function", "function": {"name": "serie_a_standings", "description": "Fetches the Serie A football standings for a given season using the provided RapidAPI key.", "parameters": {"type": "object", "properties": {"season": {"type": "string", "description": "The season year for which the standings are to be fetched (e.g., '2022'). Defaults to None.", "default": ""}}, "required": ["season"]}}}], "meta": {"source_format": "D", "id": 244}} {"messages": [{"role": "system", "content": "您是位樂於助人的助理。"}, {"role": "user", "content": "找出字串 'prefix'、'preamble'、'prelude' 的最長共同前綴。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "longest_common_prefix", "arguments": {}}}]}, {"role": "assistant", "content": ")]"}], "tools": [{"type": "function", "function": {"name": "is_subset", "description": "Checks if one set is a subset of another set.", "parameters": {"type": "object", "properties": {"set1": {"type": "string", "description": "The first set."}, "set2": {"type": "string", "description": "The second set."}}, "required": ["set1", "set2"]}}}, {"type": "function", "function": {"name": "fibonacci", "description": "Calculates the nth Fibonacci number.", "parameters": {"type": "object", "properties": {"n": {"type": "integer", "description": "The position of the Fibonacci number."}}, "required": ["n"]}}}, {"type": "function", "function": {"name": "longest_common_prefix", "description": "Finds the longest common prefix among a list of strings.", "parameters": {"type": "object", "properties": {"strs": {"type": "string", "description": "The list of strings."}}, "required": ["strs"]}}}], "meta": {"source_format": "D", "id": 245}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "你可以取得第 9 頁的 AI 公司和 'biztoc012' 的熱門標籤嗎?另外,請問 'tt0120737' 的票房資料是什麼?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "getcompanies", "arguments": {}}}, {"type": "function", "function": {"name": "tags_trending", "arguments": {"page_id": "biztoc012"}}}, {"type": "function", "function": {"name": "title_v2_get_business", "arguments": {"tconst": "tt0120737"}}}]}], "tools": [{"type": "function", "function": {"name": "getcompanies", "description": "Fetches AI companies from a given page through the RapidAPI service.", "parameters": {"type": "object", "properties": {"page": {"type": "integer", "description": "The page number to retrieve companies from.", "default": "1"}}, "required": ["page"]}}}, {"type": "function", "function": {"name": "title_v2_get_business", "description": "Retrieves box office information for a given movie title from the online movie database using the provided API key.", "parameters": {"type": "object", "properties": {"tconst": {"type": "string", "description": "The identifier for the movie title, starting with 'tt'. This value can be obtained from the `/title/auto-complete` or `/title/find` endpoints.", "default": "tt0796366"}}, "required": ["tconst"]}}}, {"type": "function", "function": {"name": "tags_trending", "description": "Retrieve a list of trending tags for a given `page_id`, sorted by popularity.", "parameters": {"type": "object", "properties": {"page_id": {"type": "string", "description": "The ID of the page for which to retrieve trending tags.", "default": "main"}}, "required": ["page_id"]}}}], "meta": {"source_format": "D", "id": 246}} {"messages": [{"role": "system", "content": "你是一位樂於助人的助理。"}, {"role": "user", "content": "我需要支持「專案管理」與「協作」功能的軟體詳細資訊。另外,也幫我找出以「資料分析」聞名的軟體。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "software_assets", "arguments": {"q": "專案管理, 協作"}}}, {"type": "function", "function": {"name": "software_assets", "arguments": {"q": "資料分析"}}}]}], "tools": [{"type": "function", "function": {"name": "getimage", "description": "Generates an image of a specified address and returns it as a base64 encoded string.", "parameters": {"type": "object", "properties": {"output": {"type": "string", "description": "The output format of the image. Default is 'image'.", "default": "image"}, "type": {"type": "string", "description": "The image type, either 'png' or 'jpeg'. Default is 'jpeg'.", "default": "jpeg"}, "marker": {"type": "integer", "description": "Whether or not to display a marker on the image at the given address. 0 for no marker, 1 for marker. Default is 0.", "default": "0"}, "zoom": {"type": "integer", "description": "The level of image zoom. Default is 1. Range is 0-5.", "default": "1"}, "address": {"type": "string", "description": "The address or location for which to generate the image. Default is 'Times Square'.", "default": "Times Square"}, "width": {"type": "integer", "description": "The width of the image in pixels. Maximum is 1024. Default is 1024.", "default": "1024"}, "height": {"type": "integer", "description": "The height of the image in pixels. Maximum is 1024. Default is 1024.", "default": "1024"}}, "required": ["output", "type", "marker", "zoom", "address", "width", "height"]}}}, {"type": "function", "function": {"name": "software_assets", "description": "Fetch details of SaaS/Software tools based on specified feature tags or software name.", "parameters": {"type": "object", "properties": {"q": {"type": "string", "description": "Query string representing the list of feature tags or the name of the software for which details are to be fetched.", "default": "email-marketing, landing-pages"}}, "required": ["q"]}}}, {"type": "function", "function": {"name": "read_user", "description": "Fetch user details from the IronWifi API using the provided user ID.", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The ID of the user to be fetched.", "default": ""}}, "required": ["user_id"]}}}, {"type": "function", "function": {"name": "get_case_by_id", "description": "Fetch the case payload from the Yardillo API using the given case ID.", "parameters": {"type": "object", "properties": {"is_id": {"type": "string", "description": "The ID of the case to fetch.", "default": "611c0765e9308692195b8538"}}, "required": ["is_id"]}}}], "meta": {"source_format": "D", "id": 247}} {"messages": [{"role": "system", "content": "您是一位樂於助人的助理。"}, {"role": "user", "content": "OBD2 代碼 'P1101' 表示什麼?另外,請提供品牌為 'Embraer' 的飛機。"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "obd2_code", "arguments": {"code": "P1101"}}}, {"type": "function", "function": {"name": "airplanes_by_brand", "arguments": {"brand": "Embraer"}}}]}], "tools": [{"type": "function", "function": {"name": "cpf", "description": "Fetches information of a partner or administrator based on their CPF (Cadastro de Pessoas Físicas).", "parameters": {"type": "object", "properties": {"cpf": {"type": "string", "description": "The CPF number of the partner or administrator.", "default": "09336443291"}, "nome": {"type": "string", "description": "The name of the partner or administrator. Providing the name can improve the chances of finding the data.", "default": ""}}, "required": ["cpf", "nome"]}}}, {"type": "function", "function": {"name": "theme_detail", "description": "Fetches the details of a theme using its ID from the specified API.", "parameters": {"type": "object", "properties": {"dtid": {"type": "integer", "description": "The ID of the theme to be fetched.", "default": ""}}, "required": ["dtid"]}}}, {"type": "function", "function": {"name": "airplanes_by_brand", "description": "Fetches all airplanes by a specified brand from the airplanes database.", "parameters": {"type": "object", "properties": {"brand": {"type": "string", "description": "The brand of airplanes to fetch information for.", "default": "Airbus"}}, "required": ["brand"]}}}, {"type": "function", "function": {"name": "obd2_code", "description": "Retrieve the human-readable version of a requested OBD2 code using the Toolbench RapidAPI.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "The OBD2 code to be translated into human-readable format.", "default": "P0001"}}, "required": ["code"]}}}], "meta": {"source_format": "D", "id": 248}} {"messages": [{"role": "system", "content": "您是個樂於助人的助理。"}, {"role": "user", "content": "您可以幫我擷取代理人 '999999' 的個人檔案資訊,廣告商 ID 為 3333 嗎?"}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "agents_get_profile", "arguments": {"nrds_id": "999999"}}}]}], "tools": [{"type": "function", "function": {"name": "agents_get_profile", "description": "Fetches the profile information for a real estate agent using their NRDS ID and advertiser ID.", "parameters": {"type": "object", "properties": {"nrds_id": {"type": "string", "description": "The NRDS ID of the agent, typically returned from the /agents/list endpoint.", "default": "150577018"}, "advertiser_id": {"type": "integer", "description": "The advertiser ID of the agent, typically returned from the /agents/list endpoint.", "default": "1633379"}}, "required": ["nrds_id", "advertiser_id"]}}}, {"type": "function", "function": {"name": "properties_detail", "description": "Retrieves detailed information about a property using the Idealista API.", "parameters": {"type": "object", "properties": {"propertycode": {"type": "integer", "description": "The unique code of the property to retrieve details for, as obtained from the properties list endpoint.", "default": "19899037"}, "country": {"type": "string", "description": "The country code to use for the API request. One of the following: 'it', 'es', 'pt'. Defaults to 'it'.", "default": "it"}, "language": {"type": "string", "description": "The language code to use for the API response. One of the following: 'en', 'es', 'it', 'pt', 'de', 'fr', 'ro', 'ru', 'pl', 'sv', 'fi', 'nb', 'nl'. Defaults to 'en'.", "default": "en"}}, "required": ["propertycode", "country", "language"]}}}], "meta": {"source_format": "D", "id": 249}}