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_by_id", "description": "Fetch anime details by their unique ID using the RapidAPI service.", "parameters": {"is_id": {"description": "The unique identifier for the anime.", "type": "int", "default": 1}}}, {"name": "search_by_name", "description": "Searches for a movie by its title using the provided query string.", "parameters": {"query": {"description": "The movie title or keyword to search for.", "type": "str", "default": "kong"}, "page": {"description": "The page number of results to retrieve. Defaults to 1.", "type": "int, optional", "default": "1"}}}, {"name": "titles_id_main_actors", "description": "Fetches the main actors of a title given its IMDb ID.", "parameters": {"is_id": {"description": "IMDb ID of the title (e.g., 'tt0000002').", "type": "str", "default": ""}}}, {"name": "get_id", "description": "Fetches the ID of a movie based on the given search query from the RapidAPI similar movies service.", "parameters": {"q": {"description": "The search string for the movie title.", "type": "str", "default": "titanic"}}}]
Could you help me find the anime with ID 54321? Additionally, can you search for movies with the keyword 'action'?
user
assistant
[{"name": "get_by_id", "arguments": {"is_id": 54321}}, {"name": "search_by_name", "arguments": {"query": "action"}}]