Search models
oc_modelsLists models from all connected OpenCode providers with prices and reasoning-level variants, and supports filtering by text, provider, or free-only status.
Instructions
List the models available in OpenCode (every connected provider) with prices and variants (reasoning levels). Filter by text, provider or free only.
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": "oc_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 40. | |
| search | No | ||
| provider | No | ||
| free_only | No |