Skip to content

Tool Retrieval and Routing

Definition

Tool Retrieval and Routing — a component of agent systems responsible for selecting the appropriate Tool from a large catalog of tools. It is used when the number of available tools exceeds the model's context window capacity.

Architecture

flowchart LR
    A[Agent Request] --> B[Semantic Search]
    B --> C[Tool Candidates]
    C --> D[Ranking]
    D --> E[Selected Tool]
    E --> F[Execution]

Methods

Method Description
Semantic Search Search based on embeddings of tool descriptions
Classification Training a classifier for tool selection
Hybrid Combination of semantic search and rules

Benefits

See also

← All terms