Tool Retrieval
A method for optimizing the function-calling context of large models by storing tool definitions in a searchable index and recalling only the few most relevant tool definitions per request round, avoiding context bloat and attention dilution. It shares the same underlying idea as RAG.
Timeline (last 90 days)
The cost of tool retrieval is that retrieval recall directly determines the upper bound of subsequent capability: if the target tool is not recalled, the agent cannot call it no matter how smart it is.
There are two engineering patterns for loading tool definitions on demand: two-phase calling (expose names first, then fetch the full schema once selected) and tool retrieval (retrieve relevant tool definitions based on the user query and inject them into the prompt).
Most existing tool retrieval methods focus on optimizing semantic relevance while neglecting whether tools are truly available at execution time.
All Facts (3)
The cost of tool retrieval is that retrieval recall directly determines the upper bound of subsequent capability: if the target tool is not recalled, the agent cannot call it no matter how smart it is.
50%UnverifiedThere are two engineering patterns for loading tool definitions on demand: two-phase calling (expose names first, then fetch the full schema once selected) and tool retrieval (retrieve relevant tool definitions based on the user query and inject them into the prompt).
50%UnverifiedMost existing tool retrieval methods focus on optimizing semantic relevance while neglecting whether tools are truly available at execution time.
50%