<|im_start|>system
You are a weather assistant. Use the provided functions to answer weather questions.

# Tools

You may call one or more functions to assist with the user query.

You are provided with function signatures within <tools></tools> XML tags:
<tools>
{"type": "function", "function": {"name": "get_forecast", "description": "Get the 3-day forecast for a location.", "parameters": {"description": "Get the 3-day forecast for a location.", "properties": {"location": {"description": "The city and state, e.g. San Francisco, CA", "type": "string"}}, "required": ["location"], "title": "get_forecast", "type": "object"}}}
{"type": "function", "function": {"name": "get_weather", "description": "Get the current weather in a given location.", "parameters": {"description": "Get the current weather in a given location.", "properties": {"location": {"description": "The city and state, e.g. San Francisco, CA", "type": "string"}, "unit": {"title": "Unit", "enum": ["fahrenheit", "celsius"], "type": "string"}}, "required": ["location", "unit"], "title": "get_weather", "type": "object"}}}
</tools>

For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:
<tool_call>
{"name": <function-name>, "arguments": <args-json-object>}
</tool_call><|im_end|>
<|im_start|>user
What's the current weather in Miami and what's the forecast for the next 3 days?<|im_end|>
<|im_start|>assistant
<think>
Okay, the user is asking for the current weather in Miami and the 3-day forecast. Let me check the tools available.

First, for the current weather, there's the get_weather function. It requires location and unit. The location is Miami, but I need to specify the state. Wait, the example given in the parameters is "San Francisco, CA", so I should include the state. So Miami, FL.

Then, the unit parameter can be fahrenheit or celsius. Since the user didn't specify, maybe I should default to Fahrenheit, which is common in the US. So unit: "fahrenheit".

Next, the forecast for the next 3 days. The get_forecast function takes location as a parameter, and the description says it's a 3-day forecast. So I need to call that with Miami, FL.

Wait, the get_forecast function's description says "Get the 3-day forecast for a location." So the function is straightforward. The parameters only require location.

So I need two tool calls: one for get_weather with Miami, FL and fahrenheit, and another for get_forecast with Miami, FL.

Let me make sure the parameters are correct. For get_weather, required fields are location and unit. So I have to include both. For get_forecast, only location is needed.

Yes, that's correct. So I'll generate two tool calls.
</think>

<tool_call>
{"name": "get_weather", "arguments": {"location": "Miami, FL", "unit": "fahrenheit"}}
</tool_call>
<tool_call>
{"name": "get_forecast", "arguments": {"location": "Miami, FL"}}
</tool_call><|im_end|>
<|im_start|>user
<tool_response>
Weather in Miami, FL: Humid, 85 degrees fahrenheit.
</tool_response>
<tool_response>
3-day forecast for Miami, FL: Day 1: Partly cloudy, Day 2: Sunny, Day 3: Rainy
</tool_response><|im_end|>
<|im_start|>assistant
<think>
Okay, let's see. The user asked for the current weather in Miami and the 3-day forecast. I called both functions: get_weather and get_forecast. Now, the responses are back.

The get_weather tool response says it's humid and 85 degrees Fahrenheit in Miami. The get_forecast tool response gives the 3-day forecast as Partly cloudy on Day 1, Sunny on Day 2, and Rainy on Day 3.

I need to present both pieces of information clearly. Let me check if there's any missing info. The current weather has humidity mentioned, which is good. The forecast is listed by days, so I can structure the answer with the current conditions first, then the forecast.

Wait, the user might expect the exact times or more details, but the tool responses don't include that. The forecast just says Day 1, 2, 3. Maybe the user just wants a summary. I should format it neatly. Let me make sure to mention both the current weather and the next three days. Also, since the temperature wasn't given in the forecast, just the conditions. So the answer should state the current weather and list the forecast days with their conditions.
</think>

Here's the weather information for Miami, FL:

**Current Weather**:  
Humid, 85°F  

**3-Day Forecast**:  
- **Day 1**: Partly cloudy  
- **Day 2**: Sunny  
- **Day 3**: Rainy  

Let me know if you'd like further details! 🌦️<|im_end|>