SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.03807 · ICLR · 2025

Tool-Planner: Task Planning with Clusters across Multiple Tools

Xun Wang, Tianyu Du, Yanming Liu, Xinyue Peng, Jiannan Cao, Yuwei Zhang, Xuhong Zhang, Sheng Cheng, Jianwei Yin

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 6 failures of our instrument; 2 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2406.03807.json · badge: /api/ran/2406.03807.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
OceannTwT/Tool-Planner canonical (classifier label)
classifier basis: classifier_2025
7 ran · 2 no recorded run
FunctionStatusWhere it lives
GPTFactory Ran
ran on a synthesized input · constructed an object; no result was computed
OceannTwT/Tool-Planner/src/planner/plan.py
pointer only (licence: NONE) · get_code("bc6b848d2561696b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OceannTwT/Tool-Planner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

api_json_to_openai_json Ran
ran; our contract draft was wrong, not the code
OceannTwT/Tool-Planner/src/planner/plan.py
pointer only (licence: NONE) · get_code("8f703b078a43ac66")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OceannTwT/Tool-Planner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

call_toolbench Ran
ran; our contract draft was wrong, not the code
OceannTwT/Tool-Planner/src/planner/plan.py
pointer only (licence: NONE) · get_code("54a81f9e2f2a53e7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OceannTwT/Tool-Planner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

change_name Ran
ran; our contract draft was wrong, not the code
OceannTwT/Tool-Planner/src/planner/plan.py
pointer only (licence: NONE) · get_code("7b6b723a33f5ea2a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OceannTwT/Tool-Planner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

chat_completion_request Ran
ran; our contract draft was wrong, not the code
OceannTwT/Tool-Planner/src/planner/plan.py
pointer only (licence: NONE) · get_code("d736a3eedbd124d9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OceannTwT/Tool-Planner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

fetch_api_json Ran
ran; our contract draft was wrong, not the code
OceannTwT/Tool-Planner/src/planner/plan.py
pointer only (licence: NONE) · get_code("1fef96553cdda752")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OceannTwT/Tool-Planner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

standardize Ran
ran; our contract draft was wrong, not the code
OceannTwT/Tool-Planner/src/planner/plan.py
pointer only (licence: NONE) · get_code("e6d1b09cb3624d3f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OceannTwT/Tool-Planner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

PlannerProcessor Not yet run
unverified (harvested, no recorded run)
OceannTwT/Tool-Planner/src/planner/plan.py
pointer only (licence: NONE) · get_code("cd04f70a6a050a52")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OceannTwT/Tool-Planner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

parse_arguments Not yet run
unverified (harvested, no recorded run)
OceannTwT/Tool-Planner/src/planner/plan.py
pointer only (licence: NONE) · get_code("5d7af7ec7a3dc062")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OceannTwT/Tool-Planner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
standardize
brick of this paper's assembly: helper
4 other papers
1 dated earlier, 3 later
2403.07714 (2024-03)
StableToolBench: Towards Stable Large-Scale Benchmarking on Tool Learning of Large Language Models
2410.08197 (2024-10)
From Exploration to Mastery: Enabling LLMs to Master Tools via Self-Driven Interactions
2412.10198 (2024-12)
From Allies to Adversaries: Manipulating LLM Tool-Calling through Adversarial Injection
and 1 more not named here
change_name
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later
2403.07714 (2024-03)
StableToolBench: Towards Stable Large-Scale Benchmarking on Tool Learning of Large Language Models
2605.29676 (2026-05)
Notation Matters: A Benchmark Study of Token-Optimized Formats in Agentic AI Systems

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large language models (LLMs) have demonstrated exceptional reasoning capabilities, enabling them to solve various complex problems. Recently, this ability has been applied to the paradigm of tool learning. Tool learning involves providing examples of tool usage and their corresponding functions, allowing LLMs to formulate plans and demonstrate the process of invoking and executing each tool. LLMs can address tasks that they cannot complete independently, thereby enhancing their potential across different tasks. However, this approach faces two key challenges. First, redundant error correction leads to unstable planning and long execution time. Additionally, designing a correct plan among multiple tools is also a challenge in tool learning. To address these issues, we propose Tool-Planner, a task-processing framework based on toolkits. Tool-Planner groups tools based on the API functions with the same function into a toolkit and allows LLMs to implement planning across the various toolkits. When a tool error occurs, the language model can reselect and adjust tools based on the toolkit. Experiments show that our approach demonstrates a high pass and win rate across different datasets and optimizes the planning scheme for tool learning in models such as GPT-4 and Claude 3, showcasing the potential of our method. Our code is public at https://github.com/OceannTwT/Tool-Planner.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.03807")
get_code_for_paper("2406.03807")
have("2406.03807")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2406.03807.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2406.03807.svg)](https://syntology.ai/paper/2406.03807)

Connect an agent — have() is free.