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": "cities_in_a_state", "description": "Fetches the list of cities in a given state.", "parameters": {"statecode": {"description": "The code of the state for which the cities are to be fetched.", "type": "str", "default": "CA"}, "countrycode": {"description": "The code of the country where the state is located.", "type": "str", "default": "US"}}}]
I need to know the cities in the state of New York in the United States and also in New South Wales in Australia.
user
assistant
[{"name": "cities_in_a_state", "arguments": {"statecode": "NY", "countrycode": "US"}}, {"name": "cities_in_a_state", "arguments": {"statecode": "NSW", "countrycode": "AU"}}]