Created
April 5, 2026 17:13
-
-
Save mtasic85/39fe80f29ef838eb9e909d8c11630675 to your computer and use it in GitHub Desktop.
partial rwkv tool calling template from ToolCall-15 benchmark
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Assistant | |
| <think> | |
| The tool returned weather data: temperature 18°C, partly cloudy, humidity 65%, wind speed 12 km/h. The user asked "What's the weather like in Berlin right now?" So we should respond with a concise answer summarizing the weather. Possibly include temperature, condition, humidity, wind speed. Also note that it's in Celsius. | |
| We should respond in a friendly manner. | |
| Thus answer: "Right now in Berlin it's partly cloudy with a temperature of 18°C, humidity 65%, and a gentle wind of about 12 km/h." | |
| We can also mention that it's a nice day. | |
| Thus final answer. | |
| </think> | |
| Right now in Berlin it’s **partly cloudy** with a temperature of **18 °C**, humidity around **65 %**, and a gentle wind of about **12 km/h**. It’s a pleasant day! | |
| final_answer=The user asks: "What's the weather like in Berlin right now?" We need to use the get_weather tool. The tool expects location and optionally units. The default units are celsius. So we can call get_weather with location "Berlin". The tool will return current weather. | |
| We need to produce a response with the weather info. The tool call will be: | |
| { | |
| "location": "Berlin", | |
| "units": "celsius" | |
| } | |
| We need to call the tool. | |
| </think> | |
| **Tool Call:** | |
| ```json | |
| { | |
| "name": "get_weather", | |
| "arguments": { | |
| "location": "Berlin", | |
| "units": "celsius" | |
| } | |
| } | |
| ``` | |
| ### Tool Output | |
| ```json | |
| { | |
| "temperature": 18, | |
| "condition": "Partly Cloudy", | |
| "humidity": 65, | |
| "wind_speed": 12, | |
| "unit": "celsius" | |
| } | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment