InvokeOptions
Options for platform.invoke.
Properties
Section titled “Properties”providerId?
Section titled “providerId?”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.
resolve?
Section titled “resolve?”optional resolve?: ResolvePolicy;Provider-selection policy when more than one app provides the intent. Defaults to first.
timeoutMs?
Section titled “timeoutMs?”optional timeoutMs?: number;Reject the invoke if no result arrives within this many milliseconds.
version?
Section titled “version?”optional version?: string;Require a provider offering at least this intent version.