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": "getgroups", "description": "Fetches the WhatsApp groups associated with the provided phone ID using the Maytapi API.", "parameters": {"phone_id": {"description": "The ID of the phone whose WhatsApp groups are to be fetched.", "type": "str", "default": "12"}}}, {"name": "contacts", "description": "Fetches the contacts list from a specified WhatsApp instance using the Maytapi API.", "parameters": {"phone_id": {"description": "The unique identifier for the phone instance in the Maytapi WhatsApp service.", "type": "str", "default": ""}}}]
Hey there! I'm managing a couple of WhatsApp accounts for our project. Could you fetch the group data for phone ID '12345'? Also, I need the contacts list for phone ID '67890'. Thanks!
user
assistant
[{"name": "getgroups", "arguments": {"phone_id": "12345"}}, {"name": "contacts", "arguments": {"phone_id": "67890"}}]