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": "sort_numbers", "description": "Sorts a list of numbers in ascending or descending order.", "parameters": {"numbers": {"description": "The list of numbers to be sorted.", "type": "List[float]"}, "descending": {"description": "If True, sorts the numbers in descending order. Defaults to False.", "type": "bool, optional"}}}, {"name": "greatest_common_divisor", "description": "Computes the greatest common divisor (GCD) of two non-negative integers.", "parameters": {"a": {"description": "The first non-negative integer.", "type": "int"}, "b": {"description": "The second non-negative integer.", "type": "int"}}}, {"name": "chi_square_independence_test", "description": "Performs a Chi-Square test for independence on a 2x2 contingency table.", "parameters": {"contingency_table": {"description": "A 2x2 contingency table represented as a list of lists.", "type": "List[List[int]]", "default": 0.05}, "significance_level": {"description": "The significance level for the Chi-Square test. Defaults to 0.05.", "type": "float, optional", "default": 0.05}}}]
Sort these numbers: 5.2, 3.1, 8.9, 2.0 in both ascending and descending order.
user
assistant
[{"name": "sort_numbers", "arguments": {"numbers": [5.2, 3.1, 8.9, 2.0], "descending": false}}, {"name": "sort_numbers", "arguments": {"numbers": [5.2, 3.1, 8.9, 2.0], "descending": true}}]