Chat through CrowLLM
chatSend prompts to CrowLLM models and return replies with token usage for OpenAI-compatible model access and cost tracking.
Instructions
Send a prompt to any CrowLLM model (POST /v1/chat/completions) and return the reply with token usage.
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": {
"model": "<model>",
"prompt": "<prompt>"
},
"name": "chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model id, e.g. deepseek-v4-flash | |
| prompt | Yes | User message | |
| system | No | Optional system message | |
| max_tokens | No | ||
| temperature | No |