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": "numbers_translator", "description": "Converts a numerical text string into its spelled-out form using an external API.", "parameters": {"text": {"description": "Numerical text to be converted. Defaults to '23879908709817834'.", "type": "str, optional", "default": "23879908709817834"}}}, {"name": "study_list_macquarie", "description": "Fetches kanji information based on a given list using the Kanjialive API.", "parameters": {"list": {"description": "A string representing the specific chapters of Kanji to be queried (e.g., \"12-22\").", "type": "str", "default": "mac:c12"}}}, {"name": "get_year_fact", "description": "Fetch a fact about a given year from the Numbers API.", "parameters": {"year": {"description": "The year for which to retrieve the fact.", "type": "str", "default": "1492"}, "fragment": {"description": "If 'True', returns the fact as a fragment that can be easily included as part of a larger sentence. Defaults to 'True'.", "type": "str, optional", "default": true}, "json": {"description": "If 'True', returns the result in JSON format instead of plaintext. Defaults to 'True'.", "type": "str, optional", "default": true}}}]
What is the spelled-out form of the number '987654321' and a fact about the year '1776' in sentence fragment format and in JSON?
user
assistant
[{"name": "numbers_translator", "arguments": {"text": "987654321"}}, {"name": "get_year_fact", "arguments": {"year": "1776", "fragment": "True", "json": "True"}}]