Skip to content

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.

optional label?: string;

run: (opts) => Promise<
| {
text: string;
}
| null>;
Parameter Type

opts

{ input: string; }

opts.input

string

Promise< | { text: string; } | null>