Download parallel-calls.json from SturdyBench/agent-tool-call-tests-sample: direct link, hf CLI and curl.
- Browser
- Download file 2.16 kB
-
https://huggingface.co/datasets/SturdyBench/agent-tool-call-tests-sample/resolve/main/parallel-calls.json
- Command line
-
hf download hf://datasets/SturdyBench/agent-tool-call-tests-sample/parallel-calls.json
-
curl -L -o parallel-calls.json https://huggingface.co/datasets/SturdyBench/agent-tool-call-tests-sample/resolve/main/parallel-calls.json
2.16 kB
| { | |
| "theme": "parallel-calls", | |
| "cases": [ | |
| { | |
| "id": "parallel-001", | |
| "theme": "parallel-calls", | |
| "description": "Weather in two cities.", | |
| "tools": [ | |
| { | |
| "name": "get_weather", | |
| "description": "Get current weather for a city.", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "city": { | |
| "type": "string" | |
| }, | |
| "unit": { | |
| "type": "string", | |
| "enum": [ | |
| "celsius", | |
| "fahrenheit" | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "city", | |
| "unit" | |
| ], | |
| "additionalProperties": false | |
| } | |
| }, | |
| { | |
| "name": "convert_amount", | |
| "description": "Convert an amount between currencies using a fixed table (arithmetic only).", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "amount": { | |
| "type": "number" | |
| }, | |
| "from_currency": { | |
| "type": "string" | |
| }, | |
| "to_currency": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "amount", | |
| "from_currency", | |
| "to_currency" | |
| ], | |
| "additionalProperties": false | |
| } | |
| } | |
| ], | |
| "messages": [ | |
| { | |
| "role": "user", | |
| "content": "What's the weather in Oslo and in Lima? Celsius for both." | |
| } | |
| ], | |
| "expected": { | |
| "type": "tool_calls", | |
| "calls": [ | |
| { | |
| "name": "get_weather", | |
| "arguments": { | |
| "city": "Oslo", | |
| "unit": "celsius" | |
| } | |
| }, | |
| { | |
| "name": "get_weather", | |
| "arguments": { | |
| "city": "Lima", | |
| "unit": "celsius" | |
| } | |
| } | |
| ], | |
| "ordered": false | |
| }, | |
| "scoring_note": "Pass if exactly two weather calls cover both cities in any order." | |
| } | |
| ] | |
| } | |