list_models
Lists available models from opencode: providers, effort levels, context windows, reasoning support, and aliases. Use it to select a model before delegation and find valid effort values.
Instructions
List what this opencode server actually offers: every provider/model, its effort levels (opencode calls them "variants"), context window and whether it reasons - plus the aliases configured in bridge.config.json.
USE IT BEFORE delegate_task whenever the user has not named a model: pick a candidate here, then propose it to them with a one-line reason. It is also how you find the valid 'effort' values, which differ per model.
The catalog is large (hundreds of models across providers), so the output is capped. It always reports how many models matched and how many were left out - if something you expect is missing, narrow with 'query'/'provider' or raise 'limit' instead of assuming it is not there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many rows to print (default 40) | |
| query | No | Free-text filter over "provider/model" and the display name, e.g. "qwen", "gemini", "codex" | |
| provider | No | Exact provider id, e.g. "opencode-go", "openrouter", "google" | |
| reasoning_only | No | Only models that support reasoning |