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": "search_country", "description": "Search for a country to see if they have an active pageant contest.", "parameters": {"search": {"description": "The search string to query for active pageant contests in a country.", "type": "str", "default": "philippines"}}}, {"name": "order_by_ascending", "description": "Fetches a list of all cats sorted in ascending order by a specified attribute.", "parameters": {"ordering": {"description": "The attribute by which to order the list of cats, e.g., 'name'.", "type": "str", "default": "breedName"}}}]
Which countries starting with the letter 'A' have an active pageant contest and what are the names of all cat breeds sorted in ascending order by their rarity?
user
assistant
[{"name": "search_country", "arguments": {"search": "A"}}, {"name": "order_by_ascending", "arguments": {"ordering": "rarity"}}]