Papers › ToolSandbox: A Stateful, Conversational, Interactive Evaluation Benchmark for LLM Tool...

ToolSandbox: A Stateful, Conversational, Interactive Evaluation Benchmark for LLM Tool Use Capabilities

8 Aug 2024arXiv:2408.04682archive 2025-07-28

Jiarui Lu, Thomas Holleis, Yizhe Zhang, Bernhard Aumayer, Feng Nan, Felix Bai, Shuang Ma, Shen Ma, Mengyu Li, Guoli Yin, ZiRui Wang, Ruoming Pang

Recent large language models (LLMs) advancements sparked a growing research interest in tool assisted LLMs solving real-world challenges, which calls for comprehensive evaluation of tool-use capabilities. While previous works focused on either evaluating over stateless web services (RESTful API), based on a single turn user prompt, or an off-policy dialog trajectory, ToolSandbox includes stateful tool execution, implicit state dependencies between tools, a built-in user simulator supporting on-policy conversational evaluation and a dynamic evaluation strategy for intermediate and final milestones over an arbitrary trajectory. We show that open source and proprietary models have a significant performance gap, and complex tasks like State Dependency, Canonicalization and Insufficient Information defined in ToolSandbox are challenging even the most capable SOTA LLMs, providing brand-new insights into tool-use LLM capabilities. ToolSandbox evaluation framework is released at https://github.com/apple/ToolSandbox

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2408.04682")

Code

Syntology Ran 17 of 17 code samples harvested from 1 repository linked to this paper; 0 have no recorded run. Of those that ran: 17 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 17 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

apple/toolsandbox officialmentioned in papermentioned on GitHubNOASSERTION report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 17 ran; 0 honoured the contract we drafted; 0 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

17ran

Licence: 17 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from apple/toolsandbox. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

column_exact_match_similarity apple/toolsandbox/tool_sandbox/common/evaluation.py official repository ran licence not identified · pointer only · e5749d5e4cb835b4 · report
column_one_similarity apple/toolsandbox/tool_sandbox/common/evaluation.py official repository ran licence not identified · pointer only · 9c0df2044124dda9 · report
default_value_normalization apple/toolsandbox/tool_sandbox/common/tool_trace_extractors.py official repository ran licence not identified · pointer only · f70d75ab431ddedb · report
exact_match_filter_dataframe apple/toolsandbox/tool_sandbox/common/utils.py official repository ran licence not identified · pointer only · ad55567b6b0b9a09 · report
extract_aggregated_stats apple/toolsandbox/tool_sandbox/analysis/analysis.py official repository ran licence not identified · pointer only · 2b077b8d2ea00b28 · report
extract_meta_stats apple/toolsandbox/tool_sandbox/analysis/analysis.py official repository ran licence not identified · pointer only · 019d435db27eed33 · report
extract_scenario_results apple/toolsandbox/tool_sandbox/analysis/data_loading.py official repository ran licence not identified · pointer only · 547c8e5a97a0b10d · report
get_scenario_artifacts_path apple/toolsandbox/tool_sandbox/analysis/data_loading.py official repository ran licence not identified · pointer only · 25e1f8ca5fb3de8e · report
get_scrambled_tool_names apple/toolsandbox/tool_sandbox/common/tool_discovery.py official repository ran licence not identified · pointer only · 098e95f00f0b3e5a · report
load_result_summary apple/toolsandbox/tool_sandbox/analysis/data_loading.py official repository ran licence not identified · pointer only · 1ba53634bb0b8cce · report
openai_tool_call_to_python_code apple/toolsandbox/tool_sandbox/common/message_conversion.py official repository ran licence not identified · pointer only · f4aa2b10325a6e7f · report
python_code_to_openai_tool_call apple/toolsandbox/tool_sandbox/common/message_conversion.py official repository ran licence not identified · pointer only · 247415c1aa2c5c82 · report
range_filter_dataframe apple/toolsandbox/tool_sandbox/common/utils.py official repository ran licence not identified · pointer only · 55891a36035c3083 · report
result_to_timestamp0_extractor apple/toolsandbox/tool_sandbox/common/tool_trace_extractors.py official repository ran licence not identified · pointer only · 32b937d34301c112 · report
search_weather_around_lat_lon_temperature_extractor apple/toolsandbox/tool_sandbox/common/tool_trace_extractors.py official repository ran licence not identified · pointer only · f27d06f591963291 · report
subsequence_filter_dataframe apple/toolsandbox/tool_sandbox/common/utils.py official repository ran licence not identified · pointer only · 8853c809e4877946 · report
typechecked apple/toolsandbox/tool_sandbox/common/validators.py official repository ran licence not identified · pointer only · a0ef4c511908e14d · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections