Function: resolveCardContextFactory()
resolveCardContextFactory(
plugins,providerName):CardContextFactory|null
The agent plugin’s request-context factory, when it exposes one.
Resolved separately from the agent because it is the piece that gives an out-of-band turn the same tool reach as a chat turn; a provider without it still answers, just without user-scoped tools.
Parameters
Section titled “Parameters”plugins
Section titled “plugins”ReadonlyMap<string, unknown> | undefined
providerName
Section titled “providerName”string
Returns
Section titled “Returns”CardContextFactory | null