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": "find_next_greater_element", "description": "Finds the next greater element for each element in a list.", "parameters": {"nums": {"description": "The list of numbers.", "type": "List[int]"}}}]
I have a list of integers: 5, 7, 3, 6, 8, 1. What are the next greater elements for each?
user
assistant
[{"name": "find_next_greater_element", "arguments": {"nums": [5, 7, 3, 6, 8, 1]}}]