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_by_genre", "description": "Discover movies by genre using the RapidAPI.", "parameters": {"with_genres": {"description": "The genre code to filter movies by. Defaults to '80'.", "type": "str", "default": "80"}, "page": {"description": "The page number of results to retrieve. Defaults to 1.", "type": "int", "default": "1"}}}, {"name": "title_details", "description": "Fetch detailed information about a movie or TV show from the OTT Details API using the IMDb ID.", "parameters": {"imdbid": {"description": "The IMDb ID of the movie or TV show to fetch details for.", "type": "str", "default": "tt9904802"}}}]
Discover 'Horror' movies on page 3.
user
assistant
[{"name": "search_by_genre", "arguments": {"with_genres": "27", "page": 3}}]