list_models_tool
List available AI models from Gemini and OpenRouter with filters for context size, JSON-only, free-only, and refresh options.
Instructions
List available models. Provider 'all' merges Gemini + OpenRouter (top 20).
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": "list_models_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | all | |
| min_context | No | ||
| supports_json_only | No | ||
| free_only | No | ||
| refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |