routara_chat
Create OpenAI-compatible chat completions through Routara, supporting single messages, multi-turn conversations, system prompts, and tool calls with access to 48+ models.
Instructions
Create an OpenAI-compatible chat completion through Routara.
Use message for a simple single-turn request, or messages for system prompts, multi-turn chat, multimodal content, and tool-call continuations. The complete upstream response is returned, including usage, reasoning_content, and tool_calls when supplied by the model.
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>"
},
"name": "routara_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop | No | ||
| model | Yes | Model slug from routara_list_models | |
| tools | No | OpenAI-compatible function tools | |
| top_p | No | ||
| message | No | Convenience single user message; use messages for multi-turn input | |
| messages | No | OpenAI-compatible conversation messages | |
| max_tokens | No | ||
| temperature | No | ||
| tool_choice | No | OpenAI-compatible tool choice |