Check model IDs for retirement
check_modelsCheck OpenAI, Anthropic, and Google model IDs for retirement status, date, days left, and replacement before using them in code.
Instructions
Look up OpenAI, Anthropic and Google model IDs and return, for each one, its retirement status, retirement date, days left and replacement. Use it before writing, changing or keeping a model ID in code, or when the user asks whether a model still works. To find the IDs inside a codebase use scan_project instead; to list everything retiring soon use upcoming_retirements. Read-only. Data comes from the providers' official deprecation pages, re-checked daily at aidriftline.com (fetched with a 4 s timeout, falling back to the copy in the package when offline). IDs not in the registry return status "unknown": no retirement is published for them, which does not prove the ID exists. Up to 100 IDs per call; extra IDs are ignored.
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": "check_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Model IDs exactly as written in code, e.g. ["gpt-4o", "claude-sonnet-4-5", "models/gemini-2.5-pro"]. Provider prefixes (openai/, models/), Bedrock, Vertex and OpenRouter spellings and Claude short names are accepted and normalized. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | Yes | ||
| all_dates | No | ||
| next_step | No | Present when a model has to move: how to test prompts on the replacement first | |
| registry_source | Yes | live = aidriftline.com/models.json; bundled = the copy shipped in the package (used offline) | |
| registry_checked | Yes | Date the registry was last checked against the provider pages |