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_exchange", "description": "Search for exchanges based on a query string or category.", "parameters": {"q": {"description": "A query string to search for specific exchanges. Defaults to 'B'.", "type": "str, optional", "default": "B"}, "category": {"description": "The category to filter the exchanges, for example, 'Cryptocurrency'. Defaults to 'Cryptocurrency'.", "type": "str, optional", "default": "Cryptocurrency"}}}, {"name": "balance_sheet_statement", "description": "Fetches the balance sheet statement of a specified company by its ticker symbol.", "parameters": {"ticker": {"description": "The ticker symbol of the company whose balance sheet statement is to be retrieved.", "type": "str", "default": "AAPL"}}}]
Get the balance sheet of Microsoft and search for stock exchanges with names containing 'New York'.
user
assistant
[{"name": "balance_sheet_statement", "arguments": {"ticker": "MSFT"}}, {"name": "search_exchange", "arguments": {"q": "New York", "category": "Stock"}}]