Skip to main content
Version: Next

AiCommand

AiCommand

Represents a command that can be executed by the AI.

Signature
type AiCommand<T extends Record<string, unknown> = Record<string, unknown>> = (ctx: AiCommandContext<ExtractAiConfig<T>>) => Promise<unknown> | unknown