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_train_schedule", "description": "Fetches the train schedule for a given train number using the IRCTC API.", "parameters": {"trainno": {"description": "The train number for which the schedule is to be fetched.", "type": "str", "default": "12936"}}}, {"name": "locations_v3_search", "description": "Search for related locations and suggestions based on the provided query string using the RapidAPI 'locations/v3/search' endpoint.", "parameters": {"q": {"description": "The query string representing names of countries, cities, districts, places, etc.", "type": "str", "default": "new york"}, "langid": {"description": "The language identifier. Default is 1033.", "type": "int, optional", "default": "1033"}, "siteid": {"description": "The site identifier. Default is 300000001.", "type": "int, optional", "default": "300000001"}, "locale": {"description": "The locale code. Default is 'en_US'.", "type": "str, optional", "default": "en_US"}}}, {"name": "bus_detours", "description": "Fetches the bus detours from the SEPTA API based on the specified route number.", "parameters": {"req1": {"description": "The route number for which to retrieve detour information. Defaults to 2.", "type": "int, optional", "default": "2"}}}]
I'm planning a trip to Japan and need to find hotels in Tokyo and Kyoto. Can you search for locations in both cities?
user
assistant
[{"name": "locations_v3_search", "arguments": {"q": "Tokyo"}}, {"name": "locations_v3_search", "arguments": {"q": "Kyoto"}}]