qllm_chat
Route chat messages to local LLM providers or models based on task; returns model responses with usage metadata.
Instructions
Call a provider from the local qiaomu-llm registry.
Args: params (ChatInput): Provider/model selection or auto routing, prompt/messages, sampling settings, optional provider-specific thinking/reasoning fields, timeout, output size, and response format.
Returns: str: JSON or Markdown model response with provider/model/usage metadata.
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": {
"params": "<params>"
},
"name": "qllm_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |