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": "gettspmatches", "description": "Retrieves TSP match data from the Betsports API.", "parameters": {"cookie": {"description": "Cookie string for the request headers, default is 'i18next=es;'.", "type": "str", "default": "i18next=es;"}, "host": {"description": "Host string for the request headers, default is 'www.mozzartbet.com.co'.", "type": "str", "default": "www.mozzartbet.com.co"}, "referer": {"description": "Referer string for the request headers, default is 'https://www.mozzartbet.com.co/es'.", "type": "str", "default": "https://www.mozzartbet.com.co/es"}}}, {"name": "query_horses", "description": "Queries horses by name using the Horse Racing API and returns the results.", "parameters": {"name": {"description": "The name of the horse to search for. Must be a minimum of 3 characters.", "type": "str", "default": "ZANAHIYR"}}}, {"name": "fastest_laps_result", "description": "Retrieves information about the fastest laps in a specific Formula 1 race based on the given location and year.", "parameters": {"location": {"description": "The location of the race.", "type": "str", "default": "bahrain"}, "year": {"description": "The year of the race.", "type": "int", "default": "2022"}}}]
Find data on a horse called 'Phar Lap' from the horse racing API.
user
assistant
[{"name": "query_horses", "arguments": {"name": "Phar Lap"}}]