[
{ "role": "system", "content": "You are a helpful weather assistant." },
{ "role": "user", "content": "What's the weather in Paris right now?" },
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_a1b2c3d4",
"type": "function",
"function": {
"name": "get_weather",
"arguments": "{\"city\": \"Paris\", \"units\": \"celsius\"}"
}
}
]
},
{ "role": "tool", "tool_call_id": "call_a1b2c3d4", "content": "18C, partly cloudy" },
{ "role": "assistant", "content": "It's currently 18°C and partly cloudy in Paris." }
]