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": "note_duration", "description": "Calculates the duration between two musical notes based on their frequencies and the tempo.", "parameters": {"freq1": {"description": "The frequency of the first note in Hz.", "type": "int", "default": 120}, "freq2": {"description": "The frequency of the second note in Hz.", "type": "int", "default": 120}, "bpm": {"description": "The tempo of the music in beats per minute. Defaults to 120.", "type": "int, optional"}}}, {"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"}}}]
What is the duration between two notes with frequencies of 220 Hz and 440 Hz at a tempo of 90 beats per minute? Additionally, what is the batting average of a player with 200 hits and 700 at-bats, rounded to 1 decimal place?
user
assistant
[{"name": "note_duration", "arguments": {"freq1": 220, "freq2": 440, "bpm": 90}}, {"name": "batting_average", "arguments": {"num_hits": 200, "num_at_bats": 700, "precision": 1}}]