# Wyszukiwanie narzędzi przy dużych zestawach

EN: **Tool search and retrieval for large toolsets** · id `toolsearch` · aliases: tool retrieval, tool search tool, deferred tool loading, dynamic tool loading, wyszukiwanie narzędzi

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Aplikacje LLM i agenci](https://aiatlasgraph.com/t/applications.md) › [Narzędzia i integracje](https://aiatlasgraph.com/t/tools.md) › Wyszukiwanie narzędzi przy dużych zestawach

## Description

- PL: Odroczone ładowanie definicji narzędzi i ich wyszukiwanie na żądanie, by ograniczyć zużycie kontekstu i błędy wyboru przy dużych bibliotekach.
- EN: Deferred loading of tool definitions and on-demand search over them to cut context use and selection errors in large libraries.

## In one sentence

- PL: Asystent nie wczytuje opisów wszystkich setek narzędzi naraz, tylko wyszukuje te kilka, których akurat potrzebuje.
- EN: Instead of loading descriptions of hundreds of tools at once, the assistant looks up the few it needs right now.

## Problem it solves

- PL: Po podłączeniu wielu programów asystent zwalnia, drożeje i coraz częściej myli podobne funkcje.
- EN: After many programs are connected, the assistant slows down, costs more and increasingly confuses similar functions.

## What it does

- PL: Jak mechanik, który nie wysypuje całej skrzynki na stół, tylko sięga do szuflady z właściwymi kluczami.
- EN: Like a mechanic who does not tip the whole toolbox onto the bench but opens the drawer with the right spanners.

## Everyday example

- PL: Firmowy asystent ma dostęp do kalendarza, poczty, magazynu i księgowości, ale przy pytaniu o urlop wczytuje tylko funkcje kalendarza.
- EN: A workplace assistant can reach calendar, email, warehouse and accounting, but for a leave question it loads only the calendar functions.

## This concerns you if you…

- PL: podłączasz do asystenta wiele serwerów narzędzi
- PL: opisy narzędzi zajmują dużą część kontekstu
- EN: connect many tool servers to one assistant
- EN: find tool descriptions taking up much of the context

## Keywords

tool search tool · defer_loading · tool retrieval · regex tool search · BM25 · embedding-based tool selection · on-demand tool loading

## How it works

- PL: Pełne definicje narzędzi są rejestrowane, ale oznaczone jako odroczone nie trafiają do początkowego promptu. Model widzi narzędzie wyszukiwania; jego zapytanie jest dopasowywane do nazw i opisów przez wyszukiwanie leksykalne lub semantyczne, a znalezione definicje są rozwijane do kontekstu.
- EN: Full tool definitions are registered, but deferred definitions stay out of the initial prompt. The model sees a search tool; its query is matched against names and descriptions with lexical or semantic retrieval, and matching definitions are expanded into context.

## Limits

- PL: Dodatkowy krok wyszukiwania zwiększa opóźnienie i opłaca się głównie przy dużych bibliotekach. Narzędzie o słabym opisie może nie zostać znalezione, a często używane narzędzia lepiej trzymać załadowane na stałe.
- EN: The extra search step adds latency and pays off mainly with large libraries. A poorly described tool may never be found, and frequently used tools are better kept loaded permanently.

## Key terms

- PL: **odroczone ładowanie**: Rejestracja narzędzia bez wstawiania jego opisu do początkowego kontekstu.
- PL: **retriever narzędzi**: Model lub indeks dobierający narzędzia pasujące do bieżącego zadania.
- EN: **deferred loading**: Registering a tool without putting its description in the initial context.
- EN: **tool retriever**: A model or index picking tools that fit the current task.

## Know first

- [Zarządzanie oknem kontekstu (Context window management: placement, compaction and context rot)](https://aiatlasgraph.com/t/contextmanagement.md)
- [Wyszukiwanie hybrydowe (Hybrid retrieval)](https://aiatlasgraph.com/t/hybridsearch.md)

## Related topics

Untyped, symmetric "see also" links.

- [MCP (Model Context Protocol)](https://aiatlasgraph.com/t/mcp.md)

## Sources

- [Introducing advanced tool use on the Claude Developer Platform](<https://www.anthropic.com/engineering/advanced-tool-use>) `anthropic-advanced-tool-use-2025` · by Anthropic Engineering

---

AI Atlas revision 124 (2026-10-31) · HTML: https://aiatlasgraph.com/t/toolsearch · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-31
