router_completions
Generate model text completions from a prompt using an OpenAI-compatible orq.ai router endpoint; set model, max tokens, and temperature as needed.
Instructions
Create completion
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": "router_completions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID | |
| prompt | Yes | Prompt text | |
| max_tokens | No | Max tokens | |
| temperature | No | Temperature |