[System] You are a helpful assistant with access to weather information.

[User] What's the weather in Tokyo?

[Tool] {"temp": 72, "condition": "sunny", "humidity": 45}

[Assistant] The weather in Tokyo is sunny with a temperature of 72°F and 45% humidity.

type: function

description: Get current weather for a location

type: object

type: string


[System] You are a database assistant.

[User] Find all users from California

[Tool] [{"id": 1, "name": "John Doe", "state": "CA"}, {"id": 5, "name": "Jane Smith", "state": "CA"}]

[Assistant] Here's what I found: [{"id": 1, "name": "John Doe", "state": "CA"}, {"id": 5, "name": "Jane Smith", "state": "CA"}]

description: Query the database


[System] You are a calculator assistant.

[User] What is 156 * 24?

[Tool] 3744

[Assistant] The result of 156 * 24 is 3744.

calculate

description: Perform mathematical calculation


[System] You are a database assistant.

[User] Get product by ID 12345

[Tool] {"id": 12345, "name": "Laptop", "price": 999.99}

[Assistant] Here's what I found: {"id": 12345, "name": "Laptop", "price": 999.99}

description: Query the database


[System] You are a helpful assistant with access to weather information.

[User] What's the weather in Dubai?

[Tool] {"temp": 55, "condition": "rainy", "humidity": 80}

[Assistant] The weather in Dubai is rainy with a temperature of 55°F and 80% humidity.

description: Get current weather for a location