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": "royal_matches", "description": "Fetch recent royal matches from the Trackmania API.", "parameters": {"page": {"description": "The page number of the results to fetch, where each page contains a defined number of results. The default is `0`.", "type": "int", "default": "0"}, "limit": {"description": "The maximum number of results to return. The default is `50`.", "type": "int", "default": "50"}}}, {"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": ""}}}, {"name": "getgamelist", "description": "Fetches a list of games from the EvoSiss Game Database API, returning their IDs and series names in JSON format.", "parameters": {"page": {"description": "The page number to retrieve from the game list.", "type": "int", "default": "0"}}}, {"name": "matchmaking_matches", "description": "Fetch recent matchmaking matches with optional pagination and result limit.", "parameters": {"limit": {"description": "The maximum number of match results to return. Default is 50.", "type": "int", "default": "50"}, "page": {"description": "The page number for pagination, each containing 50 results. Default is 0.", "type": "int", "default": "0"}}}]
Fetch 5 trivia questions from the science and nature category.
user
assistant
[{"name": "v1_trivia", "arguments": {"limit": 5, "category": "sciencenature"}}]