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": "head_to_head", "description": "Fetches and returns head-to-head statistics and previous encounters for the home and away team of an upcoming match.", "parameters": {"is_id": {"description": "The ID of the match to get statistics for.", "type": "int", "default": "81930"}, "limit": {"description": "Limits the search to only X previous encounters. The default is 10, with a maximum of 10.", "type": "int, optional", "default": "10"}}}, {"name": "prematchform", "description": "Fetch the pregame form for a specific handball match using its ID.", "parameters": {"is_id": {"description": "The ID of the handball match for which to retrieve the pre-match form.", "type": "int", "default": 10485760}}}]
Can you retrieve the last 5 head-to-head encounters for the football match with ID 345678?
user
assistant
[{"name": "head_to_head", "arguments": {"is_id": 345678, "limit": 5}}]