RetrieveProvider
Simplified retrieval interface for the capability layer. Decoupled from AutoRetrieveProvider’s RunContext requirement — the capability system is backend-agnostic and has no RunContext at tool time.
Properties
Section titled “Properties”label?
Section titled “label?”optional label?: string;run: (opts) => Promise< | { text: string;}| null>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
{ |
|
|
|
Returns
Section titled “Returns”Promise<
| {
text: string;
}
| null>