DuckAI Chat
get__ai_duckaiSends a message to DuckAI and returns a chat response using a chosen AI model, with an optional system prompt for tailored answers.
Instructions
Chat with DuckAI using various AI models via query parameters. Method: GET /api/ai/duckai Tags: AI, Chat, DuckAI, LLM
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message": "<message>"
},
"name": "get__ai_duckai"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | AI model to use (default: gpt-4o-mini) (contoh: "gpt-4o-mini") | |
| message | Yes | Message to send to the AI (contoh: "What is the meaning of life?") | |
| systemPrompt | No | System prompt (only for gpt-4o-mini) (contoh: "You are a helpful assistant.") |