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": "is_power", "description": "Checks if a number is a power of a given base.", "parameters": {"num": {"description": "The number to check.", "type": "int"}, "base": {"description": "The base to check against.", "type": "int"}}}, {"name": "is_power_of_two", "description": "Checks if a number is a power of two.", "parameters": {"num": {"description": "The number to check.", "type": "int"}}}]
I'm working on a problem where I need to check if 729 is a power of 3 and if 16 is a power of 4.
user
assistant
[{"name": "is_power", "arguments": {"num": 729, "base": 3}}, {"name": "is_power", "arguments": {"num": 16, "base": 4}}]