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_title", "description": "Search for Movies or TV Shows by title, with optional filters for year, media type, and limit on the number of results.", "parameters": {"s": {"description": "The title of the Movie or TV Show to search for.", "type": "str", "default": "jaws"}, "l": {"description": "The maximum number of items to return. Accepts values from 1 to 100. Defaults to None.", "type": "int, optional", "default": ""}, "y": {"description": "The year to filter the search results (format YYYY). This will also include movies from the previous and next year. Defaults to None.", "type": "int, optional", "default": ""}, "m": {"description": "Filter by media type, either 'movie' or 'tv show'. Leave empty for both. Defaults to None.", "type": "str, optional", "default": ""}}}]
Search for movies and TV shows with the title 'The Dark Knight' without any limit on the number of results.
user
assistant
[{"name": "search_by_title", "arguments": {"s": "The Dark Knight"}}]