list_models
Reads each configured OpenAI-compatible endpoint’s advertised model IDs so you can see what is available before probing or ranking; returns models grouped by endpoint and no inference cost.
Instructions
List the models each configured endpoint advertises (GET {base_url}/models). Read-only network call to your own configured endpoints — no inference, no token cost. Use this FIRST, before probe/ranking, to see what is available. Returns model ids grouped by endpoint name; empty list if an endpoint is unreachable.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | optional max models per endpoint | |
| contains | No | optional substring filter (matches model id) |