Papers

Lightweight Tool Probing:让智能体提前看到工具真实返回值

Lightweight Tool Probing: Showing LLM Agents What Their Tools Return

Why we picked it

给智能体用工具前,先在沙箱里探测一遍,把返回值存下来供任务中检索,不用微调不用标注。BFCL 上把 DeepSeek-V4-Flash 从 41.75% 拉到 49.75%,token 只多 9%。做 function calling 或智能体工作流的工程师可以直接借鉴这个思路。

一项新研究提出 Lightweight Tool Probing(LTP):在任务开始前,模型在隔离沙箱中对工具集探测一次,把观察到的原始返回值存入冻结证据库;执行任务时,每步最多检索三条简短响应摘录,而标识符仍来自实时环境。整个流程不需要金标准解答、不需要任务反馈、也不做参数更新。

Body

效果上有具体数字支撑:在 BFCL 基准上,LTP 将 DeepSeek-V4-Flash 从 41.75% 提升到 49.75%,token 开销仅为普通工具调用的 1.09 倍,优于全部五个基线,其中最强基线的 token 开销至少是它的两倍。增益可以迁移到 GLM-5.3、Qwen3.5-397B,以及 ACEBench、AppWorld、WorkBench 三个基准。研究还引入了执行诊断方法,量化一次执行覆盖了多少任务需求,用于定位证据在哪个环节起作用。

被 LTP 挽救的任务在参数约束覆盖度上有明显提升,说明收益来自补充了文档缺失的返回值信息。另一个副产品是:LTP 生成的轨迹作为训练数据优于普通轨迹,对四个学生模型最多带来 10.75 个百分点提升。对做 function calling 的开发者来说,这是一条不微调、不加长上下文也能提升多轮调用成功率的低成本路线。

Original · arXiv: DeepSeek

Lightweight Tool Probing: Showing LLM Agents What Their Tools Return

Tool documentation tells an agent how to call a tool, but only calling it shows what it returns. Multi-turn function calling runs on exactly this missing knowledge. Arguments must match the formats a tool expects, and identifiers returned by one call must feed the next. Existing remedies either keep the agent reading, rewriting the documentation into better text about the tool, or keep it paying, rediscovering tool behavior inside every task; and task success alone cannot show whether such guidance helps. We introduce Lightweight Tool Probing (LTP): before any task, a model probes a toolset once in an isolated sandbox and keeps the raw responses it observed in a frozen evidence bank; during a task, it retrieves at most three short response excerpts per step, while identifiers still come from the live environment. LTP needs no gold solutions, no task feedback, and no parameter updates. To locate where the evidence helps, we also introduce execution diagnostics that score how much of a task's requirements an execution covers. On BFCL, LTP lifts DeepSeek-V4-Flash from 41.75% to 49.75% at 1.09 times the tokens of plain tool calling, outperforming all five baselines, the strongest of which need at least twice the tokens. The gain travels to GLM-5.3 and Qwen3.5-397B, and to ACEBench, AppWorld, and WorkBench. It is interpretable. The tasks LTP rescues gain argument-constraint coverage. Even its trajectories are better training data. They beat plain trajectories for all four student models, by up to 10.75 points. Showing an agent what its tools actually return is a cheap complement to telling it how to call them.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk, focusing on China's AI industry and domestic foundation model ecosystem. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include function calling, agents, BFCL, DeepSeek.

Primary source verification: published directly by arXiv: DeepSeek with first-party authority.