Verification-Guided Context Optimization for Tool Calling via Hierarchical LLMs-as-Editors
Henger Li, Shuangjie You, Flavio Di Palo, Yiyue Qian, Ayush Jain

TL;DR
This paper introduces VGCO, a framework that uses hierarchical LLM-based editors to automatically refine tool documentation and context, significantly improving tool use accuracy and robustness in large language models.
Contribution
VGCO is a novel framework employing hierarchical, verification-guided LLM editors for automatic context optimization in tool calling, addressing scalability and ambiguity issues.
Findings
Improves tool calling accuracy and robustness.
Enables cost-efficient, targeted context editing.
Achieves better generalization across LLMs.
Abstract
Tool calling enables large language models (LLMs) to interact with external environments through tool invocation, providing a practical way to overcome the limitations of pretraining. However, the effectiveness of tool use depends heavily on the quality of the associated documentation and knowledge base context. These materials are usually written for human users and are often misaligned with how LLMs interpret information. This problem is even more pronounced in industrial settings, where hundreds of tools with overlapping functionality create challenges in scalability, variability, and ambiguity. We propose Verification-Guided Context Optimization (VGCO), a framework that uses LLMs as editors to automatically refine tool-related documentation and knowledge base context. VGCO works in two stages. First, Evaluation collects real-world failure cases and identifies mismatches between…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsAdvanced Software Engineering Methodologies · Natural Language Processing Techniques · Software Engineering Techniques and Practices
