Download wrong-type.json from SturdyBench/agent-tool-call-tests-sample: direct link, hf CLI and curl.
- Browser
- Download file 1.72 kB
-
https://huggingface.co/datasets/SturdyBench/agent-tool-call-tests-sample/resolve/main/wrong-type.json
- Command line
-
hf download hf://datasets/SturdyBench/agent-tool-call-tests-sample/wrong-type.json
-
curl -L -o wrong-type.json https://huggingface.co/datasets/SturdyBench/agent-tool-call-tests-sample/resolve/main/wrong-type.json
1.72 kB
| { | |
| "theme": "wrong-type", | |
| "cases": [ | |
| { | |
| "id": "type-001", | |
| "theme": "wrong-type", | |
| "description": "Spoken count becomes an integer.", | |
| "tools": [ | |
| { | |
| "name": "print_labels", | |
| "description": "Print labels.", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "text": { | |
| "type": "string" | |
| }, | |
| "copies": { | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "text", | |
| "copies" | |
| ], | |
| "additionalProperties": false | |
| } | |
| }, | |
| { | |
| "name": "preview_label", | |
| "description": "Preview a label.", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "text": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "text" | |
| ], | |
| "additionalProperties": false | |
| } | |
| } | |
| ], | |
| "messages": [ | |
| { | |
| "role": "user", | |
| "content": "Print five copies of the label Fragile." | |
| } | |
| ], | |
| "expected": { | |
| "type": "tool_calls", | |
| "calls": [ | |
| { | |
| "name": "print_labels", | |
| "arguments": { | |
| "copies": 5 | |
| }, | |
| "arguments_match": { | |
| "text": { | |
| "contains": "Fragile" | |
| } | |
| } | |
| } | |
| ], | |
| "ordered": false, | |
| "forbidden_tools": [ | |
| "preview_label" | |
| ] | |
| }, | |
| "scoring_note": "Pass means copies is integer 5, not the string five." | |
| } | |
| ] | |
| } | |