Check model retirements
check_model_retirementsShows admins when the AI models they use will stop being served, based on provider-published retirement dates, so they can test replacements and switch before disruptions.
Instructions
Admins only: the models in use and when their providers stop serving them, from the providers' own model lists (OpenAI, Anthropic, the AI Gateway, OpenRouter). Returns { retiring, worst, models: [{ model, uses, retirement: { retiresAt, status: retired|soon|scheduled|deprecated, daysLeft } | null, published, error }] }. published: false = the provider publishes no dates (unknown, not safe). Check a replacement with test_model, then switch under Settings → System → Models.
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": "check_model_retirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | true = ask the providers again instead of the answer from the last few hours |