The Menu Is an Execution Prior: State-Path Tool Menus for Online Agents

πŸ“… 2026-09-08
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
ζœ¬ζ–‡ζε‡ΊηŠΆζ€θ·―εΎ„ε·₯ε…·θœε•οΌŒι€šθΏ‡ε­¦δΉ δ»Žθ―·ζ±‚ηŠΆζ€εˆ°η»“ζžœηš„ι’„ζ‰§θ‘Œθ·―εΎ„ζ₯δΌ˜εŒ–εœ¨ηΊΏδ»£η†ηš„ε·₯ε…·ι€‰ζ‹©οΌŒζι«˜ε€šζ­₯ιͺ€δ»»εŠ‘ηš„ζˆεŠŸηŽ‡γ€‚
πŸ“ Abstract
Language models act through tools, yet practical agents face libraries containing thousands of interfaces. We introduce the tool menu as the short, ordered subset of available tools shown to an agent before execution. The agent can call only tools in this menu. Multi-step tasks require the final action and the prerequisite tools that create its inputs in a usable order. Current constructors rank tools by request relevance, which can surface the final action while omitting or delaying less obvious producers. We introduce the state path, a pre-execution route from the observable request state to the desired outcome, and propose State-Path Tool Menu to learn it. Our framework treats the menu as an execution prior over these routes. Its encoder represents which tools can run from the current state, how their outputs satisfy later inputs, and which orders recur in training paths. A retriever covers an executable entry, the missing-input producers, and the final action. A reranker then places producers before consumers. On ToolBench, our menu raises online success from 0.737 to 0.898 and outperforms retrieval, reranking, generation, and routing baselines without changing the agent. The State-Path menu also covers more complete chains with 32 tools than the official list covers with 128, and its success gain persists across executor families with different model capacities. Our code is at https://github.com/Met2348/State-Path.
Problem

Research questions and friction points this paper is trying to address.

language models
tool menu
multi-step tasks
state path
execution prior
Innovation

Methods, ideas, or system contributions that make the work stand out.

State-Path Tool Menu
Execution Prior
Tool Ranking
Multi-step Tasks
B
Bo Yan
Department of Computer Science & Institute of Artificial Intelligence, University of Central Florida
Weikai Lin
Weikai Lin
University of Rochester
Computer Science
S
Song Wang
Department of Computer Science & Institute of Artificial Intelligence, University of Central Florida