interaction.respond
Answers an interactive request; already_resolved if another client answered first.
Params: RespondParams
Section titled “Params: RespondParams”/** `interaction.respond` params (DMN-051). */export type RespondParams = { interactionId: string; response: InteractionResponse; threadId: string;};Result: Empty
Section titled “Result: Empty”/** No params, or the `{}` result. */export type Empty = Record<string, never>;Types they use
Section titled “Types they use”/** Answer to an interactive request: exactly one of `value`, `confirmed`, `cancelled` (always true), `answers` or `data`. */export type InteractionResponse = | { value: string; } | { confirmed: boolean; } | { cancelled: true; } | { answers: unknown[]; } | { data: Record<string, unknown>; };