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": "get_all_servers", "description": "Fetches a list of Minecraft servers with an optional limit on the number of servers returned.", "parameters": {"limit": {"description": "A string representing the maximum number of servers to return.", "type": "str", "default": "2000"}}}, {"name": "get_a_specific_item", "description": "Fetches a specific item from the Lost Ark API using the provided item name.", "parameters": {"name": {"description": "The name of the item to retrieve from the Lost Ark API.", "type": "str", "default": "Hollowfruit"}}}, {"name": "custom_dice", "description": "Roll a specified number of dice with a specified number of sides using the RapidAPI Dice Roll Simulator.", "parameters": {"dice": {"description": "The number of dice to roll. Defaults to 3.", "type": "int, optional", "default": "3"}, "sides": {"description": "The number of sides on each die. Defaults to 8.", "type": "int, optional", "default": "8"}}}, {"name": "v1_trivia", "description": "Fetches trivia questions from the API Ninjas Trivia API endpoint.", "parameters": {"limit": {"description": "The number of trivia questions to return. Must be between 1 and 30. Default is 1.", "type": "int, optional", "default": ""}, "category": {"description": "The category of trivia questions to filter by. Possible values are:", "type": "str, optional", "default": ""}}}]
Roll 1 twenty-sided die and retrieve 2 trivia questions from the 'mathematics' category.
user
assistant
[{"name": "custom_dice", "arguments": {"dice": 1, "sides": 20}}, {"name": "v1_trivia", "arguments": {"limit": 2, "category": "mathematics"}}]