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": "getorderbyid", "description": "Fetch an order by its ID from a remote API.", "parameters": {"orderid": {"description": "The ID of the order to fetch. Must be an integer between 1 and 10.", "type": "int", "default": 0}}}, {"name": "loginuser", "description": "This function logs in a user by sending their username and password to the specified API endpoint using the provided RapidAPI key.", "parameters": {"username": {"description": "The username for logging in.", "type": "str", "default": ""}, "password": {"description": "The password for logging in, in clear text.", "type": "str", "default": ""}}}]
Log in as 'alice' with 'password123', then check orders 4 and 8.
user
assistant
[{"name": "loginuser", "arguments": {"username": "alice", "password": "password123"}}, {"name": "getorderbyid", "arguments": {"orderid": 4}}, {"name": "getorderbyid", "arguments": {"orderid": 8}}]