RefTool: Reference-Guided Tool Creation for Knowledge-Intensive Reasoning
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Large Language Models (LLMs) can enhance their reasoning capabilities by using external tools. However, many tasks lack predefined tools. Prior works have explored instructing LLMs to generate tools on their own, but such approaches depend heavily on internal knowledge and struggle when tasks fall outside the model's knowledge scope. To address this limitation, we propose RefTool, a reference-guided framework for automatic tool creation that leverages external materials, such as textbooks and knowledge snippets. RefTool consists of two modules: (1) tool creation, where LLMs generate executable tools from reference content, validate them using illustrative examples, and organize them hierarchically into a toolbox; and (2) tool utilization, where LLMs navigate the toolbox structure to select and apply the appropriate tools to solve problems. Experiments on causality, physics, and chemistry benchmarks demonstrate that RefTool outperforms existing tool-creation and domain-specific reasoning methods by 12.3% on average accuracy, while being cost-efficient and broadly generalizable to non-scientific tasks, e.g., extremely low-resource language translation. Analyses reveal that grounding tool creation in references produces accurate and faithful tools, and that the hierarchical structure facilitates effective tool selection. RefTool enables LLMs to overcome internal knowledge limitations, advancing generalizable reasoning in knowledge-intensive domains.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 8 of its 36 references that are in the map. First posted on arXiv 27 May 2025.
Builds on
8 of 36 references.
Closest ancestors · 2
Same direction, newest first
- 2025OctoTools: An Agentic Framework with Extensible Tools for Complex Reasoning16 Feb
- 2024OpenAI o1 System Card21 Dec
Other references · 6
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2024Agent Workflow Memorycited by 342
- 2025SkillWeaver: Web Agents can Self-Improve by Discovering and Honing Skillscited by 174
- 2025Inducing Programmatic Skills for Agentic Taskscited by 103
- 2024ToolNet: Connecting Large Language Models with Massive Tools via Tool Graphcited by 59
- 2025ChemAgent: Self-updating Library in Large Language Models Improves Chemical Reasoningcited by 41
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025ToolLibGen: Scalable Automatic Tool Creation and Aggregation for LLM Reasoning
- 2024Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agents
- 2025Distilling Tool Knowledge into Language Models via Back-Translated Traces
- 2023ART: Automatic multi-step reasoning and tool-use for large language models
- 2026TInR: Exploring Tool-Internalized Reasoning in Large Language Models
- 2024Meta-Reasoning Improves Tool Use in Large Language Models
- 2024Efficient Tool Use with Chain-of-Abstraction Reasoning
- 2024LLM With Tools: A Survey