run
Execute a prompt on an automatically selected low-latency model and return the response. Optionally restrict to free models, a provider, or a quality tier.
Instructions
Run a prompt on the fastest available model and return the response.
Use when the user wants to execute a prompt. Picks the fastest responding model automatically (with optional fallback). Set free_only=True when the user asks for a free model only.
Args: prompt: The user message to send system_prompt: Optional system prompt (e.g. "You are a Python expert") model_id: Specific model to use (skips scanning). Use list_models() to browse. provider: Limit to a specific provider (nvidia, groq, etc.) min_tier: Minimum quality tier when auto-selecting (default "A") free_only: If true, only consider models marked as free (default false) max_tokens: Max response tokens (default 4096) temperature: Sampling temperature (default 0.0 for deterministic)
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": {
"prompt": "<prompt>"
},
"name": "run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| min_tier | No | A | |
| model_id | No | ||
| provider | No | ||
| free_only | No | ||
| max_tokens | No | ||
| temperature | No | ||
| system_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |