Skip to content

InvokeOptions

Options for platform.invoke.

optional providerId?: string;

Route to a SPECIFIC provider app instead of letting the broker resolve by intent name — the opt-in for app-owned capabilities where “whoever provides it” is not enough. Advisory: the targeted provider’s backend re-enforces, so a forged id only changes WHICH app is asked.


optional resolve?: ResolvePolicy;

Provider-selection policy when more than one app provides the intent. Defaults to first.


optional timeoutMs?: number;

Reject the invoke if no result arrives within this many milliseconds.


optional version?: string;

Require a provider offering at least this intent version.