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": "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}}}]
Retrieve a fact about the year 1800 in JSON format, but not as a sentence fragment.
user
assistant
[{"name": "get_year_fact", "arguments": {"year": "1800", "fragment": "False", "json": "True"}}]