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": "numerical_derivative", "description": "Estimates the derivative of a function at a given point using the central difference formula.", "parameters": {"function": {"description": "The function to calculate the derivative of.", "type": "Callable[[float], float]"}, "x": {"description": "The point at which to estimate the derivative.", "type": "float"}}}]
Can you find the derivative of the function h(x) = e^x * cos(x) at x = 1 and x = -1?
user
assistant
[{"name": "numerical_derivative", "arguments": {"function": "lambda x: math.exp(x) * math.cos(x)", "x": 1}}, {"name": "numerical_derivative", "arguments": {"function": "lambda x: math.exp(x) * math.cos(x)", "x": -1}}]