ToolSearcher: Optimizing Tool Selection at Scale via Reinforcement Learning
Zhenlong Dai, Xujie Song, Zitongw, Tong Niu, Jian liu, Weiqiang Wang, Xiu Tang, Sai Wu, Chang Yao, Jingyuan Chen
NeurIPS 2026
TL;DR. Optimizing Tool Selection at Scale via Reinforcement Learning
Abstract. Large language models (LLMs) excel at natural language processing but struggle to interact with external environments. Tool learning provides a promising way to extend LLMs into actionable agents, where tool selection is a critical prerequisite for successful tool use. Existing work often assumes a small or predefined set of tools, leaving large-scale tool selection underexplored. Real-world repositories contain a vast and diverse array of tools, making it difficult for LLMs to effectively search, distinguish, and compose tools under context-length constraints. We identify large-scale tool selection as a new challenge for agentic reinforcement learning, highlighting that existing RL methods for knowledge-based question answering are inadequate for selecting tools while considering compatibility. To address this challenge, we propose ToolSearcher, a novel RL framework for effective multi-turn search and fine-grained optimization in large-scale tool selection. Specifically, we introduce category-constrained tool discrimination to improve the model's ability to distinguish functionally similar tools, event-level search modeling to explicitly optimize the discovery of target tools during multi-turn search, and trajectory-aligned credit allocation to provide fine-grained reward signals for different stages of the search-selection process. Extensive experiments on large-scale tool selection benchmarks demonstrate that ToolSearcher consistently outperforms a set of strong baselines in challenging settings involving iterative search and complex tool composition.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
In this paper, the authors propose ToolSearcher, an RL framework with category-constrained discrimination, event-level search modeling, and trajectory-aligned credit allocation for large-scale tool selection. They show ToolSearcher outperforms strong baselines in iterative search and complex composition tasks, and argue that large-scale tool selection requires explicit search and compatibility modeling, beyond predefined tool sets.
Strengths
- The problem discussed in this paper, dealing with a large tool set, is practical, and the proposed method is useful to the community.
- The paper is relatively easy to follow.
Main weaknesses
- More existing works should be discussed and compared, especially DeepAgent and ToolQP, which also address a similar problem (Reviewer ei6z, JiR5). Without a fair comparison, it is hard to judge the real contribution of the paper.
- Case studies are expected to help understand the task (Reviewer JiR5).
- More experimental analysis is required for justification of the design choice of the retrieval-then-selection model.
The authors have addressed the aforementioned issues and other reviewer comments in their responses, with special emphasis on the addition of more experimental comparisons. These efforts have been acknowledged by the reviewers, and some reviewers have upgraded their evaluations. On the basis of these considerations, I recommend that this manuscript be accepted for publication.
Final justification
Pls check the Metareview part.
- Final justification
- Pls check the Metareview part.
Read meta-review
Meta-review
In this paper, the authors propose ToolSearcher, an RL framework with category-constrained discrimination, event-level search modeling, and trajectory-aligned credit allocation for large-scale tool selection. They show ToolSearcher outperforms strong baselines in iterative search and complex composition tasks, and argue that large-scale tool selection requires explicit search and compatibility modeling, beyond predefined tool sets.
Strengths
- The problem discussed in this paper, dealing with a large tool set, is practical, and the proposed method is useful to the community.
- The paper is relatively easy to follow.
Main weaknesses
- More existing works should be discussed and compared, especially DeepAgent and ToolQP, which also address a similar problem (Reviewer ei6z, JiR5). Without a fair comparison, it is hard to judge the real contribution of the paper.
- Case studies are expected to help understand the task (Reviewer JiR5).
- More experimental analysis is required for justification of the design choice of the retrieval-then-selection model.
The authors have addressed the aforementioned issues and other reviewer comments in their responses, with special emphasis on the addition of more experimental comparisons. These efforts have been acknowledged by the reviewers, and some reviewers have upgraded their evaluations. On the basis of these considerations, I recommend that this manuscript be accepted for publication.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies tool retrieval: when the toolset is massive, a tool retriever selects a set of tools for downstream agent tool use and task solving. The authors propose ToolSearcher, which trains an LLM with RL to conduct more effective multi-turn tool search and final tool selection through category-constrained tool discrimination, event-level search modeling, and trajectory-aligned credit assignment. Experiments show that it outperforms RAG and existing RL baselines on both in-domain and out-of-domain tool retrieval.
Strengths and weaknesses
Strengths
-
ToolSearcher first searches for and returns a candidate tool set based on the user task, then passes it to a downstream agent for tool invocation and task execution. This design does not require restructuring existing agent tool-use paradigms.
-
The paper provides a relatively clear reward shaping and credit assignment design for RL training in tool selection. Instead of relying only on final tool selection outcomes, it distinguishes between the search and selection stages and assigns fine-grained rewards to intermediate search events.
Weaknesses
-
CCTD relies on the training tool library having well-structured category labels.
-
The paper lacks quantitative analysis from a traditional retrieval perspective. For example, it does not examine how Recall, F1, and SRecall change under different tool library sizes (1k/4k/8k/16k), per-round top-k values, total retrieval budgets, or maximum search rounds. The current results mainly show effectiveness under fixed retrieval settings, but are insufficient to demonstrate generality across different retrieval scales and budgets.
-
In some complex tasks, tool selection may require the searcher itself to reason about implicit steps and then determine which tools are needed for each step. This highlights a limitation of decoupling tool retrieval from downstream task execution. However, the paper lacks investigation under reasoning models or reasoning modes.
Questions
The trained ToolSearcher outperforms the untrained multi-turn baseline. I would like to know: roughly what scale of untrained model is the trained Qwen3-4B ToolSearcher comparable to? Also, what level of performance can be achieved by directly using advanced models for agentic tool search?
Limitations
yes
Final justification
- This paper studies tool retrieval: when the toolset is massive, a tool retriever selects a set of tools for downstream agent tool use and task solving. The authors propose ToolSearcher, which trains an LLM with RL to conduct more effective multi-turn tool search and final tool selection through category-constrained tool discrimination, event-level search modeling, and trajectory-aligned credit assignment. Experiments show that it outperforms RAG and existing RL baselines on both in-domain and out-of-domain tool retrieval.
- My main concerns are the comprehensiveness of the experiments and the performance of the Thinking models.
- During the rebuttal period, the authors have added substantial experiments that effectively address my concerns. I am somewhat surprised that the Thinking models perform worse on these tasks.
Formatting concerns
No
8 comments
Rebuttal by Authors (Part B)
W2-Change under different per-round top-k values
Thank you for your suggestion. To further evaluate the effect of different per-round retrieval sizes, we conduct additional experiments by varying the top-k value at each retrieval round, including top5/10/20/40. We use Qwen3-4B-Instruct as the base model and report tool selection performance in terms of F1 and Match. We will include these additional results and discussions in the revised manuscript.
| Model | top5-F1 | top5-Match | top10-F1 | top10-Match | top20-F1 | top20-Match | top40-F1 | top40-Match |
|---|---|---|---|---|---|---|---|---|
| Qwen3-4B-Instruct | 0.387 | 0.220 | 0.393 | 0.167 | 0.382 | 0.171 | 0.189 | 0.065 |
| search-R1 | 0.505 | 0.307 | 0.519 | 0.327 | 0.526 | 0.348 | 0.391 | 0.187 |
| GSPO | 0.473 | 0.258 | 0.493 | 0.325 | 0.524 | 0.328 | 0.393 | 0.208 |
| GDPO | 0.518 | 0.305 | 0.525 | 0.323 | 0.529 | 0.331 | 0.382 | 0.199 |
| MARAG_R1 | 0.465 | 0.225 | 0.475 | 0.244 | 0.482 | 0.242 | 0.352 | 0.195 |
| toolsearcher | 0.531 | 0.316 | 0.535 | 0.336 | 0.540 | 0.353 | 0.412 | 0.231 |
The experimental results show that:
(1) ToolSearcher achieves consistently strong performance under different top-k settings compared with other methods. The results show that our method consistently achieves strong performance across different top-k settings. Specifically, compared with the strongest baselines, our method obtains the highest F1 scores under top-5/10/20/40, reaching 0.531, 0.535, 0.540, and 0.412, respectively. It also achieves the best Match scores among the trained methods across all top-k settings, with scores of 0.316, 0.336, 0.353, and 0.231, respectively. These results demonstrate that our method is robust to the choice of per-round retrieval size.
(2) Increasing the per-round top-k value improves performance within a appropriate range but hurt performance when it becomes large. It is worth noting that our model is trained with a per-round top-k value of 5. When increasing top-k from 5 to 20 during evaluation, performance generally improves slightly. This is because a larger retrieved candidate set expands the search space and reduces the reliance on highly precise search queries, thereby increasing the likelihood that the correct tools are included in the candidates. However, this also introduces a trade-off. When top-k is further increased to 40, too many additional tools are retrieved, many of which are irrelevant or distracting. This places higher demands on the model’s ability to distinguish, understand, and remember the relevant tools for final selection, which can lead to a performance drop. Nevertheless, our method remains robust and consistently outperforms the baselines under all tested top-k values.
Rebuttal by Authors (Part A)
W1
Thank you for the comment. We would like to clarify that CCTD does not require a complex or carefully curated tool taxonomy. Our method only needs that each tool has a basic category/domain label. This is a mild and practical assumption in real-world tool libraries. For example, large-scale API platforms such as RapidAPI usually assign each API/tool a domain or topic category. Similarly, emerging MCP tool marketplaces designed for LLM agents, such as Smithery and Glama, also provide category labels for their tools. These labels are typically simple single-level categories, rather than hierarchical or fine-grained taxonomies. Therefore, CCTD relies only on a commonly available and lightweight form of metadata. It does not depend on highly structured, multi-level category annotations. We will revise the paper to clarify this assumption and discuss that the required category labels are generally available in existing API/tool sources.
W2
Thank you for your valuable suggestion. Regarding the maximum search rounds, in our experimental setting we set the allowed number of retrieval/search rounds to be sufficient for model. In practice, all models terminated their search trajectories naturally before reaching this upper bound. That is, no trajectory was truncated because of the maximum-round constraint. Therefore, the reported results are not limited by an insufficient number of retrieval rounds in our experiments. In the revised manuscript, we will clarify this setting.
W2-Performance under Different Tool Library Sizes
Thank you for your suggestion. We add additional experiments under different tool library sizes and report tool selection metrics including F1, Recall, Precision, and Match. Regarding the 1k setting, the benchmark contains 1,125 unique ground-truth tools. Therefore, constructing a 1k tool library would necessarily exclude some ground-truth tools, making the evaluation unfair or inconsistent with the original task setting. For this reason, we do not include the 1k setting. We supplement our experiments with 4k and 8k tool library sizes using Qwen3-4B-Instruct as the base model. The 16k setting corresponds to the full tool-library scale used in our main experiments, and its results have already been reported in the paper; therefore, we do not repeat them here.
| Model | 4k-F1 | 4k-Recall | 4k-Precision | 4k-Match | 8k-F1 | 8k-Recall | 8k-Precision | 8k-Match |
|---|---|---|---|---|---|---|---|---|
| RAG | 0.496 | 0.491 | 0.517 | 0.331 | 0.415 | 0.454 | 0.413 | 0.248 |
| RAG_SFT | 0.553 | 0.565 | 0.561 | 0.340 | 0.440 | 0.493 | 0.432 | 0.275 |
| Multi-turns | 0.573 | 0.601 | 0.579 | 0.299 | 0.520 | 0.542 | 0.528 | 0.256 |
| search-R1 | 0.696 | 0.695 | 0.711 | 0.472 | 0.639 | 0.638 | 0.653 | 0.420 |
| GSPO | 0.690 | 0.692 | 0.703 | 0.462 | 0.643 | 0.644 | 0.655 | 0.417 |
| GDPO | 0.692 | 0.683 | 0.717 | 0.458 | 0.644 | 0.637 | 0.664 | 0.412 |
| MARAG_R1 | 0.632 | 0.599 | 0.705 | 0.349 | 0.577 | 0.543 | 0.649 | 0.301 |
| toolsearcher | 0.700 | 0.693 | 0.721 | 0.478 | 0.651 | 0.646 | 0.672 | 0.429 |
These results show that as the tool library size increases from 4k to 8k and further to 16k, the task becomes more challenging, and the performance of all methods decreases accordingly. This trend indicates that larger tool libraries impose greater difficulty on tool selection and retrieval. Nevertheless, our method maintains stable relative performance compared with other methods and consistently improves over the base Multi-turns model across different retrieval scales. This supports the generality and robustness of our approach under larger tool library settings. We will include these additional results and discussions in the revised manuscript.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper presents ToolSearcher, an RL framework aimed at improving an LLM agent’s ability to search and select correct tools from a massive repository. To overcome context-length constraints and functional similarities among thousands of APIs, the authors introduce three primary components: Category-Constrained Tool Discrimination to train the model on highly similar sub-categories, Event-level Search Modeling to reward the model for uncovering new target tools, and Trajectory-Aligned Credit Allocation to provide step-by-step, progression-matched rewards. The framework is evaluated on StableToolBench and an out-of-distribution application benchmark, AppWorld, using Qwen model backbones.
Strengths and weaknesses
Strengths
- Shifting the focus of LLM tool learning from a small, predefined toy set of tools to a massive, realistic scale is a highly practical and necessary direction for the field.
- Moving away from coarse, outcome-only trajectory rewards toward fine-grained, intermediate rewards is a logically sound approach for research.
- The idea of using a constrained subcategory space to force the model to master fine-grained tool discrimination before exposing it to global search is a clever and effective training strategy.
Weaknesses
- The evaluation compares against text-retrieval RL frameworks (like Search-R1 and MARAG-R1). However, it ignores highly relevant, tool-native RL baselines published months prior, such as DeepAgent (Oct 2025) and ToolQP (Jan 2026), which already addressed token-level tool advantage attribution and multi-turn query planning on this exact API scale.
- The paper is doesn't have any concrete examples. There is not a single real user prompt or sample search trajectory provided anywhere in the text or appendix. This makes it impossible to truly understand what is the task we are talking about -- i.e. what style of prompts are we trying to address, and why do they require such a large breadth of a tool repository.
Questions
- Why didn't you take into account any baseline that directly explores your research question?
Limitations
yes
Formatting concerns
- An example (prompt and example trajectory) should be added to the paper.
2 comments
Rebuttal
W1&Q1
We thank the reviewer for pointing out DeepAgent and ToolQP. DeepAgent is designed for an end-to-end interactive tool-use setting, whereas our work focuses specifically on tool selection. Therefore, we did not initially notice that it includes ToolPO, an RL-based training method relevant to our task. In addition, the ToolQP method relies on plan labels annotated by a teacher model (gpt-4.1-mini); in essence, it depends on a strong model to decompose tasks and synthesize plan labels.
Following their experimental setting, we conduct experiments on Qwen2.5-7B-Instruct and Qwen3-4B, comparing their method with our RL method.
| Base Model | Method | F1 | Recall | Precision | Match | G1 Inst. | G1 Tool | G1 Cate. | G2 Inst. | G2 Cate. | G3 Inst. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Qwen2.5-7B-Instruct | ToolPO (DeepAgent) | 0.391 | 0.420 | 0.388 | 0.191 | 0.461 | 0.405 | 0.3817 | 0.452 | 0.346 | 0.177 |
| Qwen2.5-7B-Instruct | ToolQP | 0.440 | 0.493 | 0.432 | 0.222 | 0.503 | 0.450 | 0.504 | 0.433 | 0.362 | 0.260 |
| Qwen2.5-7B-Instruct | ToolSearcher | 0.513 | 0.511 | 0.534 | 0.278 | 0.595 | 0.561 | 0.577 | 0.485 | 0.405 | 0.294 |
| Qwen3-4B-Instruct | ToolPO (DeepAgent) | 0.457 | 0.461 | 0.468 | 0.302 | 0.524 | 0.381 | 0.528 | 0.465 | 0.459 | 0.281 |
| Qwen3-4B-Instruct | ToolQP | 0.474 | 0.487 | 0.498 | 0.216 | 0.599 | 0.538 | 0.580 | 0.344 | 0.287 | 0.314 |
| Qwen3-4B-Instruct | ToolSearcher | 0.531 | 0.527 | 0.546 | 0.316 | 0.599 | 0.617 | 0.586 | 0.422 | 0.491 | 0.284 |
As shown in the table, ToolSearcher achieves the best overall performance. The main reason is that although ToolPO and ToolQP use token-level RL with multiple tool-related reward signals, tokens in the same response still receive nearly the same reward. Thus, in multi-turn tool-use scenarios, they cannot accurately assign credit to the corresponding tool-selection decisions. In contrast, our method provides event-level feedback, enabling more precise reward assignment to each tool-selection step.
In addition, ToolQP relies on pre-defined or teacher-generated plans. If the decomposition granularity of sub-plans is not well controlled, some necessary tools may be missed during retrieval. Moreover, ToolQP mainly adjusts the retrieval direction based on the given plan, rather than revising the plan itself. Therefore, its performance is constrained by the quality and completeness of the initial plan. By contrast, ToolSearcher directly optimizes tool-selection behavior through event-level feedback, making it less dependent on predefined plans and leading to better overall performance.
W2-What the prompts look like and why they require a large tool repository
Our task addresses open-ended tool-selection requests: a user describes a goal in natural language, and the agent must search a large-scale tools repository and return the subset of APIs needed to accomplish it. Two structural properties of these prompts make a large, general-purpose tool repository essential.
(1) Property 1 — Requests span many, unrelated domains.
A general-purpose tool agent cannot be pre-scoped to one or two domains; it must serve users across arbitrary industries. The four real prompts below (taken verbatim from StableToolBench test set) sit in completely different domains:
| Domain | Real user prompt (verbatim, abbreviated) | Tools required within the single request | Distinct aspects served |
|---|---|---|---|
| Travel | "Planning a Thailand vacation with family, interested in scuba diving. Recommend dive sites in Thailand, and find top-tier stays in that area for accommodation." | world_scuba_diving_sites (dive sites) + airbnb_v2 (stays) |
activity venue + lodging |
| Weather | "Planning a hiking trip to the Swiss Alps. Fetch the climate data for the location by lat/lon, and the moonrise/moonset times during our trip." | climate_data (2 APIs) + stormglass_complete (astronomy) |
climate + astronomy |
| Food | "Planning a surprise dinner. Recommend low-carb chicken recipes, and give the nutritional info of milk — calories, protein, fat per 100g." | recipe_search_and_diet (recipes) + food_nutrional_data (nutrition) |
recipe + nutrition |
| Movies / Entertainment | "Find a new TV show to watch with family. Suggest a high-IMDb family-friendly series, check its streaming availability on Netflix/Disney+/Apple TV, and provide cast & crew info." | ott_details (show details) + streaming_availability (streaming) + watchmode (cast & crew) |
details + streaming + cast |
(2) Property 2 — Even a single request embeds multiple tools serving different aspects.
Within each prompt, the requested actions are semantically independent (such as locating dive sites and locating lodging). Multiple distinct tools serve each task, and these tools differ enough in name and semantics that no single search query can retrieve them all at once. They therefore reside in different parts of the repository and must be identified separately.
Together, these two properties define the scale that a general-purpose tool repository must reach, and motivate retrieval that proceeds over multiple turns, adjusting its search direction to each aspect in turn.
W2-Case Study: Multi-turn Search with Direction Adjustment
We present a case study to illustrate the end-to-end search trajectory of our method on a multi-aspect tool retrieval request. The task is "Planning a Thailand vacation with family, interested in scuba diving. Recommend dive sites in Thailand, and find top-tier stays in that area for accommodation."
The target request requires two tools, corresponding to two distinct aspects:
-
Aspect A: activity venue
Tool:world_scuba_diving_sites_api.query_divesites_by_a_country_or_a_region
Function: find scuba-diving sites by country or region. -
Aspect B: lodging
Tool:airbnb_v2.get_top_tier_stays_filter
Function: filter top-tier accommodation options.
They serve different user intents. A query about scuba-diving sites is likely to retrieve dive-site APIs but may miss lodging APIs, while a query about accommodation may fail to retrieve dive-site tools. Therefore, the agent needs to adjust its search direction across turns.
The trajectory below is produced by our method. The search is completed in three turns.
| Turn | Search direction | Agent search query | Top retrieved tools/Tool selection | Effect |
|---|---|---|---|---|
| 1 | Aspect A: dive sites | API to find scuba diving sites in Thailand | 1. world_scuba_diving_sites_api.query_divesites_by_a_country_or_a_region 2. world_scuba_diving_sites_api.query_divesites_by_gps_boundaries_for_use_with_maps 3. provinces_of_thailand.subdistrict 4. oil_thai_price.get_image_result_today_price 5. oil_thai_price.get_latest_price |
The agent first focuses on the dive-site aspect and successfully retrieves the tool for finding scuba-diving sites. However, no lodging-related tool is retrieved in this turn. |
| 2 | Switch to Aspect B: lodging | API to find top-tier accommodation options in Thailand for scuba diving sites | 1. world_scuba_diving_sites_api.query_divesites_by_gps_boundaries_for_use_with_maps 2. airbnb_v2.get_top_tier_stays_filter 3. airbnb_search.properties_search 4. airbnb_search.get_top_tier_stays_filter 5. airbnb_v2.get_accessibility_filters |
The agent explicitly shifts the search query toward accommodation. This brings Airbnb-related tools into the candidate pool and surfaces the tool for filtering top-tier stays. At this point, both required aspects have been covered. |
| 3 | Confirm lodging-side API family | how to combine scuba diving site search with accommodation API for Thailand | 1. world_scuba_diving_sites_api.query_divesites_by_a_country_or_a_region 2. world_scuba_diving_sites_api.query_divesites_by_gps_boundaries_for_use_with_maps 3. airbnb_v2.get_accessibility_filters 4. airbnb_v2.test_api 5. airbnb_v2.get_amenities_filters |
The agent further optimized the query and considered integrating the search for diving spots with the accommodation API. Although there is no such API in this repository, it can effectively prevent any omissions. |
| 4 | Tool Selection | - | world_scuba_diving_sites_api.query_divesites_by_a_country_or_a_region airbnb_v2.get_top_tier_stays_filter |
The agent selects relevant tools from the retrieved tools |
This example shows that the agent does not rely on a single broad query. Instead, it decomposes the request into different semantic aspects and adjusts its search direction across turns. The case highlights a common challenge in large-scale tool retrieval: multi-aspect requests often require tools that are related at the task level but different at the lexical and functional levels. A one-shot query dominated by terms such as “scuba diving sites” may retrieve the dive-site API while missing the lodging API. In contrast, the multi-turn search process allows the agent to shift direction, recover missing aspects, and accumulate the complete tool set.
Looking forward to your reply
Dear Reviewer JiR5,
Since the discussion period is ending in less than 48 hours, we would greatly appreciate it if you could take a look at our reply to your review and let us know if you have any remaining questions. We look forward to addressing any remaining concerns before the end of the discussion period.
Best regards!
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work tackles the problem of providing fine-grained reward signals for multi-turn tool search. The paper started with a Search-R1-style setting but with a tool-search engine instead. The authors designed two mechanisms that modifies standard GRPO: (a) event-level search modeling that promotes unique tools searched, and (b) a credit-allocation design that gives credit only for fully finished tool searchers. The authors also proposed to train RL in two curriculums: first with a more difficult within-category confounder tools stage followed by an all-tools stage. Experiments and analysis show improved performance over commonly used RL baselines.
Strengths and weaknesses
Strengths:
- Practical topic on agentic tool search with clear and reasonable solution.
- The proposed techniques, validated by experiments and analysis, could be useful for the community.
- Paper presentation is easy to follow.
Weaknesses:
- Missing references to previous tool retrieval literature. For example: [1] Wang et al, 2025, TOOLGEN: UNIFIED TOOL RETRIEVAL AND CALLING VIA GENERATION. [2] Shi et al, 2025, Retrieval Models Aren’t Tool-Savvy: Benchmarking Tool Retrieval for Large Language Models. [3] Qe et al, 2024, Towards Completeness-Oriented Tool Retrieval for Large Language Models. [4] Lu et al, 2026, Tools are under-documented: Simple Document Expansion Boosts Tool Retrieval.
- Missing comparison to fine tuning retriever for tools, which is inherently simpler and computationally less extensive, and have shown to directly improve tool retrieval and end-to-end performance. Comparison with those baselines could justify more.
Questions
- Do you observe a difference when directly performing RL on base model compared to first doing SFT then RL?
- For weakness 2, direct comparison with tool-tuned retrievers or other retrieval-based techniques used in tool retrieval literature would strengthen the contributions.
Limitations
Yes
Final justification
The authors provide additional experimental results during the rebuttal period that address my concerns:
- Justifying the proposed RL over simpler and standard retrieval techniques, and
- Direct comparison to recent related work. I've raised my score due to the inclusion of these results.
Formatting concerns
N/A
4 comments
Rebuttal
W1
Thank you for your valuable suggestion. We will include the suggested references on prior tool retrieval literature, in the Related Work section of the revised manuscript.
W2&Q2
Thank you for your valuable suggestion. Following the setting of work [1], we fine-tune the tool retriever Qwen3-Embedding-0.6B and combine it with our supervised fine-tuned LLM, denoted as ToolEmbed + RAG_SFT, to compare with other methods. In addition, we include retrieval-based techniques used in the tool retrieval literature, including DeepAgent [2] and ToolQP [3]. The results are shown below.
| Base Model | Method | F1 | Recall | Precision | Match | G1 Inst. | G1 Tool | G1 Cate. | G2 Inst. | G2 Cate. | G3 Inst. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Qwen2.5-7B-Instruct | ToolPO (DeepAgent) | 0.391 | 0.420 | 0.388 | 0.191 | 0.461 | 0.405 | 0.3817 | 0.452 | 0.346 | 0.177 |
| Qwen2.5-7B-Instruct | ToolQP | 0.440 | 0.493 | 0.432 | 0.222 | 0.503 | 0.450 | 0.504 | 0.433 | 0.362 | 0.260 |
| Qwen2.5-7B-Instruct | ToolEmbed+RAG_SFT | 0.337 | 0.348 | 0.347 | 0.177 | 0.376 | 0.295 | 0.408 | 0.340 | 0.338 | 0.152 |
| Qwen2.5-7B-Instruct | ToolSearcher | 0.513 | 0.511 | 0.534 | 0.278 | 0.595 | 0.561 | 0.577 | 0.485 | 0.405 | 0.294 |
| Qwen3-4B-Instruct | ToolPO (DeepAgent) | 0.457 | 0.461 | 0.468 | 0.302 | 0.524 | 0.381 | 0.528 | 0.465 | 0.459 | 0.281 |
| Qwen3-4B-Instruct | ToolQP | 0.474 | 0.487 | 0.498 | 0.216 | 0.599 | 0.538 | 0.580 | 0.344 | 0.287 | 0.314 |
| Qwen3-4B-Instruct | ToolEmbed+ RAG_SFT | 0.449 | 0.447 | 0.472 | 0.284 | 0.637 | 0.625 | 0.625 | 0.413 | 0.364 | 0.271 |
| Qwen3-4B-Instruct | ToolSearcher | 0.531 | 0.527 | 0.546 | 0.316 | 0.599 | 0.617 | 0.586 | 0.422 | 0.491 | 0.284 |
As shown in the table, ToolSearcher consistently outperforms the fine-tuned retriever baseline and other tool-retrieval-based methods on the main metrics.
(1) The results of ToolEmbed show that although fine-tuning the retriever is a simple and effective baseline, ToolSearcher provides further gains by better modeling the interaction between user intent, tool semantics, and tool-selection decisions.
(2) ToolSearcher achieves the best overall performance compared with other retrieval-based techniques used in the tool retrieval literature. The main reason is that although ToolPO and ToolQP use token-level RL with multiple tool-related reward signals, tokens in the same response still receive nearly the same reward. Thus, in multi-turn tool-use scenarios, they cannot accurately assign credit to the corresponding tool-selection decisions. In contrast, our method provides event-level feedback, enabling more precise reward assignment to each tool-selection step.
We will add these comparisons and discussions to the revised paper to better justify the contribution of our method.
[1] Lu et al, 2026, Tools are under-documented: Simple Document Expansion Boosts Tool Retrieval.
[2] Li, Xiaoxi, et al,2025, Deepagent: A general reasoning agent with scalable toolsets.
[3] Fang, Wei, et al, 2026. Beyond Single-Shot: Multi-step Tool Retrieval via Query Planning.
Q1
Thank you for the question. We would like to clarify that the original training data do not contain intermediate search trajectories required for multi-turn interaction. Therefore, we cannot directly use the ground-truth labels in the training set to construct standard SFT data. To enable SFT for multi-turn interaction, we generated trajectories by sampling the base model Qwen3-4B-instruct five times on the training queries and retained only successful trajectories for SFT. This process still heavily depends on the capability of the base model, and finally yielded only about 4K usable SFT examples. Thus, the SFT data are limited and are not additional human-annotated demonstrations.
| Model | F1 | Recall | Precision | Match | G1 Inst. | G1 Tool | G1 Cate. | G2 Inst. | G2 Cate. | G3 Inst. |
|---|---|---|---|---|---|---|---|---|---|---|
| RL | 0.531 | 0.527 | 0.546 | 0.316 | 0.599 | 0.617 | 0.586 | 0.422 | 0.491 | 0.284 |
| SFT+RL | 0.533 | 0.531 | 0.545 | 0.325 | 0.625 | 0.581 | 0.638 | 0.469 | 0.433 | 0.214 |
As shown in the table, we adopt our RL method. The overall difference between RL and SFT+RL is small. SFT+RL brings a marginal improvement in overall metrics, suggesting that SFT may provide a useful cold start by helping the model acquire task-specific interaction patterns.
The SFT trajectories are generated from the same training queries used later in RL. Since no extra training data are introduced, SFT may partially encourage the model to fit specific successful trajectories rather than learn general reasoning strategies. In contrast, RL can utilize multiple sampled trajectories per query and provide comparative optimization signals, which makes more effective use of the same training data. Therefore, under the constraint that no additional SFT data are available and only limited effective trajectories can be distilled from the base model, RL alone achieves overall performance very close to SFT+RL.
Looking forward to your reply
Dear Reviewer ei6z,
Since the discussion period is ending in less than 48 hours, we would greatly appreciate it if you could take a look at our reply to your review and let us know if you have any remaining questions. We look forward to addressing any remaining concerns before the end of the discussion period.
Best regards!
Response to Rebuttal
The authors provide additional experimental results during the rebuttal period that address my concerns. These results, and the discussion on references, should be included in the revision. I have raised my score accordingly.
Thank you for your reply
Dear Reviewer ei6z,
Thank you for your positive feedback and for increasing your score. We will incorporate these results and the discussion on related references into the revised manuscript.
Best regards,
The authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal by Authors (Part C)
W3
We compare our method with a tool-selection model ToolQP [1], which performs query planning before retrieval. ToolQP first plans to decomposes the user query into sub-tasks and then conducts multi-round retrieval based on these sub-tasks. During training, it relies on a teacher model to annotate plans and uses plan-level similarity scores to evaluate the quality of generated plans.
In addtion, To further address the reviewer’s concern about reasoning modes, we also implemented an additional variant, ToolSearcher with per-turn reasoning, where the model is asked to perform a reasoning/planning step before each retrieval turn during training and inference. The results are shown below.
[1] Fang, Wei, et al, 2026. Beyond Single-Shot: Multi-step Tool Retrieval via Query Planning.
ToolSearcher performs better than the per-turn reasoning variant and ToolQP on both backbones. We observed that, without a dedicated reward or supervision signal for the quality of the intermediate reasoning process, the generated “thoughts” often degenerate into short paraphrases of the original query rather than meaningful long-horizon reasoning. In other words, simply adding an explicit reasoning step does not guarantee better tool selection unless the reasoning itself is properly supervised or rewarded.
ToolQP implicitly assumes that the initial decomposition is sufficiently complete and has an appropriate granularity. If the sub-plans are too coarse or miss an implicit requirement, some necessary tools may never be retrieved. In addition, ToolQP mainly adjusts the retrieval direction conditioned on the given plan, rather than revising the plan itself. As a result, its performance is constrained by the quality and completeness of the initial or teacher-generated plan. By contrast, ToolSearcher does not rely on predefined or teacher-annotated plans. Instead, it directly optimizes tool-selection behavior through event-level feedback. This allows the model to learn which retrieval actions are useful for the final tool set, making it less dependent on an explicit decomposition and more robust when the required reasoning steps are implicit.
These results support our main design choice: instead of relying on explicit teacher-generated plans or unsupervised reasoning traces, ToolSearcher directly optimizes the retrieval/selection trajectory with event-level feedback. This makes the method less sensitive to plan quality and yields stronger overall performance. We will add this discussion to the revised manuscript to better address the role of reasoning in tool retrieval.