opencode_model_list
Lists all available models from configured providers, with optional provider filtering and cache refresh, so you can select the right model for coding tasks.
Instructions
List all available models from configured providers. Optionally filter by provider or refresh the cache.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "opencode_model_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Refresh cache from models.dev | |
| provider | No | Filter by provider ID |