You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions.
system
[{"name": "fetch_by_type_and_region", "description": "Fetch records from the API based on the given type, limit, and region.", "parameters": {"type": {"description": "The type of records to fetch. Refer to the README for accepted types.", "type": "str", "default": "Hill"}, "limit": {"description": "The maximum number of records to fetch.", "type": "int", "default": "5"}, "region": {"description": "The region from which to fetch records.", "type": "str", "default": "Eastern"}}}, {"name": "search_zip_codes_in_mexico", "description": "Performs a text search for zip codes in Mexico using the provided query string.", "parameters": {"q": {"description": "The search query string to look up zip codes.", "type": "str", "default": "cerrada san mibuel"}}}, {"name": "search", "description": "Performs a global geocoding search using the provided query and optional parameters, returning geographic data from the API.", "parameters": {"q": {"description": "Query string to search for geographic locations.", "type": "str", "default": "Kirchengasse Wien"}, "language": {"description": "Language for the given instructions. Must be a valid ISO 639-1 language code. Default is None.", "type": "str, optional", "default": ""}, "viewbox": {"description": "Preferred area to search in, formatted as `{minLng},{minLat},{maxLng},{maxLat}`. Default is None.", "type": "str, optional", "default": ""}, "polygon": {"description": "Whether available polygons are added to the response data. Default is None.", "type": "str, optional", "default": ""}, "limit": {"description": "Limits the number of returned results. Default is None.", "type": "int, optional", "default": ""}, "countrycodes": {"description": "Limits results to specified countries. Multiple countries should be separated by commas, using valid ISO 3166-1 alpha-2 country codes. Default is None.", "type": "str, optional", "default": ""}}}, {"name": "autosuggest", "description": "Fetches suggestions for a search term near a specified geographic point, filtered by various parameters.", "parameters": {"name": {"description": "The query term on which to search.", "type": "str", "default": "don"}, "lon": {"description": "Longitude of the selected point.", "type": "int", "default": "-70.65"}, "radius": {"description": "Maximum distance from the selected point in meters.", "type": "int", "default": "5000"}, "lang": {"description": "Language code (2 characters, ISO639-1). Available values include 'en' for English and 'ru' for Russian.", "type": "str", "default": ""}, "lat": {"description": "Latitude of the selected point.", "type": "int", "default": "-33.437"}, "kinds": {"description": "Object category. Multiple comma-separated categories may be stated with OR logic. Defaults to 'foods'.", "type": "str, optional", "default": "foods"}, "rate": {"description": "Minimum rating of the object popularity. Available values include 1, 2, 3 for basic ratings, and 1h, 2h, 3h for cultural heritage ratings. Defaults to None.", "type": "str, optional", "default": ""}, "src_attr": {"description": "The source of the object attributes. Multiple sources separated by commas are allowed. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra, user.", "type": "str, optional", "default": ""}, "format": {"description": "The output format. Defaults to None, which uses GeoJSON. Available values include 'json' and 'geojson'.", "type": "str, optional", "default": ""}, "limit": {"description": "Maximum number of returned objects. Defaults to 10.", "type": "int, optional", "default": "10"}, "src_geom": {"description": "The source of the object geometry. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra.", "type": "str, optional", "default": ""}}}]
Search for locations with the name 'Empire State Building' in the viewbox of {-74.048145, 40.681002, -73.907058, 40.852296} and limit the results to 10.
user
assistant
[{"name": "search", "arguments": {"q": "Empire State Building", "viewbox": "-74.048145,40.681002,-73.907058,40.852296", "limit": 10}}]