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": "search", "description": "Searches for a profile on the specified API using the given username and API key.", "parameters": {"username": {"description": "The username to be searched. Defaults to 'kim'.", "type": "str", "default": "kim"}}}, {"name": "get_user_tweets", "description": "Fetches tweets for a specified user using the provided RapidAPI key.", "parameters": {"count": {"description": "The number of tweets to retrieve.", "type": "str", "default": "20"}, "user": {"description": "The ID of the user whose tweets are to be fetched.", "type": "str", "default": "2455740283"}, "cursor": {"description": "The cursor for pagination. Default is None.", "type": "str, optional", "default": ""}}}, {"name": "profile_publications", "description": "Fetches publications from an Instagram profile using the RapidAPI Instagram Scraper.", "parameters": {"username": {"description": "The Instagram username to fetch publications for. Default is 'kimkardashian'.", "type": "str", "default": "kimkardashian"}, "nextmaxid": {"description": "The nextMaxId parameter for pagination in Instagram API. Default is None.", "type": "str, optional", "default": ""}}}, {"name": "get_9gag", "description": "Checks if a given username is available on 9gag using the RapidAPI service.", "parameters": {"username": {"description": "The username to check for availability on 9gag.", "type": "str", "default": "username"}}}]
Check if 'username123' is available on 9gag and search for the Instagram profile of 'username456'.
user
assistant
[{"name": "get_9gag", "arguments": {"username": "username123"}}, {"name": "search", "arguments": {"username": "username456"}}]