ZaiCtx

Sends a prompt to the AI with Discord context automatically injected as a system message. Returns the response text.

Syntax

ZaiCtx{apiKey;prompt;model?;maxTokens?;temperature?}

Arguments

NameTypeRequiredDefault
apiKeystringYes-
promptstringYes-
modelstringNogemini-2.5-flash-lite
maxTokensintegerNo-
temperaturenumberNo-

Example

ZaiCtx{AIza...;Summarize this conversation;gemini-2.5-flash}