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": "languages", "description": "Fetch a list of the world's languages, optionally filtered and translated.", "parameters": {"lang_3": {"description": "Filter by 3-letter ISO language code. Defaults to None.", "type": "str, optional", "default": ""}, "iso_a2": {"description": "Filter by 2-letter country code. Defaults to None.", "type": "str, optional", "default": ""}, "fields": {"description": "Select fields to include in the result (e.g., 'iso_a2,lang_3,flag'). Defaults to 'iso_a2,lang_3,flag'.", "type": "str, optional", "default": "iso_a2,lang_3,flag"}, "lang": {"description": "Language code to translate the results into. Defaults to 'en'.", "type": "str, optional", "default": "en"}}}, {"name": "search_restaurants_by_town", "description": "Search for restaurants within a specified town or city using the Wyre Data API.", "parameters": {"town": {"description": "The name of the town or city to search for restaurants.", "type": "str", "default": "hambleton"}}}]
Can you list all languages spoken in France and translate them into Spanish? Also, find restaurants in Paris.
user
assistant
[{"name": "languages", "arguments": {"iso_a2": "FR", "lang": "es"}}, {"name": "search_restaurants_by_town", "arguments": {"town": "Paris"}}]