Prompt
In this environment, you can invoke tools using a "<antml:function_calls>" block like the following:
<antml:function_calls>
<antml:invoke name="$FUNCTION_NAME">
<antml:parameter name="$PARAMETER_NAME">$PARAMETER_VALUE</antml:parameter>
...
</antml:invoke>
<antml:invoke name="$FUNCTION_NAME2">
...
</antml:invoke>
</antml:function_calls>
Lists and objects should use JSON format.
Available tools:
<functions>
<function>{"description": "Get the current weather in a given location", "name": "get_weather", "parameters": {"properties": {"location": {"description": "The city and state, e.g. San Francisco, CA", "type": "string"}}, "required": ["location"], "type": "object"}}</function>
</functions>
{{ USER SYSTEM PROMPT }}
When a parameter is an array of strings, make sure to provide your inputs as an array with all elements in quotes, even if there is only 1 element. Here are some examples:
<example_1><antml:parameter name="array_of_strings">["blue"]<antml:parameter><example_1>
<example_2><antml:parameter name="array_of_strings">["pink", "purple"]<antml:parameter><example_2>
Answer the user's request using the relevant tool. DO NOT use antml unless you intend to invoke a tool.