Tools Are Not Islands: Set-Level Tool Retrieval for LLM Agents via Query-Conditioned Hyperedge Prediction
Xinyi HongPinjun DongXYXinyang YuBinyan Jiang
Xinyi Hong
Pinjun Dong
XYXinyang Yu
Binyan Jiang
+4
HYSET reformulates tool retrieval for LLM agents as query-conditioned hyperedge prediction on a tool co-invocation hypergraph, making the tool set, rather than individual tools, the unit of scoring. It captures size-dependent compatibility through cardinality-specific interactions and operates as a pre-selection module requiring no downstream agent modification. Evaluated on ToolBench, HYSET consistently outperforms state-of-the-art baselines in both retrieval and end-to-end task success, and supports zero-shot/few-shot transfer to unseen tools and domains.

arXiv ·
· July 28, 2026