infer
LLM inference with auto-formatting and streaming. Accepts messages array, returns AI-generated text. Supports JSON/code auto-detection.
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": "infer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stream | No | ||
| messages | Yes |