agent_modelid
Audit a LIST of model ids against a PASTED catalog with closed grammar — zero fetch, zero guessing, named verdicts. Why this and not 'curl | jq': every gateway wants its own script, and a diff teaches nothing — here each failure gets a NAME: PREFIX_KEPT (LiteLLM v1.82.3 sent its own openrouter/ prefix upstream), NO_ORG (n8n stripped the prefix a gateway routes on), CASE_DRIFT, PUNCT_DRIFT (upstage/solar-pro-4 vs solar-pro4: one dash, dead subagents), VARIANT_DECOR (:free is part of the identifier, not a hat), NOT_IN_CATALOG with did-you-mean at a NAMED threshold (Levenshtein <= 3 on the normalized form) or silence — no invented near-miss. V23 doctrine lives IN the response: OK certifies shape and the pasted annuaire, NEVER the GET — invocability is a ping this grammar refuses to fake. openclaw #20522/#45294, litellm #37271/#14807 asked for exactly this by name. Variant suffixes are TYPED from the closed published table: catalog variants (:free, :batch — Batch-API-only, our V23 mirage explained) must not be stripped, routing variants (:nitro, :floor, :exacto, :online) are ABSENT from any /models list by design — that absence is not an error to fix. Free, EN/FR/PT tags, golden sha.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ids": "<ids>"
},
"name": "agent_modelid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | model id strings EXACTLY as sent | |
| catalog | No | pasted annuaire ids (GET /v1/models output); omit for grammar-only mode |