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": "investment_profit", "description": "Calculates the profit from an investment based on the initial amount, annual return rate, and time.", "parameters": {"amount": {"description": "The initial investment amount.", "type": "float"}, "rate": {"description": "The annual return rate expressed as a decimal.", "type": "float"}, "years": {"description": "The number of years the investment is held.", "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"}}}, {"name": "max_points_on_line", "description": "Finds the maximum number of points that lie on the same straight line.", "parameters": {"points": {"description": "A list of points represented as tuples (x, y).", "type": "List[Tuple[int, int]]"}}}]
Is the number 256 a power of two?
user
assistant
[{"name": "is_power_of_two", "arguments": {"num": 256}}]