run
Executes a prompt by auto-selecting the fastest responding model from 130+ options, with support for specific models, providers, and free-only constraints.
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)
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 |