llm_chat
Chat with an LLM to get answers, reason through problems, or generate code using configurable models and settings.
Instructions
Chat completions using the infocepo LLM API (OpenAI-compatible). Supports chat, reasoning, code generation.
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": {
"messages": "<messages>"
},
"name": "llm_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model name: ai-default, ai-thinking, ai-fast, ai-embedding, ai-stt, ai-tts, ai-image, ai-vision | |
| messages | Yes | Chat messages array: [{role: 'user'|'system'|'assistant', content: 'text'}] | |
| max_tokens | No | Max tokens in response. | |
| temperature | No | Sampling temperature (0-2). Default 0.7. |