{"model": "qwen3-plus-latest", "session_id": "TEMP_SESSION_123", "trace_id": "14a0ec49-b336-4310-be4f-658e877dc417", "function_calls": [{"messages": [{"role": "user", "content": "New York Times Square Italian Restaurants"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_6107b2e6c70f4c1ea692bf", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"Italian Restaurants\", \"city\": \"New York\"}"}}]}, {"role": "tool", "tool_call_id": "call_6107b2e6c70f4c1ea692bf", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[]}\"}]"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_b05c3711efd6445c93208a", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"Italian Restaurants\", \"city\": \"New York City\"}"}}]}, {"role": "tool", "tool_call_id": "call_b05c3711efd6445c93208a", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[]}\"}]"}], "tools": [{"type": "function", "function": {"name": "maps_direction_bicycling", "description": "骑行路径规划用于规划骑行通勤方案,规划时会考虑天桥、单行线、封路等情况。最大支持 500km 的骑行路线规划", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_driving", "description": "驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据。", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_transit_integrated", "description": "根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}, "city": {"type": "string", "description": "公共交通规划起点城市"}, "cityd": {"type": "string", "description": "公共交通规划终点城市"}}, "required": ["origin", "destination", "city", "cityd"]}}}, {"type": "function", "function": {"name": "maps_direction_walking", "description": "根据输入起点终点经纬度坐标规划100km 以内的步行通勤方案,并且返回通勤方案的数据", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经度,纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经度,纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_distance", "description": "测量两个经纬度坐标之间的距离,支持驾车、步行以及球面距离测量", "parameters": {"type": "object", "properties": {"origins": {"type": "string", "description": "起点经度,纬度,可以传多个坐标,使用竖线隔离,比如120,30|120,31,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "终点经度,纬度,坐标格式为:经度,纬度"}, "type": {"type": "string", "description": "距离测量类型,1代表驾车距离测量,0代表直线距离测量,3步行距离测量"}}, "required": ["origins", "destination"]}}}, {"type": "function", "function": {"name": "maps_geo", "description": "将详细的结构化地址转换为经纬度坐标。支持对地标性名胜景区、建筑物名称解析为经纬度坐标", "parameters": {"type": "object", "properties": {"address": {"type": "string", "description": "待解析的结构化地址信息"}, "city": {"type": "string", "description": "指定查询的城市"}}, "required": ["address"]}}}, {"type": "function", "function": {"name": "maps_regeocode", "description": "将一个高德经纬度坐标转换为行政区划地址信息", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "经纬度"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "maps_ip_location", "description": "IP 定位根据用户输入的 IP 地址,定位 IP 的所在位置", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "IP地址"}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "maps_schema_personal_map", "description": "用于行程规划结果在高德地图展示。将行程规划位置点按照行程顺序填入lineList,返回结果为高德地图打开的URI链接,该结果不需总结,直接返回!", "parameters": {"type": "object", "properties": {"orgName": {"type": "string", "description": "行程规划地图小程序名称"}, "lineList": {"type": "array", "description": "行程列表", "items": {"type": "object", "properties": {"title": {"type": "string", "description": "行程名称描述(按行程顺序)"}, "pointInfoList": {"type": "array", "description": "行程目标位置点描述", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "行程目标位置点名称"}, "lon": {"type": "number", "description": "行程目标位置点经度"}, "lat": {"type": "number", "description": "行程目标位置点纬度"}, "poiId": {"type": "string", "description": "行程目标位置点POIID"}}, "required": ["name", "lon", "lat", "poiId"]}}}, "required": ["title", "pointInfoList"]}}}, "required": ["orgName", "lineList"]}}}, {"type": "function", "function": {"name": "maps_around_search", "description": "周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "搜索关键词"}, "location": {"type": "string", "description": "中心点经度纬度"}, "radius": {"type": "string", "description": "搜索半径"}}, "required": ["keywords", "location"]}}}, {"type": "function", "function": {"name": "maps_search_detail", "description": "查询关键词搜或者周边搜获取到的POI ID的详细信息", "parameters": {"type": "object", "properties": {"id": {"type": "string", "description": "关键词搜或者周边搜获取到的POI ID"}}, "required": ["id"]}}}, {"type": "function", "function": {"name": "maps_text_search", "description": "关键字搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "查询关键字"}, "city": {"type": "string", "description": "查询城市"}, "citylimit": {"type": "boolean", "default": false, "description": "是否限制城市范围内搜索,默认不限制"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "maps_search_places", "description": "Search for places using Google Places API", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Search query"}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}}, "description": "Optional center point for the search"}, "radius": {"type": "number", "description": "Search radius in meters (max 50000)"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "search_images", "description": " Get Public Available Stock Symbols from Global Marketplace\n\n Args:\n query: str, query used in Bing search engine\n limit: int, number of images information returned\n \n Return: \n str: json str with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query": {"default": "", "title": "Query", "type": "string"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "title": "search_imagesArguments", "type": "object"}}}, {"type": "function", "function": {"name": "search_images_batch", "description": " Batch Method of Search Images From Bing Web Search\n\n Args:\n query_list: List[str], List of query used in Bing Image search engine\n limit: int, number of images information returned\n \n Return: \n Dict: json Dict with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query_list": {"items": {"type": "string"}, "title": "Query List", "type": "array"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "required": ["query_list"], "title": "search_images_batchArguments", "type": "object"}}}, {"type": "function", "function": {"name": "tavily_search", "description": "Search the web for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts. The search results will include relevant snippets and URLs from web pages. This is particularly useful for questions about current events, technology updates, or any topic that requires recent information.", "parameters": {"properties": {"query": {"description": "Search query", "title": "Query", "type": "string"}, "max_results": {"default": 5, "description": "The maximum number of search results to return", "title": "Max Results", "type": "integer"}, "search_depth": {"default": "basic", "description": "The depth of the search. It can be 'basic' or 'advanced'", "enum": ["basic", "advanced"], "title": "Search Depth", "type": "string"}, "topic": {"default": "general", "description": "The category of the search. This will determine which of our agents will be used for the search", "enum": ["general", "news", "finance"], "title": "Topic", "type": "string"}, "days": {"default": 30, "description": "The number of days back from the current date to include in the search results. This specifies the time frame of data to be retrieved. Please note that this feature is only available when using the 'news' search topic", "title": "Days", "type": "integer"}, "time_range": {"default": "month", "description": "The time range back from the current date to include in the search results. This feature is available for both 'general' and 'news' search topics", "enum": ["day", "week", "month", "year", "d", "w", "m", "y"], "title": "Time Range", "type": "string"}, "include_images": {"default": false, "description": "Include a list of query-related images in the response", "title": "Include Images", "type": "boolean"}, "include_image_descriptions": {"default": false, "description": "Include a list of query-related images and their descriptions in the response", "title": "Include Image Descriptions", "type": "boolean"}, "include_raw_content": {"default": false, "description": "Include the cleaned and parsed HTML content of each search result", "title": "Include Raw Content", "type": "boolean"}, "include_domains": {"default": [], "description": "A list of domains to specifically include in the search results, if the user asks to search on specific sites set this to the domain of the site", "items": {"type": "string"}, "title": "Include Domains", "type": "array"}, "exclude_domains": {"default": [], "description": "List of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "country": {"default": "", "description": "Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.", "title": "Country", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}, "start_date": {"default": "", "description": "Will return all results after the specified start date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "Start Date", "type": "string"}, "end_date": {"default": "", "description": "Will return all results before the specified end date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "End Date", "type": "string"}}, "required": ["query"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_extract", "description": "Extract and process content from specific web pages. Use this tool when you have URLs and need to get the full text content from those pages. Returns clean, structured content in markdown or text format. Useful for reading articles, documentation, or any web page content that you need to analyze or reference.", "parameters": {"properties": {"urls": {"description": "List of URLs to extract content from", "items": {"type": "string"}, "title": "Urls", "type": "array"}, "extract_depth": {"default": "basic", "description": "Depth of extraction - 'basic' or 'advanced', if usrls are linkedin use 'advanced' or if explicitly told to use advanced", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "include_images": {"default": false, "description": "Include a list of images extracted from the urls in the response", "title": "Include Images", "type": "boolean"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["urls"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_crawl", "description": "Crawl multiple pages from a website starting from a base URL. Use this tool when you need to gather information from multiple related pages across a website or explore a site's structure. It follows internal links and extracts content from multiple pages, but truncates content to 500 characters per page. For full content extraction, use tavily_map to discover URLs first, then tavily_extract to get complete content from specific pages. Useful for comprehensive research on documentation sites, blogs, or when you need to understand the full scope of information available on a website.", "parameters": {"properties": {"url": {"description": "The root URL to begin the crawl", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the crawl. Defines how far from the base URL the crawler can explore.", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler. Instructions specify which types of pages the crawler should return.", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}, "include_images": {"default": false, "description": "Whether to include images in the crawl results", "title": "Include Images", "type": "boolean"}, "extract_depth": {"default": "basic", "description": "Advanced extraction retrieves more data, including tables and embedded content, with higher success but may increase latency", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_map", "description": "Map and discover the structure of a website by finding all its URLs and pages. Use this tool when you need to understand a website's organization, find specific pages, or get an overview of all available content without extracting the actual text. Returns a structured list of URLs and their relationships. Useful for site exploration, finding documentation pages, or understanding how a website is organized.", "parameters": {"properties": {"url": {"description": "The root URL to begin the mapping", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the mapping. Defines how far from the base URL the crawler can explore", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "generate_funnel_chart", "description": "Generate a funnel chart to visualize the progressive reduction of data as it passes through stages, such as, the conversion rates of users from visiting a website to completing a purchase.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for funnel chart, such as, [{ category: '浏览网站', value: 50000 }, { category: '放入购物车', value: 35000 }, { category: '生成订单', value: 25000 }, { category: '支付订单', value: 15000 }, { category: '完成交易', value: 8000 }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}], "tool_calls": {"id": "call_6107b2e6c70f4c1ea692bf", "function": {"arguments": "{\"keywords\": \"Italian Restaurants\", \"city\": \"New York\"}", "name": "maps_text_search"}, "type": "function"}}, {"messages": [{"role": "user", "content": "New York Times Square Italian Restaurants"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_6107b2e6c70f4c1ea692bf", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"Italian Restaurants\", \"city\": \"New York\"}"}}]}, {"role": "tool", "tool_call_id": "call_6107b2e6c70f4c1ea692bf", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[]}\"}]"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_b05c3711efd6445c93208a", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"Italian Restaurants\", \"city\": \"New York City\"}"}}]}, {"role": "tool", "tool_call_id": "call_b05c3711efd6445c93208a", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[]}\"}]"}], "tools": [{"type": "function", "function": {"name": "maps_direction_bicycling", "description": "骑行路径规划用于规划骑行通勤方案,规划时会考虑天桥、单行线、封路等情况。最大支持 500km 的骑行路线规划", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_driving", "description": "驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据。", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_transit_integrated", "description": "根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}, "city": {"type": "string", "description": "公共交通规划起点城市"}, "cityd": {"type": "string", "description": "公共交通规划终点城市"}}, "required": ["origin", "destination", "city", "cityd"]}}}, {"type": "function", "function": {"name": "maps_direction_walking", "description": "根据输入起点终点经纬度坐标规划100km 以内的步行通勤方案,并且返回通勤方案的数据", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经度,纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经度,纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_distance", "description": "测量两个经纬度坐标之间的距离,支持驾车、步行以及球面距离测量", "parameters": {"type": "object", "properties": {"origins": {"type": "string", "description": "起点经度,纬度,可以传多个坐标,使用竖线隔离,比如120,30|120,31,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "终点经度,纬度,坐标格式为:经度,纬度"}, "type": {"type": "string", "description": "距离测量类型,1代表驾车距离测量,0代表直线距离测量,3步行距离测量"}}, "required": ["origins", "destination"]}}}, {"type": "function", "function": {"name": "maps_geo", "description": "将详细的结构化地址转换为经纬度坐标。支持对地标性名胜景区、建筑物名称解析为经纬度坐标", "parameters": {"type": "object", "properties": {"address": {"type": "string", "description": "待解析的结构化地址信息"}, "city": {"type": "string", "description": "指定查询的城市"}}, "required": ["address"]}}}, {"type": "function", "function": {"name": "maps_regeocode", "description": "将一个高德经纬度坐标转换为行政区划地址信息", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "经纬度"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "maps_ip_location", "description": "IP 定位根据用户输入的 IP 地址,定位 IP 的所在位置", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "IP地址"}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "maps_schema_personal_map", "description": "用于行程规划结果在高德地图展示。将行程规划位置点按照行程顺序填入lineList,返回结果为高德地图打开的URI链接,该结果不需总结,直接返回!", "parameters": {"type": "object", "properties": {"orgName": {"type": "string", "description": "行程规划地图小程序名称"}, "lineList": {"type": "array", "description": "行程列表", "items": {"type": "object", "properties": {"title": {"type": "string", "description": "行程名称描述(按行程顺序)"}, "pointInfoList": {"type": "array", "description": "行程目标位置点描述", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "行程目标位置点名称"}, "lon": {"type": "number", "description": "行程目标位置点经度"}, "lat": {"type": "number", "description": "行程目标位置点纬度"}, "poiId": {"type": "string", "description": "行程目标位置点POIID"}}, "required": ["name", "lon", "lat", "poiId"]}}}, "required": ["title", "pointInfoList"]}}}, "required": ["orgName", "lineList"]}}}, {"type": "function", "function": {"name": "maps_around_search", "description": "周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "搜索关键词"}, "location": {"type": "string", "description": "中心点经度纬度"}, "radius": {"type": "string", "description": "搜索半径"}}, "required": ["keywords", "location"]}}}, {"type": "function", "function": {"name": "maps_search_detail", "description": "查询关键词搜或者周边搜获取到的POI ID的详细信息", "parameters": {"type": "object", "properties": {"id": {"type": "string", "description": "关键词搜或者周边搜获取到的POI ID"}}, "required": ["id"]}}}, {"type": "function", "function": {"name": "maps_text_search", "description": "关键字搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "查询关键字"}, "city": {"type": "string", "description": "查询城市"}, "citylimit": {"type": "boolean", "default": false, "description": "是否限制城市范围内搜索,默认不限制"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "maps_search_places", "description": "Search for places using Google Places API", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Search query"}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}}, "description": "Optional center point for the search"}, "radius": {"type": "number", "description": "Search radius in meters (max 50000)"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "search_images", "description": " Get Public Available Stock Symbols from Global Marketplace\n\n Args:\n query: str, query used in Bing search engine\n limit: int, number of images information returned\n \n Return: \n str: json str with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query": {"default": "", "title": "Query", "type": "string"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "title": "search_imagesArguments", "type": "object"}}}, {"type": "function", "function": {"name": "search_images_batch", "description": " Batch Method of Search Images From Bing Web Search\n\n Args:\n query_list: List[str], List of query used in Bing Image search engine\n limit: int, number of images information returned\n \n Return: \n Dict: json Dict with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query_list": {"items": {"type": "string"}, "title": "Query List", "type": "array"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "required": ["query_list"], "title": "search_images_batchArguments", "type": "object"}}}, {"type": "function", "function": {"name": "tavily_search", "description": "Search the web for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts. The search results will include relevant snippets and URLs from web pages. This is particularly useful for questions about current events, technology updates, or any topic that requires recent information.", "parameters": {"properties": {"query": {"description": "Search query", "title": "Query", "type": "string"}, "max_results": {"default": 5, "description": "The maximum number of search results to return", "title": "Max Results", "type": "integer"}, "search_depth": {"default": "basic", "description": "The depth of the search. It can be 'basic' or 'advanced'", "enum": ["basic", "advanced"], "title": "Search Depth", "type": "string"}, "topic": {"default": "general", "description": "The category of the search. This will determine which of our agents will be used for the search", "enum": ["general", "news", "finance"], "title": "Topic", "type": "string"}, "days": {"default": 30, "description": "The number of days back from the current date to include in the search results. This specifies the time frame of data to be retrieved. Please note that this feature is only available when using the 'news' search topic", "title": "Days", "type": "integer"}, "time_range": {"default": "month", "description": "The time range back from the current date to include in the search results. This feature is available for both 'general' and 'news' search topics", "enum": ["day", "week", "month", "year", "d", "w", "m", "y"], "title": "Time Range", "type": "string"}, "include_images": {"default": false, "description": "Include a list of query-related images in the response", "title": "Include Images", "type": "boolean"}, "include_image_descriptions": {"default": false, "description": "Include a list of query-related images and their descriptions in the response", "title": "Include Image Descriptions", "type": "boolean"}, "include_raw_content": {"default": false, "description": "Include the cleaned and parsed HTML content of each search result", "title": "Include Raw Content", "type": "boolean"}, "include_domains": {"default": [], "description": "A list of domains to specifically include in the search results, if the user asks to search on specific sites set this to the domain of the site", "items": {"type": "string"}, "title": "Include Domains", "type": "array"}, "exclude_domains": {"default": [], "description": "List of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "country": {"default": "", "description": "Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.", "title": "Country", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}, "start_date": {"default": "", "description": "Will return all results after the specified start date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "Start Date", "type": "string"}, "end_date": {"default": "", "description": "Will return all results before the specified end date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "End Date", "type": "string"}}, "required": ["query"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_extract", "description": "Extract and process content from specific web pages. Use this tool when you have URLs and need to get the full text content from those pages. Returns clean, structured content in markdown or text format. Useful for reading articles, documentation, or any web page content that you need to analyze or reference.", "parameters": {"properties": {"urls": {"description": "List of URLs to extract content from", "items": {"type": "string"}, "title": "Urls", "type": "array"}, "extract_depth": {"default": "basic", "description": "Depth of extraction - 'basic' or 'advanced', if usrls are linkedin use 'advanced' or if explicitly told to use advanced", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "include_images": {"default": false, "description": "Include a list of images extracted from the urls in the response", "title": "Include Images", "type": "boolean"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["urls"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_crawl", "description": "Crawl multiple pages from a website starting from a base URL. Use this tool when you need to gather information from multiple related pages across a website or explore a site's structure. It follows internal links and extracts content from multiple pages, but truncates content to 500 characters per page. For full content extraction, use tavily_map to discover URLs first, then tavily_extract to get complete content from specific pages. Useful for comprehensive research on documentation sites, blogs, or when you need to understand the full scope of information available on a website.", "parameters": {"properties": {"url": {"description": "The root URL to begin the crawl", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the crawl. Defines how far from the base URL the crawler can explore.", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler. Instructions specify which types of pages the crawler should return.", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}, "include_images": {"default": false, "description": "Whether to include images in the crawl results", "title": "Include Images", "type": "boolean"}, "extract_depth": {"default": "basic", "description": "Advanced extraction retrieves more data, including tables and embedded content, with higher success but may increase latency", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_map", "description": "Map and discover the structure of a website by finding all its URLs and pages. Use this tool when you need to understand a website's organization, find specific pages, or get an overview of all available content without extracting the actual text. Returns a structured list of URLs and their relationships. Useful for site exploration, finding documentation pages, or understanding how a website is organized.", "parameters": {"properties": {"url": {"description": "The root URL to begin the mapping", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the mapping. Defines how far from the base URL the crawler can explore", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "generate_funnel_chart", "description": "Generate a funnel chart to visualize the progressive reduction of data as it passes through stages, such as, the conversion rates of users from visiting a website to completing a purchase.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for funnel chart, such as, [{ category: '浏览网站', value: 50000 }, { category: '放入购物车', value: 35000 }, { category: '生成订单', value: 25000 }, { category: '支付订单', value: 15000 }, { category: '完成交易', value: 8000 }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}], "tool_calls": {"id": "call_73fb662dc52947a280d387", "function": {"arguments": "{\"address\": \"Times Square, New York\"}", "name": "maps_geo"}, "type": "function"}}, {"messages": [{"role": "user", "content": "New York Times Square Italian Restaurants"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_6107b2e6c70f4c1ea692bf", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"Italian Restaurants\", \"city\": \"New York\"}"}}]}, {"role": "tool", "tool_call_id": "call_6107b2e6c70f4c1ea692bf", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[]}\"}]"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_b05c3711efd6445c93208a", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"Italian Restaurants\", \"city\": \"New York City\"}"}}]}, {"role": "tool", "tool_call_id": "call_b05c3711efd6445c93208a", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[]}\"}]"}], "tools": [{"type": "function", "function": {"name": "maps_direction_bicycling", "description": "骑行路径规划用于规划骑行通勤方案,规划时会考虑天桥、单行线、封路等情况。最大支持 500km 的骑行路线规划", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_driving", "description": "驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据。", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_transit_integrated", "description": "根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}, "city": {"type": "string", "description": "公共交通规划起点城市"}, "cityd": {"type": "string", "description": "公共交通规划终点城市"}}, "required": ["origin", "destination", "city", "cityd"]}}}, {"type": "function", "function": {"name": "maps_direction_walking", "description": "根据输入起点终点经纬度坐标规划100km 以内的步行通勤方案,并且返回通勤方案的数据", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经度,纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经度,纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_distance", "description": "测量两个经纬度坐标之间的距离,支持驾车、步行以及球面距离测量", "parameters": {"type": "object", "properties": {"origins": {"type": "string", "description": "起点经度,纬度,可以传多个坐标,使用竖线隔离,比如120,30|120,31,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "终点经度,纬度,坐标格式为:经度,纬度"}, "type": {"type": "string", "description": "距离测量类型,1代表驾车距离测量,0代表直线距离测量,3步行距离测量"}}, "required": ["origins", "destination"]}}}, {"type": "function", "function": {"name": "maps_geo", "description": "将详细的结构化地址转换为经纬度坐标。支持对地标性名胜景区、建筑物名称解析为经纬度坐标", "parameters": {"type": "object", "properties": {"address": {"type": "string", "description": "待解析的结构化地址信息"}, "city": {"type": "string", "description": "指定查询的城市"}}, "required": ["address"]}}}, {"type": "function", "function": {"name": "maps_regeocode", "description": "将一个高德经纬度坐标转换为行政区划地址信息", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "经纬度"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "maps_ip_location", "description": "IP 定位根据用户输入的 IP 地址,定位 IP 的所在位置", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "IP地址"}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "maps_schema_personal_map", "description": "用于行程规划结果在高德地图展示。将行程规划位置点按照行程顺序填入lineList,返回结果为高德地图打开的URI链接,该结果不需总结,直接返回!", "parameters": {"type": "object", "properties": {"orgName": {"type": "string", "description": "行程规划地图小程序名称"}, "lineList": {"type": "array", "description": "行程列表", "items": {"type": "object", "properties": {"title": {"type": "string", "description": "行程名称描述(按行程顺序)"}, "pointInfoList": {"type": "array", "description": "行程目标位置点描述", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "行程目标位置点名称"}, "lon": {"type": "number", "description": "行程目标位置点经度"}, "lat": {"type": "number", "description": "行程目标位置点纬度"}, "poiId": {"type": "string", "description": "行程目标位置点POIID"}}, "required": ["name", "lon", "lat", "poiId"]}}}, "required": ["title", "pointInfoList"]}}}, "required": ["orgName", "lineList"]}}}, {"type": "function", "function": {"name": "maps_around_search", "description": "周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "搜索关键词"}, "location": {"type": "string", "description": "中心点经度纬度"}, "radius": {"type": "string", "description": "搜索半径"}}, "required": ["keywords", "location"]}}}, {"type": "function", "function": {"name": "maps_search_detail", "description": "查询关键词搜或者周边搜获取到的POI ID的详细信息", "parameters": {"type": "object", "properties": {"id": {"type": "string", "description": "关键词搜或者周边搜获取到的POI ID"}}, "required": ["id"]}}}, {"type": "function", "function": {"name": "maps_text_search", "description": "关键字搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "查询关键字"}, "city": {"type": "string", "description": "查询城市"}, "citylimit": {"type": "boolean", "default": false, "description": "是否限制城市范围内搜索,默认不限制"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "maps_search_places", "description": "Search for places using Google Places API", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Search query"}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}}, "description": "Optional center point for the search"}, "radius": {"type": "number", "description": "Search radius in meters (max 50000)"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "search_images", "description": " Get Public Available Stock Symbols from Global Marketplace\n\n Args:\n query: str, query used in Bing search engine\n limit: int, number of images information returned\n \n Return: \n str: json str with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query": {"default": "", "title": "Query", "type": "string"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "title": "search_imagesArguments", "type": "object"}}}, {"type": "function", "function": {"name": "search_images_batch", "description": " Batch Method of Search Images From Bing Web Search\n\n Args:\n query_list: List[str], List of query used in Bing Image search engine\n limit: int, number of images information returned\n \n Return: \n Dict: json Dict with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query_list": {"items": {"type": "string"}, "title": "Query List", "type": "array"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "required": ["query_list"], "title": "search_images_batchArguments", "type": "object"}}}, {"type": "function", "function": {"name": "tavily_search", "description": "Search the web for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts. The search results will include relevant snippets and URLs from web pages. This is particularly useful for questions about current events, technology updates, or any topic that requires recent information.", "parameters": {"properties": {"query": {"description": "Search query", "title": "Query", "type": "string"}, "max_results": {"default": 5, "description": "The maximum number of search results to return", "title": "Max Results", "type": "integer"}, "search_depth": {"default": "basic", "description": "The depth of the search. It can be 'basic' or 'advanced'", "enum": ["basic", "advanced"], "title": "Search Depth", "type": "string"}, "topic": {"default": "general", "description": "The category of the search. This will determine which of our agents will be used for the search", "enum": ["general", "news", "finance"], "title": "Topic", "type": "string"}, "days": {"default": 30, "description": "The number of days back from the current date to include in the search results. This specifies the time frame of data to be retrieved. Please note that this feature is only available when using the 'news' search topic", "title": "Days", "type": "integer"}, "time_range": {"default": "month", "description": "The time range back from the current date to include in the search results. This feature is available for both 'general' and 'news' search topics", "enum": ["day", "week", "month", "year", "d", "w", "m", "y"], "title": "Time Range", "type": "string"}, "include_images": {"default": false, "description": "Include a list of query-related images in the response", "title": "Include Images", "type": "boolean"}, "include_image_descriptions": {"default": false, "description": "Include a list of query-related images and their descriptions in the response", "title": "Include Image Descriptions", "type": "boolean"}, "include_raw_content": {"default": false, "description": "Include the cleaned and parsed HTML content of each search result", "title": "Include Raw Content", "type": "boolean"}, "include_domains": {"default": [], "description": "A list of domains to specifically include in the search results, if the user asks to search on specific sites set this to the domain of the site", "items": {"type": "string"}, "title": "Include Domains", "type": "array"}, "exclude_domains": {"default": [], "description": "List of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "country": {"default": "", "description": "Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.", "title": "Country", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}, "start_date": {"default": "", "description": "Will return all results after the specified start date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "Start Date", "type": "string"}, "end_date": {"default": "", "description": "Will return all results before the specified end date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "End Date", "type": "string"}}, "required": ["query"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_extract", "description": "Extract and process content from specific web pages. Use this tool when you have URLs and need to get the full text content from those pages. Returns clean, structured content in markdown or text format. Useful for reading articles, documentation, or any web page content that you need to analyze or reference.", "parameters": {"properties": {"urls": {"description": "List of URLs to extract content from", "items": {"type": "string"}, "title": "Urls", "type": "array"}, "extract_depth": {"default": "basic", "description": "Depth of extraction - 'basic' or 'advanced', if usrls are linkedin use 'advanced' or if explicitly told to use advanced", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "include_images": {"default": false, "description": "Include a list of images extracted from the urls in the response", "title": "Include Images", "type": "boolean"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["urls"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_crawl", "description": "Crawl multiple pages from a website starting from a base URL. Use this tool when you need to gather information from multiple related pages across a website or explore a site's structure. It follows internal links and extracts content from multiple pages, but truncates content to 500 characters per page. For full content extraction, use tavily_map to discover URLs first, then tavily_extract to get complete content from specific pages. Useful for comprehensive research on documentation sites, blogs, or when you need to understand the full scope of information available on a website.", "parameters": {"properties": {"url": {"description": "The root URL to begin the crawl", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the crawl. Defines how far from the base URL the crawler can explore.", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler. Instructions specify which types of pages the crawler should return.", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}, "include_images": {"default": false, "description": "Whether to include images in the crawl results", "title": "Include Images", "type": "boolean"}, "extract_depth": {"default": "basic", "description": "Advanced extraction retrieves more data, including tables and embedded content, with higher success but may increase latency", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_map", "description": "Map and discover the structure of a website by finding all its URLs and pages. Use this tool when you need to understand a website's organization, find specific pages, or get an overview of all available content without extracting the actual text. Returns a structured list of URLs and their relationships. Useful for site exploration, finding documentation pages, or understanding how a website is organized.", "parameters": {"properties": {"url": {"description": "The root URL to begin the mapping", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the mapping. Defines how far from the base URL the crawler can explore", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "generate_funnel_chart", "description": "Generate a funnel chart to visualize the progressive reduction of data as it passes through stages, such as, the conversion rates of users from visiting a website to completing a purchase.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for funnel chart, such as, [{ category: '浏览网站', value: 50000 }, { category: '放入购物车', value: 35000 }, { category: '生成订单', value: 25000 }, { category: '支付订单', value: 15000 }, { category: '完成交易', value: 8000 }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}], "tool_calls": {"id": "call_b05c3711efd6445c93208a", "function": {"arguments": "{\"keywords\": \"Italian Restaurants\", \"city\": \"New York City\"}", "name": "maps_text_search"}, "type": "function"}}]}
{"model": "qwen3-plus-latest", "session_id": "TEMP_SESSION_123", "trace_id": "78244d4e-5cea-4a12-9a8e-2a807358c9e3", "function_calls": [{"messages": [{"role": "user", "content": "Google Maps Find New York Times Square Italian Restaurants"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_23d2702d597c4a67afc269", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"Italian Restaurants\", \"city\": \"New York\"}"}}]}, {"role": "tool", "tool_call_id": "call_23d2702d597c4a67afc269", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[]}\"}]"}], "tools": [{"type": "function", "function": {"name": "maps_direction_bicycling", "description": "骑行路径规划用于规划骑行通勤方案,规划时会考虑天桥、单行线、封路等情况。最大支持 500km 的骑行路线规划", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_driving", "description": "驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据。", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_transit_integrated", "description": "根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}, "city": {"type": "string", "description": "公共交通规划起点城市"}, "cityd": {"type": "string", "description": "公共交通规划终点城市"}}, "required": ["origin", "destination", "city", "cityd"]}}}, {"type": "function", "function": {"name": "maps_direction_walking", "description": "根据输入起点终点经纬度坐标规划100km 以内的步行通勤方案,并且返回通勤方案的数据", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经度,纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经度,纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_distance", "description": "测量两个经纬度坐标之间的距离,支持驾车、步行以及球面距离测量", "parameters": {"type": "object", "properties": {"origins": {"type": "string", "description": "起点经度,纬度,可以传多个坐标,使用竖线隔离,比如120,30|120,31,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "终点经度,纬度,坐标格式为:经度,纬度"}, "type": {"type": "string", "description": "距离测量类型,1代表驾车距离测量,0代表直线距离测量,3步行距离测量"}}, "required": ["origins", "destination"]}}}, {"type": "function", "function": {"name": "maps_geo", "description": "将详细的结构化地址转换为经纬度坐标。支持对地标性名胜景区、建筑物名称解析为经纬度坐标", "parameters": {"type": "object", "properties": {"address": {"type": "string", "description": "待解析的结构化地址信息"}, "city": {"type": "string", "description": "指定查询的城市"}}, "required": ["address"]}}}, {"type": "function", "function": {"name": "maps_regeocode", "description": "将一个高德经纬度坐标转换为行政区划地址信息", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "经纬度"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "maps_ip_location", "description": "IP 定位根据用户输入的 IP 地址,定位 IP 的所在位置", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "IP地址"}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "maps_schema_personal_map", "description": "用于行程规划结果在高德地图展示。将行程规划位置点按照行程顺序填入lineList,返回结果为高德地图打开的URI链接,该结果不需总结,直接返回!", "parameters": {"type": "object", "properties": {"orgName": {"type": "string", "description": "行程规划地图小程序名称"}, "lineList": {"type": "array", "description": "行程列表", "items": {"type": "object", "properties": {"title": {"type": "string", "description": "行程名称描述(按行程顺序)"}, "pointInfoList": {"type": "array", "description": "行程目标位置点描述", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "行程目标位置点名称"}, "lon": {"type": "number", "description": "行程目标位置点经度"}, "lat": {"type": "number", "description": "行程目标位置点纬度"}, "poiId": {"type": "string", "description": "行程目标位置点POIID"}}, "required": ["name", "lon", "lat", "poiId"]}}}, "required": ["title", "pointInfoList"]}}}, "required": ["orgName", "lineList"]}}}, {"type": "function", "function": {"name": "maps_around_search", "description": "周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "搜索关键词"}, "location": {"type": "string", "description": "中心点经度纬度"}, "radius": {"type": "string", "description": "搜索半径"}}, "required": ["keywords", "location"]}}}, {"type": "function", "function": {"name": "maps_search_detail", "description": "查询关键词搜或者周边搜获取到的POI ID的详细信息", "parameters": {"type": "object", "properties": {"id": {"type": "string", "description": "关键词搜或者周边搜获取到的POI ID"}}, "required": ["id"]}}}, {"type": "function", "function": {"name": "maps_text_search", "description": "关键字搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "查询关键字"}, "city": {"type": "string", "description": "查询城市"}, "citylimit": {"type": "boolean", "default": false, "description": "是否限制城市范围内搜索,默认不限制"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "maps_search_places", "description": "Search for places using Google Places API", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Search query"}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}}, "description": "Optional center point for the search"}, "radius": {"type": "number", "description": "Search radius in meters (max 50000)"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "search_images", "description": " Get Public Available Stock Symbols from Global Marketplace\n\n Args:\n query: str, query used in Bing search engine\n limit: int, number of images information returned\n \n Return: \n str: json str with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query": {"default": "", "title": "Query", "type": "string"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "title": "search_imagesArguments", "type": "object"}}}, {"type": "function", "function": {"name": "search_images_batch", "description": " Batch Method of Search Images From Bing Web Search\n\n Args:\n query_list: List[str], List of query used in Bing Image search engine\n limit: int, number of images information returned\n \n Return: \n Dict: json Dict with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query_list": {"items": {"type": "string"}, "title": "Query List", "type": "array"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "required": ["query_list"], "title": "search_images_batchArguments", "type": "object"}}}, {"type": "function", "function": {"name": "tavily_search", "description": "Search the web for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts. The search results will include relevant snippets and URLs from web pages. This is particularly useful for questions about current events, technology updates, or any topic that requires recent information.", "parameters": {"properties": {"query": {"description": "Search query", "title": "Query", "type": "string"}, "max_results": {"default": 5, "description": "The maximum number of search results to return", "title": "Max Results", "type": "integer"}, "search_depth": {"default": "basic", "description": "The depth of the search. It can be 'basic' or 'advanced'", "enum": ["basic", "advanced"], "title": "Search Depth", "type": "string"}, "topic": {"default": "general", "description": "The category of the search. This will determine which of our agents will be used for the search", "enum": ["general", "news", "finance"], "title": "Topic", "type": "string"}, "days": {"default": 30, "description": "The number of days back from the current date to include in the search results. This specifies the time frame of data to be retrieved. Please note that this feature is only available when using the 'news' search topic", "title": "Days", "type": "integer"}, "time_range": {"default": "month", "description": "The time range back from the current date to include in the search results. This feature is available for both 'general' and 'news' search topics", "enum": ["day", "week", "month", "year", "d", "w", "m", "y"], "title": "Time Range", "type": "string"}, "include_images": {"default": false, "description": "Include a list of query-related images in the response", "title": "Include Images", "type": "boolean"}, "include_image_descriptions": {"default": false, "description": "Include a list of query-related images and their descriptions in the response", "title": "Include Image Descriptions", "type": "boolean"}, "include_raw_content": {"default": false, "description": "Include the cleaned and parsed HTML content of each search result", "title": "Include Raw Content", "type": "boolean"}, "include_domains": {"default": [], "description": "A list of domains to specifically include in the search results, if the user asks to search on specific sites set this to the domain of the site", "items": {"type": "string"}, "title": "Include Domains", "type": "array"}, "exclude_domains": {"default": [], "description": "List of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "country": {"default": "", "description": "Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.", "title": "Country", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}, "start_date": {"default": "", "description": "Will return all results after the specified start date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "Start Date", "type": "string"}, "end_date": {"default": "", "description": "Will return all results before the specified end date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "End Date", "type": "string"}}, "required": ["query"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_extract", "description": "Extract and process content from specific web pages. Use this tool when you have URLs and need to get the full text content from those pages. Returns clean, structured content in markdown or text format. Useful for reading articles, documentation, or any web page content that you need to analyze or reference.", "parameters": {"properties": {"urls": {"description": "List of URLs to extract content from", "items": {"type": "string"}, "title": "Urls", "type": "array"}, "extract_depth": {"default": "basic", "description": "Depth of extraction - 'basic' or 'advanced', if usrls are linkedin use 'advanced' or if explicitly told to use advanced", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "include_images": {"default": false, "description": "Include a list of images extracted from the urls in the response", "title": "Include Images", "type": "boolean"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["urls"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_crawl", "description": "Crawl multiple pages from a website starting from a base URL. Use this tool when you need to gather information from multiple related pages across a website or explore a site's structure. It follows internal links and extracts content from multiple pages, but truncates content to 500 characters per page. For full content extraction, use tavily_map to discover URLs first, then tavily_extract to get complete content from specific pages. Useful for comprehensive research on documentation sites, blogs, or when you need to understand the full scope of information available on a website.", "parameters": {"properties": {"url": {"description": "The root URL to begin the crawl", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the crawl. Defines how far from the base URL the crawler can explore.", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler. Instructions specify which types of pages the crawler should return.", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}, "include_images": {"default": false, "description": "Whether to include images in the crawl results", "title": "Include Images", "type": "boolean"}, "extract_depth": {"default": "basic", "description": "Advanced extraction retrieves more data, including tables and embedded content, with higher success but may increase latency", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_map", "description": "Map and discover the structure of a website by finding all its URLs and pages. Use this tool when you need to understand a website's organization, find specific pages, or get an overview of all available content without extracting the actual text. Returns a structured list of URLs and their relationships. Useful for site exploration, finding documentation pages, or understanding how a website is organized.", "parameters": {"properties": {"url": {"description": "The root URL to begin the mapping", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the mapping. Defines how far from the base URL the crawler can explore", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "generate_funnel_chart", "description": "Generate a funnel chart to visualize the progressive reduction of data as it passes through stages, such as, the conversion rates of users from visiting a website to completing a purchase.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for funnel chart, such as, [{ category: '浏览网站', value: 50000 }, { category: '放入购物车', value: 35000 }, { category: '生成订单', value: 25000 }, { category: '支付订单', value: 15000 }, { category: '完成交易', value: 8000 }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}], "tool_calls": {"id": "call_23d2702d597c4a67afc269", "function": {"arguments": "{\"keywords\": \"Italian Restaurants\", \"city\": \"New York\"}", "name": "maps_text_search"}, "type": "function"}}, {"messages": [{"role": "user", "content": "Google Maps Find New York Times Square Italian Restaurants"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_23d2702d597c4a67afc269", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"Italian Restaurants\", \"city\": \"New York\"}"}}]}, {"role": "tool", "tool_call_id": "call_23d2702d597c4a67afc269", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[]}\"}]"}], "tools": [{"type": "function", "function": {"name": "maps_direction_bicycling", "description": "骑行路径规划用于规划骑行通勤方案,规划时会考虑天桥、单行线、封路等情况。最大支持 500km 的骑行路线规划", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_driving", "description": "驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据。", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_transit_integrated", "description": "根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}, "city": {"type": "string", "description": "公共交通规划起点城市"}, "cityd": {"type": "string", "description": "公共交通规划终点城市"}}, "required": ["origin", "destination", "city", "cityd"]}}}, {"type": "function", "function": {"name": "maps_direction_walking", "description": "根据输入起点终点经纬度坐标规划100km 以内的步行通勤方案,并且返回通勤方案的数据", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经度,纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经度,纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_distance", "description": "测量两个经纬度坐标之间的距离,支持驾车、步行以及球面距离测量", "parameters": {"type": "object", "properties": {"origins": {"type": "string", "description": "起点经度,纬度,可以传多个坐标,使用竖线隔离,比如120,30|120,31,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "终点经度,纬度,坐标格式为:经度,纬度"}, "type": {"type": "string", "description": "距离测量类型,1代表驾车距离测量,0代表直线距离测量,3步行距离测量"}}, "required": ["origins", "destination"]}}}, {"type": "function", "function": {"name": "maps_geo", "description": "将详细的结构化地址转换为经纬度坐标。支持对地标性名胜景区、建筑物名称解析为经纬度坐标", "parameters": {"type": "object", "properties": {"address": {"type": "string", "description": "待解析的结构化地址信息"}, "city": {"type": "string", "description": "指定查询的城市"}}, "required": ["address"]}}}, {"type": "function", "function": {"name": "maps_regeocode", "description": "将一个高德经纬度坐标转换为行政区划地址信息", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "经纬度"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "maps_ip_location", "description": "IP 定位根据用户输入的 IP 地址,定位 IP 的所在位置", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "IP地址"}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "maps_schema_personal_map", "description": "用于行程规划结果在高德地图展示。将行程规划位置点按照行程顺序填入lineList,返回结果为高德地图打开的URI链接,该结果不需总结,直接返回!", "parameters": {"type": "object", "properties": {"orgName": {"type": "string", "description": "行程规划地图小程序名称"}, "lineList": {"type": "array", "description": "行程列表", "items": {"type": "object", "properties": {"title": {"type": "string", "description": "行程名称描述(按行程顺序)"}, "pointInfoList": {"type": "array", "description": "行程目标位置点描述", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "行程目标位置点名称"}, "lon": {"type": "number", "description": "行程目标位置点经度"}, "lat": {"type": "number", "description": "行程目标位置点纬度"}, "poiId": {"type": "string", "description": "行程目标位置点POIID"}}, "required": ["name", "lon", "lat", "poiId"]}}}, "required": ["title", "pointInfoList"]}}}, "required": ["orgName", "lineList"]}}}, {"type": "function", "function": {"name": "maps_around_search", "description": "周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "搜索关键词"}, "location": {"type": "string", "description": "中心点经度纬度"}, "radius": {"type": "string", "description": "搜索半径"}}, "required": ["keywords", "location"]}}}, {"type": "function", "function": {"name": "maps_search_detail", "description": "查询关键词搜或者周边搜获取到的POI ID的详细信息", "parameters": {"type": "object", "properties": {"id": {"type": "string", "description": "关键词搜或者周边搜获取到的POI ID"}}, "required": ["id"]}}}, {"type": "function", "function": {"name": "maps_text_search", "description": "关键字搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "查询关键字"}, "city": {"type": "string", "description": "查询城市"}, "citylimit": {"type": "boolean", "default": false, "description": "是否限制城市范围内搜索,默认不限制"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "maps_search_places", "description": "Search for places using Google Places API", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Search query"}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}}, "description": "Optional center point for the search"}, "radius": {"type": "number", "description": "Search radius in meters (max 50000)"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "search_images", "description": " Get Public Available Stock Symbols from Global Marketplace\n\n Args:\n query: str, query used in Bing search engine\n limit: int, number of images information returned\n \n Return: \n str: json str with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query": {"default": "", "title": "Query", "type": "string"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "title": "search_imagesArguments", "type": "object"}}}, {"type": "function", "function": {"name": "search_images_batch", "description": " Batch Method of Search Images From Bing Web Search\n\n Args:\n query_list: List[str], List of query used in Bing Image search engine\n limit: int, number of images information returned\n \n Return: \n Dict: json Dict with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query_list": {"items": {"type": "string"}, "title": "Query List", "type": "array"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "required": ["query_list"], "title": "search_images_batchArguments", "type": "object"}}}, {"type": "function", "function": {"name": "tavily_search", "description": "Search the web for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts. The search results will include relevant snippets and URLs from web pages. This is particularly useful for questions about current events, technology updates, or any topic that requires recent information.", "parameters": {"properties": {"query": {"description": "Search query", "title": "Query", "type": "string"}, "max_results": {"default": 5, "description": "The maximum number of search results to return", "title": "Max Results", "type": "integer"}, "search_depth": {"default": "basic", "description": "The depth of the search. It can be 'basic' or 'advanced'", "enum": ["basic", "advanced"], "title": "Search Depth", "type": "string"}, "topic": {"default": "general", "description": "The category of the search. This will determine which of our agents will be used for the search", "enum": ["general", "news", "finance"], "title": "Topic", "type": "string"}, "days": {"default": 30, "description": "The number of days back from the current date to include in the search results. This specifies the time frame of data to be retrieved. Please note that this feature is only available when using the 'news' search topic", "title": "Days", "type": "integer"}, "time_range": {"default": "month", "description": "The time range back from the current date to include in the search results. This feature is available for both 'general' and 'news' search topics", "enum": ["day", "week", "month", "year", "d", "w", "m", "y"], "title": "Time Range", "type": "string"}, "include_images": {"default": false, "description": "Include a list of query-related images in the response", "title": "Include Images", "type": "boolean"}, "include_image_descriptions": {"default": false, "description": "Include a list of query-related images and their descriptions in the response", "title": "Include Image Descriptions", "type": "boolean"}, "include_raw_content": {"default": false, "description": "Include the cleaned and parsed HTML content of each search result", "title": "Include Raw Content", "type": "boolean"}, "include_domains": {"default": [], "description": "A list of domains to specifically include in the search results, if the user asks to search on specific sites set this to the domain of the site", "items": {"type": "string"}, "title": "Include Domains", "type": "array"}, "exclude_domains": {"default": [], "description": "List of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "country": {"default": "", "description": "Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.", "title": "Country", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}, "start_date": {"default": "", "description": "Will return all results after the specified start date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "Start Date", "type": "string"}, "end_date": {"default": "", "description": "Will return all results before the specified end date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "End Date", "type": "string"}}, "required": ["query"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_extract", "description": "Extract and process content from specific web pages. Use this tool when you have URLs and need to get the full text content from those pages. Returns clean, structured content in markdown or text format. Useful for reading articles, documentation, or any web page content that you need to analyze or reference.", "parameters": {"properties": {"urls": {"description": "List of URLs to extract content from", "items": {"type": "string"}, "title": "Urls", "type": "array"}, "extract_depth": {"default": "basic", "description": "Depth of extraction - 'basic' or 'advanced', if usrls are linkedin use 'advanced' or if explicitly told to use advanced", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "include_images": {"default": false, "description": "Include a list of images extracted from the urls in the response", "title": "Include Images", "type": "boolean"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["urls"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_crawl", "description": "Crawl multiple pages from a website starting from a base URL. Use this tool when you need to gather information from multiple related pages across a website or explore a site's structure. It follows internal links and extracts content from multiple pages, but truncates content to 500 characters per page. For full content extraction, use tavily_map to discover URLs first, then tavily_extract to get complete content from specific pages. Useful for comprehensive research on documentation sites, blogs, or when you need to understand the full scope of information available on a website.", "parameters": {"properties": {"url": {"description": "The root URL to begin the crawl", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the crawl. Defines how far from the base URL the crawler can explore.", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler. Instructions specify which types of pages the crawler should return.", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}, "include_images": {"default": false, "description": "Whether to include images in the crawl results", "title": "Include Images", "type": "boolean"}, "extract_depth": {"default": "basic", "description": "Advanced extraction retrieves more data, including tables and embedded content, with higher success but may increase latency", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_map", "description": "Map and discover the structure of a website by finding all its URLs and pages. Use this tool when you need to understand a website's organization, find specific pages, or get an overview of all available content without extracting the actual text. Returns a structured list of URLs and their relationships. Useful for site exploration, finding documentation pages, or understanding how a website is organized.", "parameters": {"properties": {"url": {"description": "The root URL to begin the mapping", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the mapping. Defines how far from the base URL the crawler can explore", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "generate_funnel_chart", "description": "Generate a funnel chart to visualize the progressive reduction of data as it passes through stages, such as, the conversion rates of users from visiting a website to completing a purchase.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for funnel chart, such as, [{ category: '浏览网站', value: 50000 }, { category: '放入购物车', value: 35000 }, { category: '生成订单', value: 25000 }, { category: '支付订单', value: 15000 }, { category: '完成交易', value: 8000 }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}], "tool_calls": {"id": "call_954df724be4e4cb5bd96f0", "function": {"arguments": "{\"address\": \"Times Square, New York\"}", "name": "maps_geo"}, "type": "function"}}, {"messages": [{"role": "user", "content": "Google Maps Find New York Times Square Italian Restaurants"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_23d2702d597c4a67afc269", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"Italian Restaurants\", \"city\": \"New York\"}"}}]}, {"role": "tool", "tool_call_id": "call_23d2702d597c4a67afc269", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[]}\"}]"}], "tools": [{"type": "function", "function": {"name": "maps_direction_bicycling", "description": "骑行路径规划用于规划骑行通勤方案,规划时会考虑天桥、单行线、封路等情况。最大支持 500km 的骑行路线规划", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_driving", "description": "驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据。", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_transit_integrated", "description": "根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}, "city": {"type": "string", "description": "公共交通规划起点城市"}, "cityd": {"type": "string", "description": "公共交通规划终点城市"}}, "required": ["origin", "destination", "city", "cityd"]}}}, {"type": "function", "function": {"name": "maps_direction_walking", "description": "根据输入起点终点经纬度坐标规划100km 以内的步行通勤方案,并且返回通勤方案的数据", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经度,纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经度,纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_distance", "description": "测量两个经纬度坐标之间的距离,支持驾车、步行以及球面距离测量", "parameters": {"type": "object", "properties": {"origins": {"type": "string", "description": "起点经度,纬度,可以传多个坐标,使用竖线隔离,比如120,30|120,31,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "终点经度,纬度,坐标格式为:经度,纬度"}, "type": {"type": "string", "description": "距离测量类型,1代表驾车距离测量,0代表直线距离测量,3步行距离测量"}}, "required": ["origins", "destination"]}}}, {"type": "function", "function": {"name": "maps_geo", "description": "将详细的结构化地址转换为经纬度坐标。支持对地标性名胜景区、建筑物名称解析为经纬度坐标", "parameters": {"type": "object", "properties": {"address": {"type": "string", "description": "待解析的结构化地址信息"}, "city": {"type": "string", "description": "指定查询的城市"}}, "required": ["address"]}}}, {"type": "function", "function": {"name": "maps_regeocode", "description": "将一个高德经纬度坐标转换为行政区划地址信息", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "经纬度"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "maps_ip_location", "description": "IP 定位根据用户输入的 IP 地址,定位 IP 的所在位置", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "IP地址"}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "maps_schema_personal_map", "description": "用于行程规划结果在高德地图展示。将行程规划位置点按照行程顺序填入lineList,返回结果为高德地图打开的URI链接,该结果不需总结,直接返回!", "parameters": {"type": "object", "properties": {"orgName": {"type": "string", "description": "行程规划地图小程序名称"}, "lineList": {"type": "array", "description": "行程列表", "items": {"type": "object", "properties": {"title": {"type": "string", "description": "行程名称描述(按行程顺序)"}, "pointInfoList": {"type": "array", "description": "行程目标位置点描述", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "行程目标位置点名称"}, "lon": {"type": "number", "description": "行程目标位置点经度"}, "lat": {"type": "number", "description": "行程目标位置点纬度"}, "poiId": {"type": "string", "description": "行程目标位置点POIID"}}, "required": ["name", "lon", "lat", "poiId"]}}}, "required": ["title", "pointInfoList"]}}}, "required": ["orgName", "lineList"]}}}, {"type": "function", "function": {"name": "maps_around_search", "description": "周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "搜索关键词"}, "location": {"type": "string", "description": "中心点经度纬度"}, "radius": {"type": "string", "description": "搜索半径"}}, "required": ["keywords", "location"]}}}, {"type": "function", "function": {"name": "maps_search_detail", "description": "查询关键词搜或者周边搜获取到的POI ID的详细信息", "parameters": {"type": "object", "properties": {"id": {"type": "string", "description": "关键词搜或者周边搜获取到的POI ID"}}, "required": ["id"]}}}, {"type": "function", "function": {"name": "maps_text_search", "description": "关键字搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "查询关键字"}, "city": {"type": "string", "description": "查询城市"}, "citylimit": {"type": "boolean", "default": false, "description": "是否限制城市范围内搜索,默认不限制"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "maps_search_places", "description": "Search for places using Google Places API", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Search query"}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}}, "description": "Optional center point for the search"}, "radius": {"type": "number", "description": "Search radius in meters (max 50000)"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "search_images", "description": " Get Public Available Stock Symbols from Global Marketplace\n\n Args:\n query: str, query used in Bing search engine\n limit: int, number of images information returned\n \n Return: \n str: json str with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query": {"default": "", "title": "Query", "type": "string"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "title": "search_imagesArguments", "type": "object"}}}, {"type": "function", "function": {"name": "search_images_batch", "description": " Batch Method of Search Images From Bing Web Search\n\n Args:\n query_list: List[str], List of query used in Bing Image search engine\n limit: int, number of images information returned\n \n Return: \n Dict: json Dict with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query_list": {"items": {"type": "string"}, "title": "Query List", "type": "array"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "required": ["query_list"], "title": "search_images_batchArguments", "type": "object"}}}, {"type": "function", "function": {"name": "tavily_search", "description": "Search the web for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts. The search results will include relevant snippets and URLs from web pages. This is particularly useful for questions about current events, technology updates, or any topic that requires recent information.", "parameters": {"properties": {"query": {"description": "Search query", "title": "Query", "type": "string"}, "max_results": {"default": 5, "description": "The maximum number of search results to return", "title": "Max Results", "type": "integer"}, "search_depth": {"default": "basic", "description": "The depth of the search. It can be 'basic' or 'advanced'", "enum": ["basic", "advanced"], "title": "Search Depth", "type": "string"}, "topic": {"default": "general", "description": "The category of the search. This will determine which of our agents will be used for the search", "enum": ["general", "news", "finance"], "title": "Topic", "type": "string"}, "days": {"default": 30, "description": "The number of days back from the current date to include in the search results. This specifies the time frame of data to be retrieved. Please note that this feature is only available when using the 'news' search topic", "title": "Days", "type": "integer"}, "time_range": {"default": "month", "description": "The time range back from the current date to include in the search results. This feature is available for both 'general' and 'news' search topics", "enum": ["day", "week", "month", "year", "d", "w", "m", "y"], "title": "Time Range", "type": "string"}, "include_images": {"default": false, "description": "Include a list of query-related images in the response", "title": "Include Images", "type": "boolean"}, "include_image_descriptions": {"default": false, "description": "Include a list of query-related images and their descriptions in the response", "title": "Include Image Descriptions", "type": "boolean"}, "include_raw_content": {"default": false, "description": "Include the cleaned and parsed HTML content of each search result", "title": "Include Raw Content", "type": "boolean"}, "include_domains": {"default": [], "description": "A list of domains to specifically include in the search results, if the user asks to search on specific sites set this to the domain of the site", "items": {"type": "string"}, "title": "Include Domains", "type": "array"}, "exclude_domains": {"default": [], "description": "List of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "country": {"default": "", "description": "Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.", "title": "Country", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}, "start_date": {"default": "", "description": "Will return all results after the specified start date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "Start Date", "type": "string"}, "end_date": {"default": "", "description": "Will return all results before the specified end date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "End Date", "type": "string"}}, "required": ["query"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_extract", "description": "Extract and process content from specific web pages. Use this tool when you have URLs and need to get the full text content from those pages. Returns clean, structured content in markdown or text format. Useful for reading articles, documentation, or any web page content that you need to analyze or reference.", "parameters": {"properties": {"urls": {"description": "List of URLs to extract content from", "items": {"type": "string"}, "title": "Urls", "type": "array"}, "extract_depth": {"default": "basic", "description": "Depth of extraction - 'basic' or 'advanced', if usrls are linkedin use 'advanced' or if explicitly told to use advanced", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "include_images": {"default": false, "description": "Include a list of images extracted from the urls in the response", "title": "Include Images", "type": "boolean"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["urls"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_crawl", "description": "Crawl multiple pages from a website starting from a base URL. Use this tool when you need to gather information from multiple related pages across a website or explore a site's structure. It follows internal links and extracts content from multiple pages, but truncates content to 500 characters per page. For full content extraction, use tavily_map to discover URLs first, then tavily_extract to get complete content from specific pages. Useful for comprehensive research on documentation sites, blogs, or when you need to understand the full scope of information available on a website.", "parameters": {"properties": {"url": {"description": "The root URL to begin the crawl", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the crawl. Defines how far from the base URL the crawler can explore.", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler. Instructions specify which types of pages the crawler should return.", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}, "include_images": {"default": false, "description": "Whether to include images in the crawl results", "title": "Include Images", "type": "boolean"}, "extract_depth": {"default": "basic", "description": "Advanced extraction retrieves more data, including tables and embedded content, with higher success but may increase latency", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_map", "description": "Map and discover the structure of a website by finding all its URLs and pages. Use this tool when you need to understand a website's organization, find specific pages, or get an overview of all available content without extracting the actual text. Returns a structured list of URLs and their relationships. Useful for site exploration, finding documentation pages, or understanding how a website is organized.", "parameters": {"properties": {"url": {"description": "The root URL to begin the mapping", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the mapping. Defines how far from the base URL the crawler can explore", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "generate_funnel_chart", "description": "Generate a funnel chart to visualize the progressive reduction of data as it passes through stages, such as, the conversion rates of users from visiting a website to completing a purchase.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for funnel chart, such as, [{ category: '浏览网站', value: 50000 }, { category: '放入购物车', value: 35000 }, { category: '生成订单', value: 25000 }, { category: '支付订单', value: 15000 }, { category: '完成交易', value: 8000 }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}], "tool_calls": {"id": "call_1aacafcb56ae4fb98bece5", "function": {"arguments": "{\"address\": \"Times Square, New York\"}", "name": "maps_geo"}, "type": "function"}}]}
{"model": "qwen3-plus-latest", "session_id": "TEMP_SESSION_123", "trace_id": "d37c48ca-43df-4c49-836f-631a67f91ff2", "function_calls": [{"messages": [{"role": "user", "content": "Search Greek Island Ocean View Pictures"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_47726ab9b4454619ba9a4b", "type": "tool_use", "function": {"name": "search_images", "arguments": "{\"query\": \"Greek Island Ocean View\", \"limit\": 10}"}}]}, {"role": "tool", "tool_call_id": "call_47726ab9b4454619ba9a4b", "name": "search_images", "content": "{\n \"title\": \"Zakynthos Island In The Ocean In Greece Navajo Beach Sea Sun Sky ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.DjauP5gABijxdtKjX6sXhQHaEo&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.DjauP5gABijxdtKjX6sXhQHaEo&pid=15.1\"\n} {\n \"title\": \"Download Majestic Ocean View from Crete, Greece Wallpaper | Wallpapers.com\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.IPMK1ZzO2dgcGZvqGNKtxwHaEK&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.IPMK1ZzO2dgcGZvqGNKtxwHaEK&pid=15.1\"\n} {\n \"title\": \"Santorini island stock image. Image of cyclades, city - 54351365\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.yElhwFATuZ2Rv-GXAvPqCQHaJ4&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.yElhwFATuZ2Rv-GXAvPqCQHaJ4&pid=15.1\"\n} {\n \"title\": \"Greek, Island, Greece, Beach, Sea, Zakynthos, Shipwreck, Cliff, Boat ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.92vik0xfJbvJIaFxIp2rLwHaFj&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.92vik0xfJbvJIaFxIp2rLwHaFj&pid=15.1\"\n} {\n \"title\": \"Wallpaper : landscape, sea, bay, rock, shore, coast, cliff, Zakynthos ...\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.guu0PMRrKial6xvncv2UGAHaEK&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.guu0PMRrKial6xvncv2UGAHaEK&pid=15.1\"\n} {\n \"title\": \"Coast, Ocean, Navagio, Greece, Beaches, Great Sunsets - Beautiful views ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.p5tsUt17_gMNOWmBNydaZAHaE8&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.p5tsUt17_gMNOWmBNydaZAHaE8&pid=15.1\"\n} {\n \"title\": \"Terrace with Beautiful Ocean View at Santorini Island Cliffs Greece ...\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.FHV7fPJ8Mtc8_ReN67kAVgHaE7&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.FHV7fPJ8Mtc8_ReN67kAVgHaE7&pid=15.1\"\n} {\n \"title\": \"Greece Beach Wallpaper - WallpaperSafari\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.ON_C_b8flLBeneWWI4N0YwHaEK&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.ON_C_b8flLBeneWWI4N0YwHaEK&pid=15.1\"\n} {\n \"title\": \"bay, beach, birds eye view, blue, cliff, coast, greece, island ...\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.M29IARGkwTnauJKIbsaU2AHaEc&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.M29IARGkwTnauJKIbsaU2AHaEc&pid=15.1\"\n} {\n \"title\": \"Gulf, sea, Zakynthos Island, Navagio Beach, Greece - Beautiful views ...\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.NBSpal09R0vtuUmBDjzTwwHaE8&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.NBSpal09R0vtuUmBDjzTwwHaE8&pid=15.1\"\n} {\n \"title\": \"Download wallpapers Greek island, Ionian sea, seascape, travel concepts ...\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.OxWFb8WsNYYaAh34PXvJOwHaEo&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.OxWFb8WsNYYaAh34PXvJOwHaEo&pid=15.1\"\n} {\n \"title\": \"Free Images : beach, landscape, sea, coast, water, nature, outdoor ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.UYJtnMVqFfBdZlQblcBENQHaLM&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.UYJtnMVqFfBdZlQblcBENQHaLM&pid=15.1\"\n} {\n \"title\": \"Aerial View of an Island Surrounded by Beautiful, Clear Blue Ocean in ...\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.5OZLcwz8lZKpU0unkt9EbAHaE7&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.5OZLcwz8lZKpU0unkt9EbAHaE7&pid=15.1\"\n} {\n \"title\": \"Greek Island Aerial View of Sea Mixed Media by Design Turnpike - Fine ...\",\n \"thumbnail_url\": \"http://ts1.explicit.bing.net/th?id=OIP.LkTNsDdchf4GDg77u85zvAHaFj&pid=15.1\",\n \"url\": \"http://ts1.explicit.bing.net/th?id=OIP.LkTNsDdchf4GDg77u85zvAHaFj&pid=15.1\"\n} {\n \"title\": \"14 Best Greek Islands and How to Choose Which One to Visit\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.eDy42TZIJsp-zYhoOQqgvAHaE8&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.eDy42TZIJsp-zYhoOQqgvAHaE8&pid=15.1\"\n} {\n \"title\": \"Best Breathtaking Views in Greece | 2021 - A Broken Backpack\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.WkeJIeKCIMf3PlSy8oiRRAHaEm&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.WkeJIeKCIMf3PlSy8oiRRAHaEm&pid=15.1\"\n} {\n \"title\": \"City with ocean view Oia, Santorini, Greece Stock Photo - Alamy\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.wVqsz4ys4fPqCM_DF6Tz1wHaFc&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.wVqsz4ys4fPqCM_DF6Tz1wHaFc&pid=15.1\"\n} {\n \"title\": \"Free Images : sea, coast, ocean, architecture, sky, view, vacation ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP._MJASLcu3mVtiOoq1Q4G6wHaE6&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP._MJASLcu3mVtiOoq1Q4G6wHaE6&pid=15.1\"\n} {\n \"title\": \"20 Best Beaches In Greece - vrogue.co\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.BbY2uKbntdbKm3YR06V33AHaFj&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.BbY2uKbntdbKm3YR06V33AHaFj&pid=15.1\"\n} {\n \"title\": \"35 Best Beaches in Greece and the Greek Islands\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.O0Hn6RqsLy919LiyP2v0PQHaE8&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.O0Hn6RqsLy919LiyP2v0PQHaE8&pid=15.1\"\n} {\n \"title\": \"navagio beach, Zakynthos, Greek, Greece, sea, mountains, island, cliff ...\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.rjf4UJtNoXVBhNNUKMLwDgHaEK&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.rjf4UJtNoXVBhNNUKMLwDgHaEK&pid=15.1\"\n} {\n \"title\": \"The 10 Best Greek Islands To Visit - WorldAtlas\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.AlkAPM6HtDWbqzyF1l2SeAHaE3&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.AlkAPM6HtDWbqzyF1l2SeAHaE3&pid=15.1\"\n} {\n \"title\": \"19 Beautiful Islands In Greece You Have To Visit - Hand Luggage Only ...\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.-D77fBdsf2k0F3-Py2LQAQHaEw&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.-D77fBdsf2k0F3-Py2LQAQHaEw&pid=15.1\"\n} {\n \"title\": \"Free Images : sea, coast, rock, ocean, cliff, cove, holiday, lagoon ...\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.IQemaswUPgkKT-GzqXq-1wHaFj&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.IQemaswUPgkKT-GzqXq-1wHaFj&pid=15.1\"\n} {\n \"title\": \"Greece Wallpapers for Desktop - WallpaperSafari\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.quk1Prj7-H9PPQ1JwDzvwwHaFj&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.quk1Prj7-H9PPQ1JwDzvwwHaFj&pid=15.1\"\n} {\n \"title\": \"Helicopter sightseeing in Santorini, the Aegean Island - Greek Air Taxi ...\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.uMNE-r9j0bLxE-YlVqitPgHaHa&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.uMNE-r9j0bLxE-YlVqitPgHaHa&pid=15.1\"\n} {\n \"title\": \"Wallpaper : 1920x1200 px, architecture, balcony, boat, buildings ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.0esAW0lD_k482TcJZf7GqQHaEo&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.0esAW0lD_k482TcJZf7GqQHaEo&pid=15.1\"\n} {\n \"title\": \"Premium Photo | Idyllic Greek Island Alleyway with Ocean View ...\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.uraIg-VY4td4yAB3MCksAwHaEJ&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.uraIg-VY4td4yAB3MCksAwHaEJ&pid=15.1\"\n} {\n \"title\": \"Above sea view greek island santorini oia greece islands hi-res stock ...\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.AA2YpQ4_Ai3CJ56UsmuS3AHaFc&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.AA2YpQ4_Ai3CJ56UsmuS3AHaFc&pid=15.1\"\n} {\n \"title\": \"Greece & Greek Isles Cruises: Discover the Beauty | Royal Caribbean Cruises\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.pjq-mnCjpbvahu6_ijaTLAHaE8&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.pjq-mnCjpbvahu6_ijaTLAHaE8&pid=15.1\"\n} {\n \"title\": \"The 8 Most Beautiful Greek Islands for a Beach Getaway\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.9K38v9tPd2O35U-FJTL9TAHaDn&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.9K38v9tPd2O35U-FJTL9TAHaDn&pid=15.1\"\n} {\n \"title\": \"The best views from the Greek islands | Lartisien\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.pgfvMze8gujjpBWYyWkD7QHaE8&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.pgfvMze8gujjpBWYyWkD7QHaE8&pid=15.1\"\n} {\n \"title\": \"#1189123 landscape, mountains, boat, sea, bay, nature, photography ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.qvaGH-xCLIY2uCiqHtWKPgHaEo&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.qvaGH-xCLIY2uCiqHtWKPgHaEo&pid=15.1\"\n} {\n \"title\": \"Free Images : beach, landscape, sea, coast, water, nature, outdoor ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.1ThRumI7dZEVjqyKX2-7nAHaEr&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.1ThRumI7dZEVjqyKX2-7nAHaEr&pid=15.1\"\n} {\n \"title\": \"Village overlooking the sea greek islands hi-res stock photography and ...\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.W_m-ywqLqO8dUs8G81-8gQHaFc&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.W_m-ywqLqO8dUs8G81-8gQHaFc&pid=15.1\"\n}"}], "tools": [{"type": "function", "function": {"name": "maps_direction_bicycling", "description": "骑行路径规划用于规划骑行通勤方案,规划时会考虑天桥、单行线、封路等情况。最大支持 500km 的骑行路线规划", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_driving", "description": "驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据。", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_transit_integrated", "description": "根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}, "city": {"type": "string", "description": "公共交通规划起点城市"}, "cityd": {"type": "string", "description": "公共交通规划终点城市"}}, "required": ["origin", "destination", "city", "cityd"]}}}, {"type": "function", "function": {"name": "maps_direction_walking", "description": "根据输入起点终点经纬度坐标规划100km 以内的步行通勤方案,并且返回通勤方案的数据", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经度,纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经度,纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_distance", "description": "测量两个经纬度坐标之间的距离,支持驾车、步行以及球面距离测量", "parameters": {"type": "object", "properties": {"origins": {"type": "string", "description": "起点经度,纬度,可以传多个坐标,使用竖线隔离,比如120,30|120,31,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "终点经度,纬度,坐标格式为:经度,纬度"}, "type": {"type": "string", "description": "距离测量类型,1代表驾车距离测量,0代表直线距离测量,3步行距离测量"}}, "required": ["origins", "destination"]}}}, {"type": "function", "function": {"name": "maps_geo", "description": "将详细的结构化地址转换为经纬度坐标。支持对地标性名胜景区、建筑物名称解析为经纬度坐标", "parameters": {"type": "object", "properties": {"address": {"type": "string", "description": "待解析的结构化地址信息"}, "city": {"type": "string", "description": "指定查询的城市"}}, "required": ["address"]}}}, {"type": "function", "function": {"name": "maps_regeocode", "description": "将一个高德经纬度坐标转换为行政区划地址信息", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "经纬度"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "maps_ip_location", "description": "IP 定位根据用户输入的 IP 地址,定位 IP 的所在位置", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "IP地址"}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "maps_schema_personal_map", "description": "用于行程规划结果在高德地图展示。将行程规划位置点按照行程顺序填入lineList,返回结果为高德地图打开的URI链接,该结果不需总结,直接返回!", "parameters": {"type": "object", "properties": {"orgName": {"type": "string", "description": "行程规划地图小程序名称"}, "lineList": {"type": "array", "description": "行程列表", "items": {"type": "object", "properties": {"title": {"type": "string", "description": "行程名称描述(按行程顺序)"}, "pointInfoList": {"type": "array", "description": "行程目标位置点描述", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "行程目标位置点名称"}, "lon": {"type": "number", "description": "行程目标位置点经度"}, "lat": {"type": "number", "description": "行程目标位置点纬度"}, "poiId": {"type": "string", "description": "行程目标位置点POIID"}}, "required": ["name", "lon", "lat", "poiId"]}}}, "required": ["title", "pointInfoList"]}}}, "required": ["orgName", "lineList"]}}}, {"type": "function", "function": {"name": "maps_around_search", "description": "周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "搜索关键词"}, "location": {"type": "string", "description": "中心点经度纬度"}, "radius": {"type": "string", "description": "搜索半径"}}, "required": ["keywords", "location"]}}}, {"type": "function", "function": {"name": "maps_search_detail", "description": "查询关键词搜或者周边搜获取到的POI ID的详细信息", "parameters": {"type": "object", "properties": {"id": {"type": "string", "description": "关键词搜或者周边搜获取到的POI ID"}}, "required": ["id"]}}}, {"type": "function", "function": {"name": "maps_text_search", "description": "关键字搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "查询关键字"}, "city": {"type": "string", "description": "查询城市"}, "citylimit": {"type": "boolean", "default": false, "description": "是否限制城市范围内搜索,默认不限制"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "maps_schema_navi", "description": " Schema唤醒客户端-导航页面,用于根据用户输入终点信息,返回一个拼装好的客户端唤醒URI,用户点击该URI即可唤起对应的客户端APP。唤起客户端后,会自动跳转到导航页面。", "parameters": {"type": "object", "properties": {"lon": {"type": "string", "description": "终点经度"}, "lat": {"type": "string", "description": "终点纬度"}}, "required": ["lon", "lat"]}}}, {"type": "function", "function": {"name": "maps_schema_take_taxi", "description": "根据用户输入的起点和终点信息,返回一个拼装好的客户端唤醒URI,直接唤起高德地图进行打车。直接展示生成的链接,不需要总结", "parameters": {"type": "object", "properties": {"slon": {"type": "string", "description": "起点经度"}, "slat": {"type": "string", "description": "起点纬度"}, "sname": {"type": "string", "description": "起点名称"}, "dlon": {"type": "string", "description": "终点经度"}, "dlat": {"type": "string", "description": "终点纬度"}, "dname": {"type": "string", "description": "终点名称"}}, "required": ["dlon", "dlat", "dname"]}}}, {"type": "function", "function": {"name": "maps_weather", "description": "根据城市名称或者标准adcode查询指定城市的天气", "parameters": {"type": "object", "properties": {"city": {"type": "string", "description": "城市名称或者adcode"}}, "required": ["city"]}}}, {"type": "function", "function": {"name": "maps_search_places", "description": "Search for places using Google Places API", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Search query"}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}}, "description": "Optional center point for the search"}, "radius": {"type": "number", "description": "Search radius in meters (max 50000)"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "search_images", "description": " Get Public Available Stock Symbols from Global Marketplace\n\n Args:\n query: str, query used in Bing search engine\n limit: int, number of images information returned\n \n Return: \n str: json str with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query": {"default": "", "title": "Query", "type": "string"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "title": "search_imagesArguments", "type": "object"}}}, {"type": "function", "function": {"name": "search_images_batch", "description": " Batch Method of Search Images From Bing Web Search\n\n Args:\n query_list: List[str], List of query used in Bing Image search engine\n limit: int, number of images information returned\n \n Return: \n Dict: json Dict with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query_list": {"items": {"type": "string"}, "title": "Query List", "type": "array"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "required": ["query_list"], "title": "search_images_batchArguments", "type": "object"}}}, {"type": "function", "function": {"name": "tavily_search", "description": "Search the web for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts. The search results will include relevant snippets and URLs from web pages. This is particularly useful for questions about current events, technology updates, or any topic that requires recent information.", "parameters": {"properties": {"query": {"description": "Search query", "title": "Query", "type": "string"}, "max_results": {"default": 5, "description": "The maximum number of search results to return", "title": "Max Results", "type": "integer"}, "search_depth": {"default": "basic", "description": "The depth of the search. It can be 'basic' or 'advanced'", "enum": ["basic", "advanced"], "title": "Search Depth", "type": "string"}, "topic": {"default": "general", "description": "The category of the search. This will determine which of our agents will be used for the search", "enum": ["general", "news", "finance"], "title": "Topic", "type": "string"}, "days": {"default": 30, "description": "The number of days back from the current date to include in the search results. This specifies the time frame of data to be retrieved. Please note that this feature is only available when using the 'news' search topic", "title": "Days", "type": "integer"}, "time_range": {"default": "month", "description": "The time range back from the current date to include in the search results. This feature is available for both 'general' and 'news' search topics", "enum": ["day", "week", "month", "year", "d", "w", "m", "y"], "title": "Time Range", "type": "string"}, "include_images": {"default": false, "description": "Include a list of query-related images in the response", "title": "Include Images", "type": "boolean"}, "include_image_descriptions": {"default": false, "description": "Include a list of query-related images and their descriptions in the response", "title": "Include Image Descriptions", "type": "boolean"}, "include_raw_content": {"default": false, "description": "Include the cleaned and parsed HTML content of each search result", "title": "Include Raw Content", "type": "boolean"}, "include_domains": {"default": [], "description": "A list of domains to specifically include in the search results, if the user asks to search on specific sites set this to the domain of the site", "items": {"type": "string"}, "title": "Include Domains", "type": "array"}, "exclude_domains": {"default": [], "description": "List of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "country": {"default": "", "description": "Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.", "title": "Country", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}, "start_date": {"default": "", "description": "Will return all results after the specified start date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "Start Date", "type": "string"}, "end_date": {"default": "", "description": "Will return all results before the specified end date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "End Date", "type": "string"}}, "required": ["query"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_crawl", "description": "Crawl multiple pages from a website starting from a base URL. Use this tool when you need to gather information from multiple related pages across a website or explore a site's structure. It follows internal links and extracts content from multiple pages, but truncates content to 500 characters per page. For full content extraction, use tavily_map to discover URLs first, then tavily_extract to get complete content from specific pages. Useful for comprehensive research on documentation sites, blogs, or when you need to understand the full scope of information available on a website.", "parameters": {"properties": {"url": {"description": "The root URL to begin the crawl", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the crawl. Defines how far from the base URL the crawler can explore.", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler. Instructions specify which types of pages the crawler should return.", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}, "include_images": {"default": false, "description": "Whether to include images in the crawl results", "title": "Include Images", "type": "boolean"}, "extract_depth": {"default": "basic", "description": "Advanced extraction retrieves more data, including tables and embedded content, with higher success but may increase latency", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["url"], "type": "object"}}}], "tool_calls": {"id": "call_47726ab9b4454619ba9a4b", "function": {"arguments": "{\"query\": \"Greek Island Ocean View\", \"limit\": 10}", "name": "search_images"}, "type": "function"}}, {"messages": [{"role": "user", "content": "Search Greek Island Ocean View Pictures"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_47726ab9b4454619ba9a4b", "type": "tool_use", "function": {"name": "search_images", "arguments": "{\"query\": \"Greek Island Ocean View\", \"limit\": 10}"}}]}, {"role": "tool", "tool_call_id": "call_47726ab9b4454619ba9a4b", "name": "search_images", "content": "{\n \"title\": \"Zakynthos Island In The Ocean In Greece Navajo Beach Sea Sun Sky ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.DjauP5gABijxdtKjX6sXhQHaEo&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.DjauP5gABijxdtKjX6sXhQHaEo&pid=15.1\"\n} {\n \"title\": \"Download Majestic Ocean View from Crete, Greece Wallpaper | Wallpapers.com\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.IPMK1ZzO2dgcGZvqGNKtxwHaEK&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.IPMK1ZzO2dgcGZvqGNKtxwHaEK&pid=15.1\"\n} {\n \"title\": \"Santorini island stock image. Image of cyclades, city - 54351365\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.yElhwFATuZ2Rv-GXAvPqCQHaJ4&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.yElhwFATuZ2Rv-GXAvPqCQHaJ4&pid=15.1\"\n} {\n \"title\": \"Greek, Island, Greece, Beach, Sea, Zakynthos, Shipwreck, Cliff, Boat ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.92vik0xfJbvJIaFxIp2rLwHaFj&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.92vik0xfJbvJIaFxIp2rLwHaFj&pid=15.1\"\n} {\n \"title\": \"Wallpaper : landscape, sea, bay, rock, shore, coast, cliff, Zakynthos ...\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.guu0PMRrKial6xvncv2UGAHaEK&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.guu0PMRrKial6xvncv2UGAHaEK&pid=15.1\"\n} {\n \"title\": \"Coast, Ocean, Navagio, Greece, Beaches, Great Sunsets - Beautiful views ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.p5tsUt17_gMNOWmBNydaZAHaE8&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.p5tsUt17_gMNOWmBNydaZAHaE8&pid=15.1\"\n} {\n \"title\": \"Terrace with Beautiful Ocean View at Santorini Island Cliffs Greece ...\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.FHV7fPJ8Mtc8_ReN67kAVgHaE7&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.FHV7fPJ8Mtc8_ReN67kAVgHaE7&pid=15.1\"\n} {\n \"title\": \"Greece Beach Wallpaper - WallpaperSafari\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.ON_C_b8flLBeneWWI4N0YwHaEK&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.ON_C_b8flLBeneWWI4N0YwHaEK&pid=15.1\"\n} {\n \"title\": \"bay, beach, birds eye view, blue, cliff, coast, greece, island ...\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.M29IARGkwTnauJKIbsaU2AHaEc&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.M29IARGkwTnauJKIbsaU2AHaEc&pid=15.1\"\n} {\n \"title\": \"Gulf, sea, Zakynthos Island, Navagio Beach, Greece - Beautiful views ...\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.NBSpal09R0vtuUmBDjzTwwHaE8&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.NBSpal09R0vtuUmBDjzTwwHaE8&pid=15.1\"\n} {\n \"title\": \"Download wallpapers Greek island, Ionian sea, seascape, travel concepts ...\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.OxWFb8WsNYYaAh34PXvJOwHaEo&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.OxWFb8WsNYYaAh34PXvJOwHaEo&pid=15.1\"\n} {\n \"title\": \"Free Images : beach, landscape, sea, coast, water, nature, outdoor ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.UYJtnMVqFfBdZlQblcBENQHaLM&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.UYJtnMVqFfBdZlQblcBENQHaLM&pid=15.1\"\n} {\n \"title\": \"Aerial View of an Island Surrounded by Beautiful, Clear Blue Ocean in ...\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.5OZLcwz8lZKpU0unkt9EbAHaE7&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.5OZLcwz8lZKpU0unkt9EbAHaE7&pid=15.1\"\n} {\n \"title\": \"Greek Island Aerial View of Sea Mixed Media by Design Turnpike - Fine ...\",\n \"thumbnail_url\": \"http://ts1.explicit.bing.net/th?id=OIP.LkTNsDdchf4GDg77u85zvAHaFj&pid=15.1\",\n \"url\": \"http://ts1.explicit.bing.net/th?id=OIP.LkTNsDdchf4GDg77u85zvAHaFj&pid=15.1\"\n} {\n \"title\": \"14 Best Greek Islands and How to Choose Which One to Visit\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.eDy42TZIJsp-zYhoOQqgvAHaE8&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.eDy42TZIJsp-zYhoOQqgvAHaE8&pid=15.1\"\n} {\n \"title\": \"Best Breathtaking Views in Greece | 2021 - A Broken Backpack\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.WkeJIeKCIMf3PlSy8oiRRAHaEm&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.WkeJIeKCIMf3PlSy8oiRRAHaEm&pid=15.1\"\n} {\n \"title\": \"City with ocean view Oia, Santorini, Greece Stock Photo - Alamy\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.wVqsz4ys4fPqCM_DF6Tz1wHaFc&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.wVqsz4ys4fPqCM_DF6Tz1wHaFc&pid=15.1\"\n} {\n \"title\": \"Free Images : sea, coast, ocean, architecture, sky, view, vacation ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP._MJASLcu3mVtiOoq1Q4G6wHaE6&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP._MJASLcu3mVtiOoq1Q4G6wHaE6&pid=15.1\"\n} {\n \"title\": \"20 Best Beaches In Greece - vrogue.co\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.BbY2uKbntdbKm3YR06V33AHaFj&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.BbY2uKbntdbKm3YR06V33AHaFj&pid=15.1\"\n} {\n \"title\": \"35 Best Beaches in Greece and the Greek Islands\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.O0Hn6RqsLy919LiyP2v0PQHaE8&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.O0Hn6RqsLy919LiyP2v0PQHaE8&pid=15.1\"\n} {\n \"title\": \"navagio beach, Zakynthos, Greek, Greece, sea, mountains, island, cliff ...\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.rjf4UJtNoXVBhNNUKMLwDgHaEK&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.rjf4UJtNoXVBhNNUKMLwDgHaEK&pid=15.1\"\n} {\n \"title\": \"The 10 Best Greek Islands To Visit - WorldAtlas\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.AlkAPM6HtDWbqzyF1l2SeAHaE3&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.AlkAPM6HtDWbqzyF1l2SeAHaE3&pid=15.1\"\n} {\n \"title\": \"19 Beautiful Islands In Greece You Have To Visit - Hand Luggage Only ...\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.-D77fBdsf2k0F3-Py2LQAQHaEw&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.-D77fBdsf2k0F3-Py2LQAQHaEw&pid=15.1\"\n} {\n \"title\": \"Free Images : sea, coast, rock, ocean, cliff, cove, holiday, lagoon ...\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.IQemaswUPgkKT-GzqXq-1wHaFj&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.IQemaswUPgkKT-GzqXq-1wHaFj&pid=15.1\"\n} {\n \"title\": \"Greece Wallpapers for Desktop - WallpaperSafari\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.quk1Prj7-H9PPQ1JwDzvwwHaFj&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.quk1Prj7-H9PPQ1JwDzvwwHaFj&pid=15.1\"\n} {\n \"title\": \"Helicopter sightseeing in Santorini, the Aegean Island - Greek Air Taxi ...\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.uMNE-r9j0bLxE-YlVqitPgHaHa&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.uMNE-r9j0bLxE-YlVqitPgHaHa&pid=15.1\"\n} {\n \"title\": \"Wallpaper : 1920x1200 px, architecture, balcony, boat, buildings ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.0esAW0lD_k482TcJZf7GqQHaEo&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.0esAW0lD_k482TcJZf7GqQHaEo&pid=15.1\"\n} {\n \"title\": \"Premium Photo | Idyllic Greek Island Alleyway with Ocean View ...\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.uraIg-VY4td4yAB3MCksAwHaEJ&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.uraIg-VY4td4yAB3MCksAwHaEJ&pid=15.1\"\n} {\n \"title\": \"Above sea view greek island santorini oia greece islands hi-res stock ...\",\n \"thumbnail_url\": \"http://ts4.mm.bing.net/th?id=OIP.AA2YpQ4_Ai3CJ56UsmuS3AHaFc&pid=15.1\",\n \"url\": \"http://ts4.mm.bing.net/th?id=OIP.AA2YpQ4_Ai3CJ56UsmuS3AHaFc&pid=15.1\"\n} {\n \"title\": \"Greece & Greek Isles Cruises: Discover the Beauty | Royal Caribbean Cruises\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.pjq-mnCjpbvahu6_ijaTLAHaE8&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.pjq-mnCjpbvahu6_ijaTLAHaE8&pid=15.1\"\n} {\n \"title\": \"The 8 Most Beautiful Greek Islands for a Beach Getaway\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.9K38v9tPd2O35U-FJTL9TAHaDn&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.9K38v9tPd2O35U-FJTL9TAHaDn&pid=15.1\"\n} {\n \"title\": \"The best views from the Greek islands | Lartisien\",\n \"thumbnail_url\": \"http://ts1.mm.bing.net/th?id=OIP.pgfvMze8gujjpBWYyWkD7QHaE8&pid=15.1\",\n \"url\": \"http://ts1.mm.bing.net/th?id=OIP.pgfvMze8gujjpBWYyWkD7QHaE8&pid=15.1\"\n} {\n \"title\": \"#1189123 landscape, mountains, boat, sea, bay, nature, photography ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.qvaGH-xCLIY2uCiqHtWKPgHaEo&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.qvaGH-xCLIY2uCiqHtWKPgHaEo&pid=15.1\"\n} {\n \"title\": \"Free Images : beach, landscape, sea, coast, water, nature, outdoor ...\",\n \"thumbnail_url\": \"http://ts2.mm.bing.net/th?id=OIP.1ThRumI7dZEVjqyKX2-7nAHaEr&pid=15.1\",\n \"url\": \"http://ts2.mm.bing.net/th?id=OIP.1ThRumI7dZEVjqyKX2-7nAHaEr&pid=15.1\"\n} {\n \"title\": \"Village overlooking the sea greek islands hi-res stock photography and ...\",\n \"thumbnail_url\": \"http://ts3.mm.bing.net/th?id=OIP.W_m-ywqLqO8dUs8G81-8gQHaFc&pid=15.1\",\n \"url\": \"http://ts3.mm.bing.net/th?id=OIP.W_m-ywqLqO8dUs8G81-8gQHaFc&pid=15.1\"\n}"}], "tools": [{"type": "function", "function": {"name": "maps_direction_bicycling", "description": "骑行路径规划用于规划骑行通勤方案,规划时会考虑天桥、单行线、封路等情况。最大支持 500km 的骑行路线规划", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_driving", "description": "驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据。", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_direction_transit_integrated", "description": "根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经纬度,坐标格式为:经度,纬度"}, "city": {"type": "string", "description": "公共交通规划起点城市"}, "cityd": {"type": "string", "description": "公共交通规划终点城市"}}, "required": ["origin", "destination", "city", "cityd"]}}}, {"type": "function", "function": {"name": "maps_direction_walking", "description": "根据输入起点终点经纬度坐标规划100km 以内的步行通勤方案,并且返回通勤方案的数据", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "出发点经度,纬度,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "目的地经度,纬度,坐标格式为:经度,纬度"}}, "required": ["origin", "destination"]}}}, {"type": "function", "function": {"name": "maps_distance", "description": "测量两个经纬度坐标之间的距离,支持驾车、步行以及球面距离测量", "parameters": {"type": "object", "properties": {"origins": {"type": "string", "description": "起点经度,纬度,可以传多个坐标,使用竖线隔离,比如120,30|120,31,坐标格式为:经度,纬度"}, "destination": {"type": "string", "description": "终点经度,纬度,坐标格式为:经度,纬度"}, "type": {"type": "string", "description": "距离测量类型,1代表驾车距离测量,0代表直线距离测量,3步行距离测量"}}, "required": ["origins", "destination"]}}}, {"type": "function", "function": {"name": "maps_geo", "description": "将详细的结构化地址转换为经纬度坐标。支持对地标性名胜景区、建筑物名称解析为经纬度坐标", "parameters": {"type": "object", "properties": {"address": {"type": "string", "description": "待解析的结构化地址信息"}, "city": {"type": "string", "description": "指定查询的城市"}}, "required": ["address"]}}}, {"type": "function", "function": {"name": "maps_regeocode", "description": "将一个高德经纬度坐标转换为行政区划地址信息", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "经纬度"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "maps_ip_location", "description": "IP 定位根据用户输入的 IP 地址,定位 IP 的所在位置", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "IP地址"}}, "required": ["ip"]}}}, {"type": "function", "function": {"name": "maps_schema_personal_map", "description": "用于行程规划结果在高德地图展示。将行程规划位置点按照行程顺序填入lineList,返回结果为高德地图打开的URI链接,该结果不需总结,直接返回!", "parameters": {"type": "object", "properties": {"orgName": {"type": "string", "description": "行程规划地图小程序名称"}, "lineList": {"type": "array", "description": "行程列表", "items": {"type": "object", "properties": {"title": {"type": "string", "description": "行程名称描述(按行程顺序)"}, "pointInfoList": {"type": "array", "description": "行程目标位置点描述", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "行程目标位置点名称"}, "lon": {"type": "number", "description": "行程目标位置点经度"}, "lat": {"type": "number", "description": "行程目标位置点纬度"}, "poiId": {"type": "string", "description": "行程目标位置点POIID"}}, "required": ["name", "lon", "lat", "poiId"]}}}, "required": ["title", "pointInfoList"]}}}, "required": ["orgName", "lineList"]}}}, {"type": "function", "function": {"name": "maps_around_search", "description": "周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "搜索关键词"}, "location": {"type": "string", "description": "中心点经度纬度"}, "radius": {"type": "string", "description": "搜索半径"}}, "required": ["keywords", "location"]}}}, {"type": "function", "function": {"name": "maps_search_detail", "description": "查询关键词搜或者周边搜获取到的POI ID的详细信息", "parameters": {"type": "object", "properties": {"id": {"type": "string", "description": "关键词搜或者周边搜获取到的POI ID"}}, "required": ["id"]}}}, {"type": "function", "function": {"name": "maps_text_search", "description": "关键字搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "查询关键字"}, "city": {"type": "string", "description": "查询城市"}, "citylimit": {"type": "boolean", "default": false, "description": "是否限制城市范围内搜索,默认不限制"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "maps_schema_navi", "description": " Schema唤醒客户端-导航页面,用于根据用户输入终点信息,返回一个拼装好的客户端唤醒URI,用户点击该URI即可唤起对应的客户端APP。唤起客户端后,会自动跳转到导航页面。", "parameters": {"type": "object", "properties": {"lon": {"type": "string", "description": "终点经度"}, "lat": {"type": "string", "description": "终点纬度"}}, "required": ["lon", "lat"]}}}, {"type": "function", "function": {"name": "maps_schema_take_taxi", "description": "根据用户输入的起点和终点信息,返回一个拼装好的客户端唤醒URI,直接唤起高德地图进行打车。直接展示生成的链接,不需要总结", "parameters": {"type": "object", "properties": {"slon": {"type": "string", "description": "起点经度"}, "slat": {"type": "string", "description": "起点纬度"}, "sname": {"type": "string", "description": "起点名称"}, "dlon": {"type": "string", "description": "终点经度"}, "dlat": {"type": "string", "description": "终点纬度"}, "dname": {"type": "string", "description": "终点名称"}}, "required": ["dlon", "dlat", "dname"]}}}, {"type": "function", "function": {"name": "maps_weather", "description": "根据城市名称或者标准adcode查询指定城市的天气", "parameters": {"type": "object", "properties": {"city": {"type": "string", "description": "城市名称或者adcode"}}, "required": ["city"]}}}, {"type": "function", "function": {"name": "maps_search_places", "description": "Search for places using Google Places API", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Search query"}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}}, "description": "Optional center point for the search"}, "radius": {"type": "number", "description": "Search radius in meters (max 50000)"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "search_images", "description": " Get Public Available Stock Symbols from Global Marketplace\n\n Args:\n query: str, query used in Bing search engine\n limit: int, number of images information returned\n \n Return: \n str: json str with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query": {"default": "", "title": "Query", "type": "string"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "title": "search_imagesArguments", "type": "object"}}}, {"type": "function", "function": {"name": "search_images_batch", "description": " Batch Method of Search Images From Bing Web Search\n\n Args:\n query_list: List[str], List of query used in Bing Image search engine\n limit: int, number of images information returned\n \n Return: \n Dict: json Dict with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query_list": {"items": {"type": "string"}, "title": "Query List", "type": "array"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "required": ["query_list"], "title": "search_images_batchArguments", "type": "object"}}}, {"type": "function", "function": {"name": "tavily_search", "description": "Search the web for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts. The search results will include relevant snippets and URLs from web pages. This is particularly useful for questions about current events, technology updates, or any topic that requires recent information.", "parameters": {"properties": {"query": {"description": "Search query", "title": "Query", "type": "string"}, "max_results": {"default": 5, "description": "The maximum number of search results to return", "title": "Max Results", "type": "integer"}, "search_depth": {"default": "basic", "description": "The depth of the search. It can be 'basic' or 'advanced'", "enum": ["basic", "advanced"], "title": "Search Depth", "type": "string"}, "topic": {"default": "general", "description": "The category of the search. This will determine which of our agents will be used for the search", "enum": ["general", "news", "finance"], "title": "Topic", "type": "string"}, "days": {"default": 30, "description": "The number of days back from the current date to include in the search results. This specifies the time frame of data to be retrieved. Please note that this feature is only available when using the 'news' search topic", "title": "Days", "type": "integer"}, "time_range": {"default": "month", "description": "The time range back from the current date to include in the search results. This feature is available for both 'general' and 'news' search topics", "enum": ["day", "week", "month", "year", "d", "w", "m", "y"], "title": "Time Range", "type": "string"}, "include_images": {"default": false, "description": "Include a list of query-related images in the response", "title": "Include Images", "type": "boolean"}, "include_image_descriptions": {"default": false, "description": "Include a list of query-related images and their descriptions in the response", "title": "Include Image Descriptions", "type": "boolean"}, "include_raw_content": {"default": false, "description": "Include the cleaned and parsed HTML content of each search result", "title": "Include Raw Content", "type": "boolean"}, "include_domains": {"default": [], "description": "A list of domains to specifically include in the search results, if the user asks to search on specific sites set this to the domain of the site", "items": {"type": "string"}, "title": "Include Domains", "type": "array"}, "exclude_domains": {"default": [], "description": "List of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "country": {"default": "", "description": "Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.", "title": "Country", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}, "start_date": {"default": "", "description": "Will return all results after the specified start date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "Start Date", "type": "string"}, "end_date": {"default": "", "description": "Will return all results before the specified end date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "End Date", "type": "string"}}, "required": ["query"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_crawl", "description": "Crawl multiple pages from a website starting from a base URL. Use this tool when you need to gather information from multiple related pages across a website or explore a site's structure. It follows internal links and extracts content from multiple pages, but truncates content to 500 characters per page. For full content extraction, use tavily_map to discover URLs first, then tavily_extract to get complete content from specific pages. Useful for comprehensive research on documentation sites, blogs, or when you need to understand the full scope of information available on a website.", "parameters": {"properties": {"url": {"description": "The root URL to begin the crawl", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the crawl. Defines how far from the base URL the crawler can explore.", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler. Instructions specify which types of pages the crawler should return.", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}, "include_images": {"default": false, "description": "Whether to include images in the crawl results", "title": "Include Images", "type": "boolean"}, "extract_depth": {"default": "basic", "description": "Advanced extraction retrieves more data, including tables and embedded content, with higher success but may increase latency", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["url"], "type": "object"}}}], "tool_calls": {"id": "", "function": {"arguments": "", "name": ""}, "type": "function"}}]}
{"model": "qwen3-plus-latest", "session_id": "TEMP_SESSION_123", "trace_id": "beab401c-18c8-4b53-aff3-f432c8730fa8", "function_calls": [{"messages": [{"role": "user", "content": "北京到台州2日游怎么规划?"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_f8ccb465c108487fabfe8c", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"\\u53f0\\u5dde\\u4e3b\\u8981\\u666f\\u70b9\"}"}}]}, {"role": "tool", "tool_call_id": "call_f8ccb465c108487fabfe8c", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[{\\\"id\\\":\\\"B02400SH03\\\",\\\"name\\\":\\\"九九回归林\\\",\\\"address\\\":\\\"飞霞路西200米\\\",\\\"typecode\\\":\\\"110200\\\",\\\"photo\\\":\\\"https://aos-comment.amap.com/B02400SH03/comment/df501e37c452d638274ec38225dfa3f6_2048_2048_80.jpg\\\"},{\\\"id\\\":\\\"B0FFK8984T\\\",\\\"name\\\":\\\"后岸乡居旅游景区\\\",\\\"address\\\":\\\"街头镇\\\",\\\"typecode\\\":\\\"110200\\\",\\\"photo\\\":\\\"https://aos-comment.amap.com/B0HRK9O43Y/comment/content_media_external_file_1000140885_ss__1756341491877_88257402.jpg\\\"}]}\"}]"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_642454cc8584412f89d3ea", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"\\u5317\\u4eac\\u5230\\u53f0\\u5dde\\u7684\\u884c\\u7a0b\\u89c4\\u5212\"}"}}]}, {"role": "tool", "tool_call_id": "call_642454cc8584412f89d3ea", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[]}\"}]"}], "tools": [{"type": "function", "function": {"name": "generate_area_chart", "description": "Generate a area chart to show data trends under continuous independent variables and observe the overall data trend, such as, displacement = velocity (average or instantaneous) × time: s = v × t. If the x-axis is time (t) and the y-axis is velocity (v) at each moment, an area chart allows you to observe the trend of velocity over time and infer the distance traveled by the area's size.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"time": {"type": "string"}, "value": {"type": "number"}, "group": {"type": "string"}}, "required": ["time", "value"]}, "minItems": 1, "description": "Data for area chart, such as, [{ time: '2018', value: 99.9 }]."}, "stack": {"type": "boolean", "default": false, "description": "Whether stacking is enabled. When enabled, area charts require a 'group' field in the data."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}, "lineWidth": {"type": "number", "description": "Line width for the lines of chart, such as 4."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_bar_chart", "description": "Generate a horizontal bar chart to show data for numerical comparisons among different categories, such as, comparing categorical data and for horizontal comparisons.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}, "group": {"type": "string"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for bar chart, such as, [{ category: '分类一', value: 10 }, { category: '分类二', value: 20 }], when grouping or stacking is needed for bar, the data should contain a `group` field, such as, when [{ category: '北京', value: 825, group: '油车' }, { category: '北京', value: 1000, group: '电车' }]."}, "group": {"type": "boolean", "default": false, "description": "Whether grouping is enabled. When enabled, bar charts require a 'group' field in the data. When `group` is true, `stack` should be false."}, "stack": {"type": "boolean", "default": true, "description": "Whether stacking is enabled. When enabled, bar charts require a 'group' field in the data. When `stack` is true, `group` should be false."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_boxplot_chart", "description": "Generate a boxplot chart to show data for statistical summaries among different categories, such as, comparing the distribution of data points across categories.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string", "description": "Category of the data point, such as '分类一'."}, "value": {"type": "number", "description": "Value of the data point, such as 10."}, "group": {"type": "string", "description": "Optional group for the data point, used for grouping in the boxplot."}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for boxplot chart, such as, [{ category: '分类一', value: 10 }] or [{ category: '分类二', value: 20, group: '组别一' }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_column_chart", "description": "Generate a column chart, which are best for comparing categorical data, such as, when values are close, column charts are preferable because our eyes are better at judging height than other visual elements like area or angles.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}, "group": {"type": "string"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for column chart, such as, [{ category: '分类一', value: 10 }, { category: '分类二', value: 20 }], when grouping or stacking is needed for column, the data should contain a `group` field, such as, when [{ category: '北京', value: 825, group: '油车' }, { category: '北京', value: 1000, group: '电车' }]."}, "group": {"type": "boolean", "default": true, "description": "Whether grouping is enabled. When enabled, column charts require a 'group' field in the data. When `group` is true, `stack` should be false."}, "stack": {"type": "boolean", "default": false, "description": "Whether stacking is enabled. When enabled, column charts require a 'group' field in the data. When `stack` is true, `group` should be false."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_district_map", "description": "Generates regional distribution maps, which are usually used to show the administrative divisions and coverage of a dataset. It is not suitable for showing the distribution of specific locations, such as urban administrative divisions, GDP distribution maps of provinces and cities across the country, etc. This tool is limited to generating data maps within China.", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The map title should not exceed 16 characters. The content should be consistent with the information the map wants to convey and should be accurate, rich, creative, and attractive."}, "data": {"type": "object", "properties": {"name": {"type": "string", "description": "Keywords for the Chinese name of an administrative region (must be within China), and must be one of China, province, city, district, or county. The name should be more specific and add attributive descriptions, for example, \"西安市\" is better than \"西安\", \"杭州西湖区\" is better than \"西湖区\". It cannot be a specific place name or a vague name, such as \"其它\"."}, "style": {"type": "object", "properties": {"fillColor": {"type": "string", "description": "Fill color, rgb or rgba format."}}, "description": "Style settings."}, "colors": {"type": "array", "items": {"type": "string"}, "default": ["#1783FF", "#00C9C9", "#F0884D", "#D580FF", "#7863FF", "#60C42D", "#BD8F24", "#FF80CA", "#2491B3", "#17C76F"], "description": "Data color list, in rgb or rgba format."}, "dataType": {"type": "string", "enum": ["number", "enum"], "description": "The type of the data value, numeric or enumeration type"}, "dataLabel": {"type": "string", "description": "Data label, such as \"GDP\""}, "dataValue": {"type": "string", "description": "Data value, numeric string or enumeration string."}, "dataValueUnit": {"type": "string", "description": "Data unit, such as \"万亿\""}, "showAllSubdistricts": {"type": "boolean", "default": false, "description": "Whether to display all subdistricts."}, "subdistricts": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "Keywords for the Chinese name of an administrative region (must be within China), and must be one of China, province, city, district, or county. The name should be more specific and add attributive descriptions, for example, \"西安市\" is better than \"西安\", \"杭州西湖区\" is better than \"西湖区\". It cannot be a specific place name or a vague name, such as \"其它\"."}, "dataValue": {"type": "string", "description": "Data value, numeric string or enumeration string."}, "style": {"type": "object", "properties": {"fillColor": {"type": "string", "description": "Fill color, rgb or rgba format."}}, "description": "Style settings."}}, "required": ["name"]}, "description": "Sub-administrative regions are used to display the regional composition or regional distribution of related data."}}, "required": ["name"], "description": "Administrative division data, lower-level administrative divisions are optional. There are usually two scenarios: one is to simply display the regional composition, only `fillColor` needs to be configured, and all administrative divisions are consistent, representing that all blocks are connected as one; the other is the regional data distribution scenario, first determine the `dataType`, `dataValueUnit` and `dataLabel` configurations, `dataValue` should be a meaningful value and consistent with the meaning of dataType, and then determine the style configuration. The `fillColor` configuration represents the default fill color for areas without data. Lower-level administrative divisions do not need `fillColor` configuration, and their fill colors are determined by the `colors` configuration (If `dataType` is \"number\", only one base color (warm color) is needed in the list to calculate the continuous data mapping color band; if `dataType` is \"enum\", the number of color values in the list is equal to the number of enumeration values (contrast colors)). If `subdistricts` has a value, `showAllSubdistricts` must be set to true. For example, {\"title\": \"陕西省地级市分布图\", \"data\": {\"name\": \"陕西省\", \"showAllSubdistricts\": true, \"dataLabel\": \"城市\", \"dataType\": \"enum\", \"colors\": [\"#4ECDC4\", \"#A5D8FF\"], \"subdistricts\": [{\"name\": \"西安市\", \"dataValue\": \"省会\"}, {\"name\": \"宝鸡市\", \"dataValue\": \"地级市\"}, {\"name\": \"咸阳市\", \"dataValue\": \"地级市\"}, {\"name\": \"铜川市\", \"dataValue\": \"地级市\"}, {\"name\": \"渭南市\", \"dataValue\": \"地级市\"}, {\"name\": \"延安市\", \"dataValue\": \"地级市\"}, {\"name\": \"榆林市\", \"dataValue\": \"地级市\"}, {\"name\": \"汉中市\", \"dataValue\": \"地级市\"}, {\"name\": \"安康市\", \"dataValue\": \"地级市\"}, {\"name\": \"商洛市\", \"dataValue\": \"地级市\"}]}, \"width\": 1000, \"height\": 1000}."}, "width": {"type": "number", "default": 1600, "description": "Set the width of map, default is 1600."}, "height": {"type": "number", "default": 1000, "description": "Set the height of map, default is 1000."}}, "required": ["title", "data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_dual_axes_chart", "description": "Generate a dual axes chart which is a combination chart that integrates two different chart types, typically combining a bar chart with a line chart to display both the trend and comparison of data, such as, the trend of sales and profit over time.", "parameters": {"type": "object", "properties": {"categories": {"type": "array", "items": {"type": "string"}, "minItems": 1, "description": "Categories for dual axes chart, such as, ['2015', '2016', '2017']."}, "series": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string", "enum": ["column", "line"], "description": "The optional value can be 'column' or 'line'."}, "data": {"type": "array", "items": {"type": "number"}, "description": "When type is column, the data represents quantities, such as [91.9, 99.1, 101.6, 114.4, 121]. When type is line, the data represents ratios and its values are recommended to be less than 1, such as [0.055, 0.06, 0.062, 0.07, 0.075]."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of the chart series, such as, axisYTitle: '销售额'."}}, "required": ["type", "data"]}, "minItems": 1, "description": "Series for dual axes chart, such as, [{ type: 'column', data: [91.9, 99.1, 101.6, 114.4, 121], axisYTitle: '销售额' }, { type: 'line', data: [0.055, 0.06, 0.062, 0.07, 0.075], 'axisYTitle': '利润率' }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}}, "required": ["categories", "series"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_fishbone_diagram", "description": "Generate a fishbone diagram chart to uses a fish skeleton, like structure to display the causes or effects of a core problem, with the problem as the fish head and the causes/effects as the fish bones. It suits problems that can be split into multiple related factors.", "parameters": {"type": "object", "properties": {"data": {"type": "object", "properties": {"name": {"type": "string"}, "children": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "children": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "children": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}}}, "required": ["name"]}}}, "required": ["name"]}}}, "required": ["name"], "description": "Data for fishbone diagram chart which is a hierarchical structure, such as, { name: 'main topic', children: [{ name: 'topic 1', children: [{ name: 'subtopic 1-1' }] }] }, and the maximum depth is 3."}, "style": {"type": "object", "properties": {"texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_flow_diagram", "description": "Generate a flow diagram chart to show the steps and decision points of a process or system, such as, scenarios requiring linear process presentation.", "parameters": {"type": "object", "properties": {"data": {"type": "object", "properties": {"nodes": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}, "minItems": 1}, "edges": {"type": "array", "items": {"type": "object", "properties": {"source": {"type": "string"}, "target": {"type": "string"}, "name": {"type": "string", "default": ""}}, "required": ["source", "target"]}}}, "required": ["nodes", "edges"], "description": "Data for flow diagram chart, such as, { nodes: [{ name: 'node1' }, { name: 'node2' }], edges: [{ source: 'node1', target: 'node2', name: 'edge1' }] }."}, "style": {"type": "object", "properties": {"texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_funnel_chart", "description": "Generate a funnel chart to visualize the progressive reduction of data as it passes through stages, such as, the conversion rates of users from visiting a website to completing a purchase.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for funnel chart, such as, [{ category: '浏览网站', value: 50000 }, { category: '放入购物车', value: 35000 }, { category: '生成订单', value: 25000 }, { category: '支付订单', value: 15000 }, { category: '完成交易', value: 8000 }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_path_map", "description": "Generate a route map to display the user's planned route, such as travel guide routes.", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The map title should not exceed 16 characters. The content should be consistent with the information the map wants to convey and should be accurate, rich, creative, and attractive."}, "data": {"type": "array", "items": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "string"}, "minItems": 1, "description": "A list of keywords for the names of points of interest (POIs) in Chinese. These POIs usually contain a group of places with similar locations, so the names should be more descriptive, must adding attributives to indicate that they are different places in the same area, such as \"北京市\" is better than \"北京\", \"杭州西湖\" is better than \"西湖\"; in addition, if you can determine that a location may appear in multiple areas, you can be more specific, such as \"杭州西湖的苏堤春晓\" is better than \"苏堤春晓\". The tool will use these keywords to search for specific POIs and query their detailed data, such as latitude and longitude, location photos, etc. For example, [\"西安钟楼\", \"西安大唐不夜城\", \"西安大雁塔\"]."}}, "required": ["data"], "description": "The route and places along it."}, "minItems": 1, "description": "Routes, each group represents all POIs along a route. For example, [{ \"data\": [\"西安钟楼\", \"西安大唐不夜城\", \"西安大雁塔\"] }, { \"data\": [\"西安曲江池公园\", \"西安回民街\"] }]"}, "width": {"type": "number", "default": 1600, "description": "Set the width of map, default is 1600."}, "height": {"type": "number", "default": 1000, "description": "Set the height of map, default is 1000."}}, "required": ["title", "data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_pin_map", "description": "Generate a point map to display the location and distribution of point data on the map, such as the location distribution of attractions, hospitals, supermarkets, etc.", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The map title should not exceed 16 characters. The content should be consistent with the information the map wants to convey and should be accurate, rich, creative, and attractive."}, "data": {"type": "array", "items": {"type": "string"}, "minItems": 1, "description": "A list of keywords for the names of points of interest (POIs) in Chinese. These POIs usually contain a group of places with similar locations, so the names should be more descriptive, must adding attributives to indicate that they are different places in the same area, such as \"北京市\" is better than \"北京\", \"杭州西湖\" is better than \"西湖\"; in addition, if you can determine that a location may appear in multiple areas, you can be more specific, such as \"杭州西湖的苏堤春晓\" is better than \"苏堤春晓\". The tool will use these keywords to search for specific POIs and query their detailed data, such as latitude and longitude, location photos, etc. For example, [\"西安钟楼\", \"西安大唐不夜城\", \"西安大雁塔\"]."}, "markerPopup": {"type": "object", "properties": {"type": {"type": "string", "default": "image", "description": "Must be \"image\"."}, "width": {"type": "number", "default": 40, "description": "Width of the photo."}, "height": {"type": "number", "default": 40, "description": "Height of the photo."}, "borderRadius": {"type": "number", "default": 8, "description": "Border radius of the photo."}}, "description": "Marker type, one is simple mode, which is just an icon and does not require `markerPopup` configuration; the other is image mode, which displays location photos and requires `markerPopup` configuration. Among them, `width`/`height`/`borderRadius` can be combined to realize rectangular photos and square photos. In addition, when `borderRadius` is half of the width and height, it can also be a circular photo."}, "width": {"type": "number", "default": 1600, "description": "Set the width of map, default is 1600."}, "height": {"type": "number", "default": 1000, "description": "Set the height of map, default is 1000."}}, "required": ["title", "data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "maps_around_search", "description": "周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "搜索关键词"}, "location": {"type": "string", "description": "中心点经度纬度"}, "radius": {"type": "string", "description": "搜索半径"}}, "required": ["keywords", "location"]}}}, {"type": "function", "function": {"name": "maps_search_detail", "description": "查询关键词搜或者周边搜获取到的POI ID的详细信息", "parameters": {"type": "object", "properties": {"id": {"type": "string", "description": "关键词搜或者周边搜获取到的POI ID"}}, "required": ["id"]}}}, {"type": "function", "function": {"name": "maps_text_search", "description": "关键字搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "查询关键字"}, "city": {"type": "string", "description": "查询城市"}, "citylimit": {"type": "boolean", "default": false, "description": "是否限制城市范围内搜索,默认不限制"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "tavily_search", "description": "Search the web for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts. The search results will include relevant snippets and URLs from web pages. This is particularly useful for questions about current events, technology updates, or any topic that requires recent information.", "parameters": {"properties": {"query": {"description": "Search query", "title": "Query", "type": "string"}, "max_results": {"default": 5, "description": "The maximum number of search results to return", "title": "Max Results", "type": "integer"}, "search_depth": {"default": "basic", "description": "The depth of the search. It can be 'basic' or 'advanced'", "enum": ["basic", "advanced"], "title": "Search Depth", "type": "string"}, "topic": {"default": "general", "description": "The category of the search. This will determine which of our agents will be used for the search", "enum": ["general", "news", "finance"], "title": "Topic", "type": "string"}, "days": {"default": 30, "description": "The number of days back from the current date to include in the search results. This specifies the time frame of data to be retrieved. Please note that this feature is only available when using the 'news' search topic", "title": "Days", "type": "integer"}, "time_range": {"default": "month", "description": "The time range back from the current date to include in the search results. This feature is available for both 'general' and 'news' search topics", "enum": ["day", "week", "month", "year", "d", "w", "m", "y"], "title": "Time Range", "type": "string"}, "include_images": {"default": false, "description": "Include a list of query-related images in the response", "title": "Include Images", "type": "boolean"}, "include_image_descriptions": {"default": false, "description": "Include a list of query-related images and their descriptions in the response", "title": "Include Image Descriptions", "type": "boolean"}, "include_raw_content": {"default": false, "description": "Include the cleaned and parsed HTML content of each search result", "title": "Include Raw Content", "type": "boolean"}, "include_domains": {"default": [], "description": "A list of domains to specifically include in the search results, if the user asks to search on specific sites set this to the domain of the site", "items": {"type": "string"}, "title": "Include Domains", "type": "array"}, "exclude_domains": {"default": [], "description": "List of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "country": {"default": "", "description": "Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.", "title": "Country", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}, "start_date": {"default": "", "description": "Will return all results after the specified start date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "Start Date", "type": "string"}, "end_date": {"default": "", "description": "Will return all results before the specified end date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "End Date", "type": "string"}}, "required": ["query"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_crawl", "description": "Crawl multiple pages from a website starting from a base URL. Use this tool when you need to gather information from multiple related pages across a website or explore a site's structure. It follows internal links and extracts content from multiple pages, but truncates content to 500 characters per page. For full content extraction, use tavily_map to discover URLs first, then tavily_extract to get complete content from specific pages. Useful for comprehensive research on documentation sites, blogs, or when you need to understand the full scope of information available on a website.", "parameters": {"properties": {"url": {"description": "The root URL to begin the crawl", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the crawl. Defines how far from the base URL the crawler can explore.", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler. Instructions specify which types of pages the crawler should return.", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}, "include_images": {"default": false, "description": "Whether to include images in the crawl results", "title": "Include Images", "type": "boolean"}, "extract_depth": {"default": "basic", "description": "Advanced extraction retrieves more data, including tables and embedded content, with higher success but may increase latency", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "search_images", "description": " Get Public Available Stock Symbols from Global Marketplace\n\n Args:\n query: str, query used in Bing search engine\n limit: int, number of images information returned\n \n Return: \n str: json str with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query": {"default": "", "title": "Query", "type": "string"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "title": "search_imagesArguments", "type": "object"}}}, {"type": "function", "function": {"name": "search_images_batch", "description": " Batch Method of Search Images From Bing Web Search\n\n Args:\n query_list: List[str], List of query used in Bing Image search engine\n limit: int, number of images information returned\n \n Return: \n Dict: json Dict with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query_list": {"items": {"type": "string"}, "title": "Query List", "type": "array"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "required": ["query_list"], "title": "search_images_batchArguments", "type": "object"}}}, {"type": "function", "function": {"name": "maps_search_places", "description": "Search for places using Google Places API", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Search query"}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}}, "description": "Optional center point for the search"}, "radius": {"type": "number", "description": "Search radius in meters (max 50000)"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "maps_distance_matrix", "description": "Calculate travel distance and time for multiple origins and destinations", "parameters": {"type": "object", "properties": {"origins": {"type": "array", "items": {"type": "string"}, "description": "Array of origin addresses or coordinates"}, "destinations": {"type": "array", "items": {"type": "string"}, "description": "Array of destination addresses or coordinates"}, "mode": {"type": "string", "description": "Travel mode (driving, walking, bicycling, transit)", "enum": ["driving", "walking", "bicycling", "transit"]}}, "required": ["origins", "destinations"]}}}], "tool_calls": {"id": "call_f8ccb465c108487fabfe8c", "function": {"arguments": "{\"keywords\": \"台州主要景点\"}", "name": "maps_text_search"}, "type": "function"}}, {"messages": [{"role": "user", "content": "北京到台州2日游怎么规划?"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_f8ccb465c108487fabfe8c", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"\\u53f0\\u5dde\\u4e3b\\u8981\\u666f\\u70b9\"}"}}]}, {"role": "tool", "tool_call_id": "call_f8ccb465c108487fabfe8c", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[{\\\"id\\\":\\\"B02400SH03\\\",\\\"name\\\":\\\"九九回归林\\\",\\\"address\\\":\\\"飞霞路西200米\\\",\\\"typecode\\\":\\\"110200\\\",\\\"photo\\\":\\\"https://aos-comment.amap.com/B02400SH03/comment/df501e37c452d638274ec38225dfa3f6_2048_2048_80.jpg\\\"},{\\\"id\\\":\\\"B0FFK8984T\\\",\\\"name\\\":\\\"后岸乡居旅游景区\\\",\\\"address\\\":\\\"街头镇\\\",\\\"typecode\\\":\\\"110200\\\",\\\"photo\\\":\\\"https://aos-comment.amap.com/B0HRK9O43Y/comment/content_media_external_file_1000140885_ss__1756341491877_88257402.jpg\\\"}]}\"}]"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_642454cc8584412f89d3ea", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"\\u5317\\u4eac\\u5230\\u53f0\\u5dde\\u7684\\u884c\\u7a0b\\u89c4\\u5212\"}"}}]}, {"role": "tool", "tool_call_id": "call_642454cc8584412f89d3ea", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[]}\"}]"}], "tools": [{"type": "function", "function": {"name": "generate_area_chart", "description": "Generate a area chart to show data trends under continuous independent variables and observe the overall data trend, such as, displacement = velocity (average or instantaneous) × time: s = v × t. If the x-axis is time (t) and the y-axis is velocity (v) at each moment, an area chart allows you to observe the trend of velocity over time and infer the distance traveled by the area's size.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"time": {"type": "string"}, "value": {"type": "number"}, "group": {"type": "string"}}, "required": ["time", "value"]}, "minItems": 1, "description": "Data for area chart, such as, [{ time: '2018', value: 99.9 }]."}, "stack": {"type": "boolean", "default": false, "description": "Whether stacking is enabled. When enabled, area charts require a 'group' field in the data."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}, "lineWidth": {"type": "number", "description": "Line width for the lines of chart, such as 4."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_bar_chart", "description": "Generate a horizontal bar chart to show data for numerical comparisons among different categories, such as, comparing categorical data and for horizontal comparisons.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}, "group": {"type": "string"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for bar chart, such as, [{ category: '分类一', value: 10 }, { category: '分类二', value: 20 }], when grouping or stacking is needed for bar, the data should contain a `group` field, such as, when [{ category: '北京', value: 825, group: '油车' }, { category: '北京', value: 1000, group: '电车' }]."}, "group": {"type": "boolean", "default": false, "description": "Whether grouping is enabled. When enabled, bar charts require a 'group' field in the data. When `group` is true, `stack` should be false."}, "stack": {"type": "boolean", "default": true, "description": "Whether stacking is enabled. When enabled, bar charts require a 'group' field in the data. When `stack` is true, `group` should be false."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_boxplot_chart", "description": "Generate a boxplot chart to show data for statistical summaries among different categories, such as, comparing the distribution of data points across categories.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string", "description": "Category of the data point, such as '分类一'."}, "value": {"type": "number", "description": "Value of the data point, such as 10."}, "group": {"type": "string", "description": "Optional group for the data point, used for grouping in the boxplot."}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for boxplot chart, such as, [{ category: '分类一', value: 10 }] or [{ category: '分类二', value: 20, group: '组别一' }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_column_chart", "description": "Generate a column chart, which are best for comparing categorical data, such as, when values are close, column charts are preferable because our eyes are better at judging height than other visual elements like area or angles.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}, "group": {"type": "string"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for column chart, such as, [{ category: '分类一', value: 10 }, { category: '分类二', value: 20 }], when grouping or stacking is needed for column, the data should contain a `group` field, such as, when [{ category: '北京', value: 825, group: '油车' }, { category: '北京', value: 1000, group: '电车' }]."}, "group": {"type": "boolean", "default": true, "description": "Whether grouping is enabled. When enabled, column charts require a 'group' field in the data. When `group` is true, `stack` should be false."}, "stack": {"type": "boolean", "default": false, "description": "Whether stacking is enabled. When enabled, column charts require a 'group' field in the data. When `stack` is true, `group` should be false."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_district_map", "description": "Generates regional distribution maps, which are usually used to show the administrative divisions and coverage of a dataset. It is not suitable for showing the distribution of specific locations, such as urban administrative divisions, GDP distribution maps of provinces and cities across the country, etc. This tool is limited to generating data maps within China.", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The map title should not exceed 16 characters. The content should be consistent with the information the map wants to convey and should be accurate, rich, creative, and attractive."}, "data": {"type": "object", "properties": {"name": {"type": "string", "description": "Keywords for the Chinese name of an administrative region (must be within China), and must be one of China, province, city, district, or county. The name should be more specific and add attributive descriptions, for example, \"西安市\" is better than \"西安\", \"杭州西湖区\" is better than \"西湖区\". It cannot be a specific place name or a vague name, such as \"其它\"."}, "style": {"type": "object", "properties": {"fillColor": {"type": "string", "description": "Fill color, rgb or rgba format."}}, "description": "Style settings."}, "colors": {"type": "array", "items": {"type": "string"}, "default": ["#1783FF", "#00C9C9", "#F0884D", "#D580FF", "#7863FF", "#60C42D", "#BD8F24", "#FF80CA", "#2491B3", "#17C76F"], "description": "Data color list, in rgb or rgba format."}, "dataType": {"type": "string", "enum": ["number", "enum"], "description": "The type of the data value, numeric or enumeration type"}, "dataLabel": {"type": "string", "description": "Data label, such as \"GDP\""}, "dataValue": {"type": "string", "description": "Data value, numeric string or enumeration string."}, "dataValueUnit": {"type": "string", "description": "Data unit, such as \"万亿\""}, "showAllSubdistricts": {"type": "boolean", "default": false, "description": "Whether to display all subdistricts."}, "subdistricts": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "Keywords for the Chinese name of an administrative region (must be within China), and must be one of China, province, city, district, or county. The name should be more specific and add attributive descriptions, for example, \"西安市\" is better than \"西安\", \"杭州西湖区\" is better than \"西湖区\". It cannot be a specific place name or a vague name, such as \"其它\"."}, "dataValue": {"type": "string", "description": "Data value, numeric string or enumeration string."}, "style": {"type": "object", "properties": {"fillColor": {"type": "string", "description": "Fill color, rgb or rgba format."}}, "description": "Style settings."}}, "required": ["name"]}, "description": "Sub-administrative regions are used to display the regional composition or regional distribution of related data."}}, "required": ["name"], "description": "Administrative division data, lower-level administrative divisions are optional. There are usually two scenarios: one is to simply display the regional composition, only `fillColor` needs to be configured, and all administrative divisions are consistent, representing that all blocks are connected as one; the other is the regional data distribution scenario, first determine the `dataType`, `dataValueUnit` and `dataLabel` configurations, `dataValue` should be a meaningful value and consistent with the meaning of dataType, and then determine the style configuration. The `fillColor` configuration represents the default fill color for areas without data. Lower-level administrative divisions do not need `fillColor` configuration, and their fill colors are determined by the `colors` configuration (If `dataType` is \"number\", only one base color (warm color) is needed in the list to calculate the continuous data mapping color band; if `dataType` is \"enum\", the number of color values in the list is equal to the number of enumeration values (contrast colors)). If `subdistricts` has a value, `showAllSubdistricts` must be set to true. For example, {\"title\": \"陕西省地级市分布图\", \"data\": {\"name\": \"陕西省\", \"showAllSubdistricts\": true, \"dataLabel\": \"城市\", \"dataType\": \"enum\", \"colors\": [\"#4ECDC4\", \"#A5D8FF\"], \"subdistricts\": [{\"name\": \"西安市\", \"dataValue\": \"省会\"}, {\"name\": \"宝鸡市\", \"dataValue\": \"地级市\"}, {\"name\": \"咸阳市\", \"dataValue\": \"地级市\"}, {\"name\": \"铜川市\", \"dataValue\": \"地级市\"}, {\"name\": \"渭南市\", \"dataValue\": \"地级市\"}, {\"name\": \"延安市\", \"dataValue\": \"地级市\"}, {\"name\": \"榆林市\", \"dataValue\": \"地级市\"}, {\"name\": \"汉中市\", \"dataValue\": \"地级市\"}, {\"name\": \"安康市\", \"dataValue\": \"地级市\"}, {\"name\": \"商洛市\", \"dataValue\": \"地级市\"}]}, \"width\": 1000, \"height\": 1000}."}, "width": {"type": "number", "default": 1600, "description": "Set the width of map, default is 1600."}, "height": {"type": "number", "default": 1000, "description": "Set the height of map, default is 1000."}}, "required": ["title", "data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_dual_axes_chart", "description": "Generate a dual axes chart which is a combination chart that integrates two different chart types, typically combining a bar chart with a line chart to display both the trend and comparison of data, such as, the trend of sales and profit over time.", "parameters": {"type": "object", "properties": {"categories": {"type": "array", "items": {"type": "string"}, "minItems": 1, "description": "Categories for dual axes chart, such as, ['2015', '2016', '2017']."}, "series": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string", "enum": ["column", "line"], "description": "The optional value can be 'column' or 'line'."}, "data": {"type": "array", "items": {"type": "number"}, "description": "When type is column, the data represents quantities, such as [91.9, 99.1, 101.6, 114.4, 121]. When type is line, the data represents ratios and its values are recommended to be less than 1, such as [0.055, 0.06, 0.062, 0.07, 0.075]."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of the chart series, such as, axisYTitle: '销售额'."}}, "required": ["type", "data"]}, "minItems": 1, "description": "Series for dual axes chart, such as, [{ type: 'column', data: [91.9, 99.1, 101.6, 114.4, 121], axisYTitle: '销售额' }, { type: 'line', data: [0.055, 0.06, 0.062, 0.07, 0.075], 'axisYTitle': '利润率' }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}}, "required": ["categories", "series"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_fishbone_diagram", "description": "Generate a fishbone diagram chart to uses a fish skeleton, like structure to display the causes or effects of a core problem, with the problem as the fish head and the causes/effects as the fish bones. It suits problems that can be split into multiple related factors.", "parameters": {"type": "object", "properties": {"data": {"type": "object", "properties": {"name": {"type": "string"}, "children": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "children": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "children": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}}}, "required": ["name"]}}}, "required": ["name"]}}}, "required": ["name"], "description": "Data for fishbone diagram chart which is a hierarchical structure, such as, { name: 'main topic', children: [{ name: 'topic 1', children: [{ name: 'subtopic 1-1' }] }] }, and the maximum depth is 3."}, "style": {"type": "object", "properties": {"texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_flow_diagram", "description": "Generate a flow diagram chart to show the steps and decision points of a process or system, such as, scenarios requiring linear process presentation.", "parameters": {"type": "object", "properties": {"data": {"type": "object", "properties": {"nodes": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}, "minItems": 1}, "edges": {"type": "array", "items": {"type": "object", "properties": {"source": {"type": "string"}, "target": {"type": "string"}, "name": {"type": "string", "default": ""}}, "required": ["source", "target"]}}}, "required": ["nodes", "edges"], "description": "Data for flow diagram chart, such as, { nodes: [{ name: 'node1' }, { name: 'node2' }], edges: [{ source: 'node1', target: 'node2', name: 'edge1' }] }."}, "style": {"type": "object", "properties": {"texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_funnel_chart", "description": "Generate a funnel chart to visualize the progressive reduction of data as it passes through stages, such as, the conversion rates of users from visiting a website to completing a purchase.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for funnel chart, such as, [{ category: '浏览网站', value: 50000 }, { category: '放入购物车', value: 35000 }, { category: '生成订单', value: 25000 }, { category: '支付订单', value: 15000 }, { category: '完成交易', value: 8000 }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_path_map", "description": "Generate a route map to display the user's planned route, such as travel guide routes.", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The map title should not exceed 16 characters. The content should be consistent with the information the map wants to convey and should be accurate, rich, creative, and attractive."}, "data": {"type": "array", "items": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "string"}, "minItems": 1, "description": "A list of keywords for the names of points of interest (POIs) in Chinese. These POIs usually contain a group of places with similar locations, so the names should be more descriptive, must adding attributives to indicate that they are different places in the same area, such as \"北京市\" is better than \"北京\", \"杭州西湖\" is better than \"西湖\"; in addition, if you can determine that a location may appear in multiple areas, you can be more specific, such as \"杭州西湖的苏堤春晓\" is better than \"苏堤春晓\". The tool will use these keywords to search for specific POIs and query their detailed data, such as latitude and longitude, location photos, etc. For example, [\"西安钟楼\", \"西安大唐不夜城\", \"西安大雁塔\"]."}}, "required": ["data"], "description": "The route and places along it."}, "minItems": 1, "description": "Routes, each group represents all POIs along a route. For example, [{ \"data\": [\"西安钟楼\", \"西安大唐不夜城\", \"西安大雁塔\"] }, { \"data\": [\"西安曲江池公园\", \"西安回民街\"] }]"}, "width": {"type": "number", "default": 1600, "description": "Set the width of map, default is 1600."}, "height": {"type": "number", "default": 1000, "description": "Set the height of map, default is 1000."}}, "required": ["title", "data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_pin_map", "description": "Generate a point map to display the location and distribution of point data on the map, such as the location distribution of attractions, hospitals, supermarkets, etc.", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The map title should not exceed 16 characters. The content should be consistent with the information the map wants to convey and should be accurate, rich, creative, and attractive."}, "data": {"type": "array", "items": {"type": "string"}, "minItems": 1, "description": "A list of keywords for the names of points of interest (POIs) in Chinese. These POIs usually contain a group of places with similar locations, so the names should be more descriptive, must adding attributives to indicate that they are different places in the same area, such as \"北京市\" is better than \"北京\", \"杭州西湖\" is better than \"西湖\"; in addition, if you can determine that a location may appear in multiple areas, you can be more specific, such as \"杭州西湖的苏堤春晓\" is better than \"苏堤春晓\". The tool will use these keywords to search for specific POIs and query their detailed data, such as latitude and longitude, location photos, etc. For example, [\"西安钟楼\", \"西安大唐不夜城\", \"西安大雁塔\"]."}, "markerPopup": {"type": "object", "properties": {"type": {"type": "string", "default": "image", "description": "Must be \"image\"."}, "width": {"type": "number", "default": 40, "description": "Width of the photo."}, "height": {"type": "number", "default": 40, "description": "Height of the photo."}, "borderRadius": {"type": "number", "default": 8, "description": "Border radius of the photo."}}, "description": "Marker type, one is simple mode, which is just an icon and does not require `markerPopup` configuration; the other is image mode, which displays location photos and requires `markerPopup` configuration. Among them, `width`/`height`/`borderRadius` can be combined to realize rectangular photos and square photos. In addition, when `borderRadius` is half of the width and height, it can also be a circular photo."}, "width": {"type": "number", "default": 1600, "description": "Set the width of map, default is 1600."}, "height": {"type": "number", "default": 1000, "description": "Set the height of map, default is 1000."}}, "required": ["title", "data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "maps_around_search", "description": "周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "搜索关键词"}, "location": {"type": "string", "description": "中心点经度纬度"}, "radius": {"type": "string", "description": "搜索半径"}}, "required": ["keywords", "location"]}}}, {"type": "function", "function": {"name": "maps_search_detail", "description": "查询关键词搜或者周边搜获取到的POI ID的详细信息", "parameters": {"type": "object", "properties": {"id": {"type": "string", "description": "关键词搜或者周边搜获取到的POI ID"}}, "required": ["id"]}}}, {"type": "function", "function": {"name": "maps_text_search", "description": "关键字搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "查询关键字"}, "city": {"type": "string", "description": "查询城市"}, "citylimit": {"type": "boolean", "default": false, "description": "是否限制城市范围内搜索,默认不限制"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "tavily_search", "description": "Search the web for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts. The search results will include relevant snippets and URLs from web pages. This is particularly useful for questions about current events, technology updates, or any topic that requires recent information.", "parameters": {"properties": {"query": {"description": "Search query", "title": "Query", "type": "string"}, "max_results": {"default": 5, "description": "The maximum number of search results to return", "title": "Max Results", "type": "integer"}, "search_depth": {"default": "basic", "description": "The depth of the search. It can be 'basic' or 'advanced'", "enum": ["basic", "advanced"], "title": "Search Depth", "type": "string"}, "topic": {"default": "general", "description": "The category of the search. This will determine which of our agents will be used for the search", "enum": ["general", "news", "finance"], "title": "Topic", "type": "string"}, "days": {"default": 30, "description": "The number of days back from the current date to include in the search results. This specifies the time frame of data to be retrieved. Please note that this feature is only available when using the 'news' search topic", "title": "Days", "type": "integer"}, "time_range": {"default": "month", "description": "The time range back from the current date to include in the search results. This feature is available for both 'general' and 'news' search topics", "enum": ["day", "week", "month", "year", "d", "w", "m", "y"], "title": "Time Range", "type": "string"}, "include_images": {"default": false, "description": "Include a list of query-related images in the response", "title": "Include Images", "type": "boolean"}, "include_image_descriptions": {"default": false, "description": "Include a list of query-related images and their descriptions in the response", "title": "Include Image Descriptions", "type": "boolean"}, "include_raw_content": {"default": false, "description": "Include the cleaned and parsed HTML content of each search result", "title": "Include Raw Content", "type": "boolean"}, "include_domains": {"default": [], "description": "A list of domains to specifically include in the search results, if the user asks to search on specific sites set this to the domain of the site", "items": {"type": "string"}, "title": "Include Domains", "type": "array"}, "exclude_domains": {"default": [], "description": "List of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "country": {"default": "", "description": "Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.", "title": "Country", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}, "start_date": {"default": "", "description": "Will return all results after the specified start date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "Start Date", "type": "string"}, "end_date": {"default": "", "description": "Will return all results before the specified end date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "End Date", "type": "string"}}, "required": ["query"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_crawl", "description": "Crawl multiple pages from a website starting from a base URL. Use this tool when you need to gather information from multiple related pages across a website or explore a site's structure. It follows internal links and extracts content from multiple pages, but truncates content to 500 characters per page. For full content extraction, use tavily_map to discover URLs first, then tavily_extract to get complete content from specific pages. Useful for comprehensive research on documentation sites, blogs, or when you need to understand the full scope of information available on a website.", "parameters": {"properties": {"url": {"description": "The root URL to begin the crawl", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the crawl. Defines how far from the base URL the crawler can explore.", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler. Instructions specify which types of pages the crawler should return.", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}, "include_images": {"default": false, "description": "Whether to include images in the crawl results", "title": "Include Images", "type": "boolean"}, "extract_depth": {"default": "basic", "description": "Advanced extraction retrieves more data, including tables and embedded content, with higher success but may increase latency", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "search_images", "description": " Get Public Available Stock Symbols from Global Marketplace\n\n Args:\n query: str, query used in Bing search engine\n limit: int, number of images information returned\n \n Return: \n str: json str with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query": {"default": "", "title": "Query", "type": "string"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "title": "search_imagesArguments", "type": "object"}}}, {"type": "function", "function": {"name": "search_images_batch", "description": " Batch Method of Search Images From Bing Web Search\n\n Args:\n query_list: List[str], List of query used in Bing Image search engine\n limit: int, number of images information returned\n \n Return: \n Dict: json Dict with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query_list": {"items": {"type": "string"}, "title": "Query List", "type": "array"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "required": ["query_list"], "title": "search_images_batchArguments", "type": "object"}}}, {"type": "function", "function": {"name": "maps_search_places", "description": "Search for places using Google Places API", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Search query"}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}}, "description": "Optional center point for the search"}, "radius": {"type": "number", "description": "Search radius in meters (max 50000)"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "maps_distance_matrix", "description": "Calculate travel distance and time for multiple origins and destinations", "parameters": {"type": "object", "properties": {"origins": {"type": "array", "items": {"type": "string"}, "description": "Array of origin addresses or coordinates"}, "destinations": {"type": "array", "items": {"type": "string"}, "description": "Array of destination addresses or coordinates"}, "mode": {"type": "string", "description": "Travel mode (driving, walking, bicycling, transit)", "enum": ["driving", "walking", "bicycling", "transit"]}}, "required": ["origins", "destinations"]}}}], "tool_calls": {"id": "call_642454cc8584412f89d3ea", "function": {"arguments": "{\"keywords\": \"\\u5317\\u4eac\\u5230\\u53f0\\u5dde\\u7684\\u884c\\u7a0b\\u89c4\\u5212\"}", "name": "maps_text_search"}, "type": "function"}}, {"messages": [{"role": "user", "content": "北京到台州2日游怎么规划?"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_f8ccb465c108487fabfe8c", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"\\u53f0\\u5dde\\u4e3b\\u8981\\u666f\\u70b9\"}"}}]}, {"role": "tool", "tool_call_id": "call_f8ccb465c108487fabfe8c", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[{\\\"id\\\":\\\"B02400SH03\\\",\\\"name\\\":\\\"九九回归林\\\",\\\"address\\\":\\\"飞霞路西200米\\\",\\\"typecode\\\":\\\"110200\\\",\\\"photo\\\":\\\"https://aos-comment.amap.com/B02400SH03/comment/df501e37c452d638274ec38225dfa3f6_2048_2048_80.jpg\\\"},{\\\"id\\\":\\\"B0FFK8984T\\\",\\\"name\\\":\\\"后岸乡居旅游景区\\\",\\\"address\\\":\\\"街头镇\\\",\\\"typecode\\\":\\\"110200\\\",\\\"photo\\\":\\\"https://aos-comment.amap.com/B0HRK9O43Y/comment/content_media_external_file_1000140885_ss__1756341491877_88257402.jpg\\\"}]}\"}]"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_642454cc8584412f89d3ea", "type": "tool_use", "function": {"name": "maps_text_search", "arguments": "{\"keywords\": \"\\u5317\\u4eac\\u5230\\u53f0\\u5dde\\u7684\\u884c\\u7a0b\\u89c4\\u5212\"}"}}]}, {"role": "tool", "tool_call_id": "call_642454cc8584412f89d3ea", "name": "maps_text_search", "content": "[{\"type\": \"text\", \"text\": \"{\\\"suggestion\\\":{\\\"keywords\\\":\\\"\\\",\\\"ciytes\\\":{\\\"suggestion\\\":[]}},\\\"pois\\\":[]}\"}]"}], "tools": [{"type": "function", "function": {"name": "generate_area_chart", "description": "Generate a area chart to show data trends under continuous independent variables and observe the overall data trend, such as, displacement = velocity (average or instantaneous) × time: s = v × t. If the x-axis is time (t) and the y-axis is velocity (v) at each moment, an area chart allows you to observe the trend of velocity over time and infer the distance traveled by the area's size.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"time": {"type": "string"}, "value": {"type": "number"}, "group": {"type": "string"}}, "required": ["time", "value"]}, "minItems": 1, "description": "Data for area chart, such as, [{ time: '2018', value: 99.9 }]."}, "stack": {"type": "boolean", "default": false, "description": "Whether stacking is enabled. When enabled, area charts require a 'group' field in the data."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}, "lineWidth": {"type": "number", "description": "Line width for the lines of chart, such as 4."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_bar_chart", "description": "Generate a horizontal bar chart to show data for numerical comparisons among different categories, such as, comparing categorical data and for horizontal comparisons.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}, "group": {"type": "string"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for bar chart, such as, [{ category: '分类一', value: 10 }, { category: '分类二', value: 20 }], when grouping or stacking is needed for bar, the data should contain a `group` field, such as, when [{ category: '北京', value: 825, group: '油车' }, { category: '北京', value: 1000, group: '电车' }]."}, "group": {"type": "boolean", "default": false, "description": "Whether grouping is enabled. When enabled, bar charts require a 'group' field in the data. When `group` is true, `stack` should be false."}, "stack": {"type": "boolean", "default": true, "description": "Whether stacking is enabled. When enabled, bar charts require a 'group' field in the data. When `stack` is true, `group` should be false."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_boxplot_chart", "description": "Generate a boxplot chart to show data for statistical summaries among different categories, such as, comparing the distribution of data points across categories.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string", "description": "Category of the data point, such as '分类一'."}, "value": {"type": "number", "description": "Value of the data point, such as 10."}, "group": {"type": "string", "description": "Optional group for the data point, used for grouping in the boxplot."}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for boxplot chart, such as, [{ category: '分类一', value: 10 }] or [{ category: '分类二', value: 20, group: '组别一' }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_column_chart", "description": "Generate a column chart, which are best for comparing categorical data, such as, when values are close, column charts are preferable because our eyes are better at judging height than other visual elements like area or angles.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}, "group": {"type": "string"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for column chart, such as, [{ category: '分类一', value: 10 }, { category: '分类二', value: 20 }], when grouping or stacking is needed for column, the data should contain a `group` field, such as, when [{ category: '北京', value: 825, group: '油车' }, { category: '北京', value: 1000, group: '电车' }]."}, "group": {"type": "boolean", "default": true, "description": "Whether grouping is enabled. When enabled, column charts require a 'group' field in the data. When `group` is true, `stack` should be false."}, "stack": {"type": "boolean", "default": false, "description": "Whether stacking is enabled. When enabled, column charts require a 'group' field in the data. When `stack` is true, `group` should be false."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_district_map", "description": "Generates regional distribution maps, which are usually used to show the administrative divisions and coverage of a dataset. It is not suitable for showing the distribution of specific locations, such as urban administrative divisions, GDP distribution maps of provinces and cities across the country, etc. This tool is limited to generating data maps within China.", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The map title should not exceed 16 characters. The content should be consistent with the information the map wants to convey and should be accurate, rich, creative, and attractive."}, "data": {"type": "object", "properties": {"name": {"type": "string", "description": "Keywords for the Chinese name of an administrative region (must be within China), and must be one of China, province, city, district, or county. The name should be more specific and add attributive descriptions, for example, \"西安市\" is better than \"西安\", \"杭州西湖区\" is better than \"西湖区\". It cannot be a specific place name or a vague name, such as \"其它\"."}, "style": {"type": "object", "properties": {"fillColor": {"type": "string", "description": "Fill color, rgb or rgba format."}}, "description": "Style settings."}, "colors": {"type": "array", "items": {"type": "string"}, "default": ["#1783FF", "#00C9C9", "#F0884D", "#D580FF", "#7863FF", "#60C42D", "#BD8F24", "#FF80CA", "#2491B3", "#17C76F"], "description": "Data color list, in rgb or rgba format."}, "dataType": {"type": "string", "enum": ["number", "enum"], "description": "The type of the data value, numeric or enumeration type"}, "dataLabel": {"type": "string", "description": "Data label, such as \"GDP\""}, "dataValue": {"type": "string", "description": "Data value, numeric string or enumeration string."}, "dataValueUnit": {"type": "string", "description": "Data unit, such as \"万亿\""}, "showAllSubdistricts": {"type": "boolean", "default": false, "description": "Whether to display all subdistricts."}, "subdistricts": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "Keywords for the Chinese name of an administrative region (must be within China), and must be one of China, province, city, district, or county. The name should be more specific and add attributive descriptions, for example, \"西安市\" is better than \"西安\", \"杭州西湖区\" is better than \"西湖区\". It cannot be a specific place name or a vague name, such as \"其它\"."}, "dataValue": {"type": "string", "description": "Data value, numeric string or enumeration string."}, "style": {"type": "object", "properties": {"fillColor": {"type": "string", "description": "Fill color, rgb or rgba format."}}, "description": "Style settings."}}, "required": ["name"]}, "description": "Sub-administrative regions are used to display the regional composition or regional distribution of related data."}}, "required": ["name"], "description": "Administrative division data, lower-level administrative divisions are optional. There are usually two scenarios: one is to simply display the regional composition, only `fillColor` needs to be configured, and all administrative divisions are consistent, representing that all blocks are connected as one; the other is the regional data distribution scenario, first determine the `dataType`, `dataValueUnit` and `dataLabel` configurations, `dataValue` should be a meaningful value and consistent with the meaning of dataType, and then determine the style configuration. The `fillColor` configuration represents the default fill color for areas without data. Lower-level administrative divisions do not need `fillColor` configuration, and their fill colors are determined by the `colors` configuration (If `dataType` is \"number\", only one base color (warm color) is needed in the list to calculate the continuous data mapping color band; if `dataType` is \"enum\", the number of color values in the list is equal to the number of enumeration values (contrast colors)). If `subdistricts` has a value, `showAllSubdistricts` must be set to true. For example, {\"title\": \"陕西省地级市分布图\", \"data\": {\"name\": \"陕西省\", \"showAllSubdistricts\": true, \"dataLabel\": \"城市\", \"dataType\": \"enum\", \"colors\": [\"#4ECDC4\", \"#A5D8FF\"], \"subdistricts\": [{\"name\": \"西安市\", \"dataValue\": \"省会\"}, {\"name\": \"宝鸡市\", \"dataValue\": \"地级市\"}, {\"name\": \"咸阳市\", \"dataValue\": \"地级市\"}, {\"name\": \"铜川市\", \"dataValue\": \"地级市\"}, {\"name\": \"渭南市\", \"dataValue\": \"地级市\"}, {\"name\": \"延安市\", \"dataValue\": \"地级市\"}, {\"name\": \"榆林市\", \"dataValue\": \"地级市\"}, {\"name\": \"汉中市\", \"dataValue\": \"地级市\"}, {\"name\": \"安康市\", \"dataValue\": \"地级市\"}, {\"name\": \"商洛市\", \"dataValue\": \"地级市\"}]}, \"width\": 1000, \"height\": 1000}."}, "width": {"type": "number", "default": 1600, "description": "Set the width of map, default is 1600."}, "height": {"type": "number", "default": 1000, "description": "Set the height of map, default is 1000."}}, "required": ["title", "data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_dual_axes_chart", "description": "Generate a dual axes chart which is a combination chart that integrates two different chart types, typically combining a bar chart with a line chart to display both the trend and comparison of data, such as, the trend of sales and profit over time.", "parameters": {"type": "object", "properties": {"categories": {"type": "array", "items": {"type": "string"}, "minItems": 1, "description": "Categories for dual axes chart, such as, ['2015', '2016', '2017']."}, "series": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string", "enum": ["column", "line"], "description": "The optional value can be 'column' or 'line'."}, "data": {"type": "array", "items": {"type": "number"}, "description": "When type is column, the data represents quantities, such as [91.9, 99.1, 101.6, 114.4, 121]. When type is line, the data represents ratios and its values are recommended to be less than 1, such as [0.055, 0.06, 0.062, 0.07, 0.075]."}, "axisYTitle": {"type": "string", "default": "", "description": "Set the y-axis title of the chart series, such as, axisYTitle: '销售额'."}}, "required": ["type", "data"]}, "minItems": 1, "description": "Series for dual axes chart, such as, [{ type: 'column', data: [91.9, 99.1, 101.6, 114.4, 121], axisYTitle: '销售额' }, { type: 'line', data: [0.055, 0.06, 0.062, 0.07, 0.075], 'axisYTitle': '利润率' }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}, "axisXTitle": {"type": "string", "default": "", "description": "Set the x-axis title of chart."}}, "required": ["categories", "series"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_fishbone_diagram", "description": "Generate a fishbone diagram chart to uses a fish skeleton, like structure to display the causes or effects of a core problem, with the problem as the fish head and the causes/effects as the fish bones. It suits problems that can be split into multiple related factors.", "parameters": {"type": "object", "properties": {"data": {"type": "object", "properties": {"name": {"type": "string"}, "children": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "children": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "children": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}}}, "required": ["name"]}}}, "required": ["name"]}}}, "required": ["name"], "description": "Data for fishbone diagram chart which is a hierarchical structure, such as, { name: 'main topic', children: [{ name: 'topic 1', children: [{ name: 'subtopic 1-1' }] }] }, and the maximum depth is 3."}, "style": {"type": "object", "properties": {"texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_flow_diagram", "description": "Generate a flow diagram chart to show the steps and decision points of a process or system, such as, scenarios requiring linear process presentation.", "parameters": {"type": "object", "properties": {"data": {"type": "object", "properties": {"nodes": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}, "minItems": 1}, "edges": {"type": "array", "items": {"type": "object", "properties": {"source": {"type": "string"}, "target": {"type": "string"}, "name": {"type": "string", "default": ""}}, "required": ["source", "target"]}}}, "required": ["nodes", "edges"], "description": "Data for flow diagram chart, such as, { nodes: [{ name: 'node1' }, { name: 'node2' }], edges: [{ source: 'node1', target: 'node2', name: 'edge1' }] }."}, "style": {"type": "object", "properties": {"texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_funnel_chart", "description": "Generate a funnel chart to visualize the progressive reduction of data as it passes through stages, such as, the conversion rates of users from visiting a website to completing a purchase.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "properties": {"category": {"type": "string"}, "value": {"type": "number"}}, "required": ["category", "value"]}, "minItems": 1, "description": "Data for funnel chart, such as, [{ category: '浏览网站', value: 50000 }, { category: '放入购物车', value: 35000 }, { category: '生成订单', value: 25000 }, { category: '支付订单', value: 15000 }, { category: '完成交易', value: 8000 }]."}, "style": {"type": "object", "properties": {"backgroundColor": {"type": "string", "description": "Background color of the chart, such as, '#fff'."}, "palette": {"type": "array", "items": {"type": "string"}, "description": "Color palette for the chart, it is a collection of colors."}, "texture": {"type": "string", "enum": ["default", "rough"], "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style."}}, "description": "Custom style configuration for the chart."}, "theme": {"type": "string", "enum": ["default", "academy", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'."}, "width": {"type": "number", "default": 600, "description": "Set the width of chart, default is 600."}, "height": {"type": "number", "default": 400, "description": "Set the height of chart, default is 400."}, "title": {"type": "string", "default": "", "description": "Set the title of chart."}}, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_path_map", "description": "Generate a route map to display the user's planned route, such as travel guide routes.", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The map title should not exceed 16 characters. The content should be consistent with the information the map wants to convey and should be accurate, rich, creative, and attractive."}, "data": {"type": "array", "items": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "string"}, "minItems": 1, "description": "A list of keywords for the names of points of interest (POIs) in Chinese. These POIs usually contain a group of places with similar locations, so the names should be more descriptive, must adding attributives to indicate that they are different places in the same area, such as \"北京市\" is better than \"北京\", \"杭州西湖\" is better than \"西湖\"; in addition, if you can determine that a location may appear in multiple areas, you can be more specific, such as \"杭州西湖的苏堤春晓\" is better than \"苏堤春晓\". The tool will use these keywords to search for specific POIs and query their detailed data, such as latitude and longitude, location photos, etc. For example, [\"西安钟楼\", \"西安大唐不夜城\", \"西安大雁塔\"]."}}, "required": ["data"], "description": "The route and places along it."}, "minItems": 1, "description": "Routes, each group represents all POIs along a route. For example, [{ \"data\": [\"西安钟楼\", \"西安大唐不夜城\", \"西安大雁塔\"] }, { \"data\": [\"西安曲江池公园\", \"西安回民街\"] }]"}, "width": {"type": "number", "default": 1600, "description": "Set the width of map, default is 1600."}, "height": {"type": "number", "default": 1000, "description": "Set the height of map, default is 1000."}}, "required": ["title", "data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "generate_pin_map", "description": "Generate a point map to display the location and distribution of point data on the map, such as the location distribution of attractions, hospitals, supermarkets, etc.", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The map title should not exceed 16 characters. The content should be consistent with the information the map wants to convey and should be accurate, rich, creative, and attractive."}, "data": {"type": "array", "items": {"type": "string"}, "minItems": 1, "description": "A list of keywords for the names of points of interest (POIs) in Chinese. These POIs usually contain a group of places with similar locations, so the names should be more descriptive, must adding attributives to indicate that they are different places in the same area, such as \"北京市\" is better than \"北京\", \"杭州西湖\" is better than \"西湖\"; in addition, if you can determine that a location may appear in multiple areas, you can be more specific, such as \"杭州西湖的苏堤春晓\" is better than \"苏堤春晓\". The tool will use these keywords to search for specific POIs and query their detailed data, such as latitude and longitude, location photos, etc. For example, [\"西安钟楼\", \"西安大唐不夜城\", \"西安大雁塔\"]."}, "markerPopup": {"type": "object", "properties": {"type": {"type": "string", "default": "image", "description": "Must be \"image\"."}, "width": {"type": "number", "default": 40, "description": "Width of the photo."}, "height": {"type": "number", "default": 40, "description": "Height of the photo."}, "borderRadius": {"type": "number", "default": 8, "description": "Border radius of the photo."}}, "description": "Marker type, one is simple mode, which is just an icon and does not require `markerPopup` configuration; the other is image mode, which displays location photos and requires `markerPopup` configuration. Among them, `width`/`height`/`borderRadius` can be combined to realize rectangular photos and square photos. In addition, when `borderRadius` is half of the width and height, it can also be a circular photo."}, "width": {"type": "number", "default": 1600, "description": "Set the width of map, default is 1600."}, "height": {"type": "number", "default": 1000, "description": "Set the height of map, default is 1000."}}, "required": ["title", "data"], "$schema": "http://json-schema.org/draft-07/schema#"}}}, {"type": "function", "function": {"name": "maps_around_search", "description": "周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "搜索关键词"}, "location": {"type": "string", "description": "中心点经度纬度"}, "radius": {"type": "string", "description": "搜索半径"}}, "required": ["keywords", "location"]}}}, {"type": "function", "function": {"name": "maps_search_detail", "description": "查询关键词搜或者周边搜获取到的POI ID的详细信息", "parameters": {"type": "object", "properties": {"id": {"type": "string", "description": "关键词搜或者周边搜获取到的POI ID"}}, "required": ["id"]}}}, {"type": "function", "function": {"name": "maps_text_search", "description": "关键字搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "查询关键字"}, "city": {"type": "string", "description": "查询城市"}, "citylimit": {"type": "boolean", "default": false, "description": "是否限制城市范围内搜索,默认不限制"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "tavily_search", "description": "Search the web for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts. The search results will include relevant snippets and URLs from web pages. This is particularly useful for questions about current events, technology updates, or any topic that requires recent information.", "parameters": {"properties": {"query": {"description": "Search query", "title": "Query", "type": "string"}, "max_results": {"default": 5, "description": "The maximum number of search results to return", "title": "Max Results", "type": "integer"}, "search_depth": {"default": "basic", "description": "The depth of the search. It can be 'basic' or 'advanced'", "enum": ["basic", "advanced"], "title": "Search Depth", "type": "string"}, "topic": {"default": "general", "description": "The category of the search. This will determine which of our agents will be used for the search", "enum": ["general", "news", "finance"], "title": "Topic", "type": "string"}, "days": {"default": 30, "description": "The number of days back from the current date to include in the search results. This specifies the time frame of data to be retrieved. Please note that this feature is only available when using the 'news' search topic", "title": "Days", "type": "integer"}, "time_range": {"default": "month", "description": "The time range back from the current date to include in the search results. This feature is available for both 'general' and 'news' search topics", "enum": ["day", "week", "month", "year", "d", "w", "m", "y"], "title": "Time Range", "type": "string"}, "include_images": {"default": false, "description": "Include a list of query-related images in the response", "title": "Include Images", "type": "boolean"}, "include_image_descriptions": {"default": false, "description": "Include a list of query-related images and their descriptions in the response", "title": "Include Image Descriptions", "type": "boolean"}, "include_raw_content": {"default": false, "description": "Include the cleaned and parsed HTML content of each search result", "title": "Include Raw Content", "type": "boolean"}, "include_domains": {"default": [], "description": "A list of domains to specifically include in the search results, if the user asks to search on specific sites set this to the domain of the site", "items": {"type": "string"}, "title": "Include Domains", "type": "array"}, "exclude_domains": {"default": [], "description": "List of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "country": {"default": "", "description": "Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.", "title": "Country", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}, "start_date": {"default": "", "description": "Will return all results after the specified start date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "Start Date", "type": "string"}, "end_date": {"default": "", "description": "Will return all results before the specified end date ( publish date ). Required to be written in the format YYYY-MM-DD", "title": "End Date", "type": "string"}}, "required": ["query"], "type": "object"}}}, {"type": "function", "function": {"name": "tavily_crawl", "description": "Crawl multiple pages from a website starting from a base URL. Use this tool when you need to gather information from multiple related pages across a website or explore a site's structure. It follows internal links and extracts content from multiple pages, but truncates content to 500 characters per page. For full content extraction, use tavily_map to discover URLs first, then tavily_extract to get complete content from specific pages. Useful for comprehensive research on documentation sites, blogs, or when you need to understand the full scope of information available on a website.", "parameters": {"properties": {"url": {"description": "The root URL to begin the crawl", "title": "Url", "type": "string"}, "max_depth": {"default": 1, "description": "Max depth of the crawl. Defines how far from the base URL the crawler can explore.", "minimum": 1, "title": "Max Depth", "type": "integer"}, "max_breadth": {"default": 20, "description": "Max number of links to follow per level of the graph (i.e., per page)", "minimum": 1, "title": "Max Breadth", "type": "integer"}, "limit": {"default": 50, "description": "Total number of links the crawler will process before stopping", "minimum": 1, "title": "Limit", "type": "integer"}, "instructions": {"default": "", "description": "Natural language instructions for the crawler. Instructions specify which types of pages the crawler should return.", "title": "Instructions", "type": "string"}, "select_paths": {"default": [], "description": "Regex patterns to select only URLs with specific path patterns (e.g., /docs/.*, /api/v1.*)", "items": {"type": "string"}, "title": "Select Paths", "type": "array"}, "select_domains": {"default": [], "description": "Regex patterns to restrict crawling to specific domains or subdomains (e.g., ^docs\\.example\\.com$)", "items": {"type": "string"}, "title": "Select Domains", "type": "array"}, "exclude_paths": {"default": [], "description": "Regex patterns to exclude URLs from the crawl with specific path patterns", "items": {"type": "string"}, "title": "Exclude Paths", "type": "array"}, "exclude_domains": {"default": [], "description": "Regex patterns to exclude URLs from specific domains or subdomains", "items": {"type": "string"}, "title": "Exclude Domains", "type": "array"}, "allow_external": {"default": true, "description": "Whether to return external links in the final response", "title": "Allow External", "type": "boolean"}, "include_images": {"default": false, "description": "Whether to include images in the crawl results", "title": "Include Images", "type": "boolean"}, "extract_depth": {"default": "basic", "description": "Advanced extraction retrieves more data, including tables and embedded content, with higher success but may increase latency", "enum": ["basic", "advanced"], "title": "Extract Depth", "type": "string"}, "format": {"default": "markdown", "description": "The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.", "enum": ["markdown", "text"], "title": "Format", "type": "string"}, "include_favicon": {"default": false, "description": "Whether to include the favicon URL for each result", "title": "Include Favicon", "type": "boolean"}}, "required": ["url"], "type": "object"}}}, {"type": "function", "function": {"name": "search_images", "description": " Get Public Available Stock Symbols from Global Marketplace\n\n Args:\n query: str, query used in Bing search engine\n limit: int, number of images information returned\n \n Return: \n str: json str with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query": {"default": "", "title": "Query", "type": "string"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "title": "search_imagesArguments", "type": "object"}}}, {"type": "function", "function": {"name": "search_images_batch", "description": " Batch Method of Search Images From Bing Web Search\n\n Args:\n query_list: List[str], List of query used in Bing Image search engine\n limit: int, number of images information returned\n \n Return: \n Dict: json Dict with below values samples\n\n [{'title': 'Italy Travel Guide: The Ultimate 2-week Road Trip · Salt in our Hair',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.TEuPMUk1s2A3OBkq3LrTnwHaFc&pid=15.1'},\n {'title': '25 Best Places to Visit in Italy (+ Map to Find Them!) - Our Escape Clause',\n 'thumbnail_url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1',\n 'url': 'http://ts2.mm.bing.net/th?id=OIP.kle1eO_p_4crE4lRtWK8AgHaE8&pid=15.1'}\n ]\n ", "parameters": {"properties": {"query_list": {"items": {"type": "string"}, "title": "Query List", "type": "array"}, "limit": {"default": 10, "title": "Limit", "type": "integer"}}, "required": ["query_list"], "title": "search_images_batchArguments", "type": "object"}}}, {"type": "function", "function": {"name": "maps_search_places", "description": "Search for places using Google Places API", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Search query"}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}}, "description": "Optional center point for the search"}, "radius": {"type": "number", "description": "Search radius in meters (max 50000)"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "maps_distance_matrix", "description": "Calculate travel distance and time for multiple origins and destinations", "parameters": {"type": "object", "properties": {"origins": {"type": "array", "items": {"type": "string"}, "description": "Array of origin addresses or coordinates"}, "destinations": {"type": "array", "items": {"type": "string"}, "description": "Array of destination addresses or coordinates"}, "mode": {"type": "string", "description": "Travel mode (driving, walking, bicycling, transit)", "enum": ["driving", "walking", "bicycling", "transit"]}}, "required": ["origins", "destinations"]}}}], "tool_calls": {"id": "call_292c22e3ef694a07ae0595", "function": {"arguments": "{\"query\": \"北京到台州2日游最佳路线和景点推荐\"}", "name": "tavily_search"}, "type": "function"}}]}