ai_completion
Completes an AI prompt by providing content associated with a specific prompt key.
Instructions
A I Completion POST /api/v1/ai/completion Tags: AI completions
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": {
"prompt_key": "<prompt_key>",
"content": "<content>"
},
"name": "ai_completion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_key | Yes | (body) AI prompt identifier | |
| content | Yes | (body) Content for AI completion |