Skip to main content

Module selector

Module selector 

Source
Expand description

Tool selection — mechanism for filtering available tools before an LLM call.

The library provides ToolSelector as the extension point and AllToolsSelector as the default (pass-through) implementation. Users implement their own selectors for context-aware tool filtering.

Structs§

AllToolsSelector
Default selector that returns all available tools.

Traits§

ToolSelector
Async trait for selecting which tools to present to the LLM.