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_webhooks", "description": "Retrieves all existing webhooks using the provided API key and optional RapidAPI key.", "parameters": {"p": {"description": "API key from Sms77.io.", "type": "str", "default": ""}}}, {"name": "get_status", "description": "Retrieve the delivery status report for a given message ID using the provided API key.", "parameters": {"msg_id": {"description": "The unique identifier of the SMS message. This can be obtained by setting the parameter `JSON`, `return_msg_id` or `details` to `1` when sending the SMS via the API. It can also be retrieved from the message journal in the user area.", "type": "int", "default": ""}, "p": {"description": "The API Key for authentication.", "type": "str", "default": ""}}}, {"name": "get_contacts", "description": "Retrieves all contacts using the provided API key and returns the response in either JSON or CSV format.", "parameters": {"p": {"description": "API Key from Sms77.io.", "type": "str", "default": ""}, "json": {"description": "Specifies whether to return the response in JSON format. If not provided, the response will be in CSV format.", "type": "str, optional", "default": ""}}}]
Retrieve all contacts in JSON format using API key 'def456' and get the status of message ID 654321.
user
assistant
[{"name": "get_contacts", "arguments": {"p": "def456", "json": "true"}}, {"name": "get_status", "arguments": {"msg_id": 654321, "p": "def456"}}]