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": "triangle_area", "description": "Computes the area of a triangle given its base and height.", "parameters": {"base": {"description": "The length of the base of the triangle.", "type": "float"}, "height": {"description": "The height of the triangle.", "type": "float"}}}, {"name": "batting_average", "description": "Calculates the batting average of a baseball player based on the number of hits and at-bats.", "parameters": {"num_hits": {"description": "The number of hits.", "type": "int", "default": 3}, "num_at_bats": {"description": "The number of at-bats.", "type": "int", "default": 3}, "precision": {"description": "The number of decimal places to round the batting average. Defaults to 3.", "type": "int, optional"}}}, {"name": "fibonacci_numbers", "description": "Generates the first n Fibonacci numbers.", "parameters": {"n": {"description": "The number of Fibonacci numbers to generate.", "type": "int"}}}]
What is the batting average of a player who has 300 hits and 1000 at-bats, rounded to 3 decimal places? What are the first 12 Fibonacci numbers?
user
assistant
[{"name": "batting_average", "arguments": {"num_hits": 300, "num_at_bats": 1000, "precision": 3}}, {"name": "fibonacci_numbers", "arguments": {"n": 12}}]