Red Hat's research on Tool RAG demonstrates that applying retrieval-augmented generation to tool selection — dynamically retrieving only the relevant tools for each agent step rather than stuffing all tools into the prompt — triples tool invocation accuracy while cutting prompt length in half. Combined with LLM-assisted reranking and query rewriting for tool candidates, this pattern is essential for agents with large tool registries where context window waste and tool confusion degrade performance.