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": "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": ""}}}, {"name": "email_id", "description": "Validates an email address using the Toolbench API and returns the validation result.", "parameters": {"email": {"description": "The email address to validate.", "type": "str", "default": "test@gmail.com"}}}, {"name": "api_whois", "description": "Fetch WHOIS data for a given IP address, host, or URL using the RapidAPI service.", "parameters": {"ip": {"description": "The IP address to query WHOIS information for. Defaults to '8.8.8.8'.", "type": "str, optional", "default": "8.8.8.8"}, "host": {"description": "The host name to query WHOIS information for. Defaults to 'google.com'.", "type": "str, optional", "default": "google.com"}, "url": {"description": "The URL to query WHOIS information for. Defaults to 'http://google.com'.", "type": "str, optional", "default": "http://google.com"}}}]
Fetch contacts from WhatsApp ID '9876543210' and check if 'user@example.com' is a valid email address. Also, retrieve WHOIS details for the URL 'http://wikipedia.org'.
user
assistant
[{"name": "contacts", "arguments": {"phone_id": "9876543210"}}, {"name": "email_id", "arguments": {"email": "user@example.com"}}, {"name": "api_whois", "arguments": {"url": "http://wikipedia.org"}}]