scan_for_models
Scan a codebase or provided text to find all AI model IDs in use and flag which are deprecated or retired, with dates, platform, and replacements. Use before upgrades or when calls fail.
Instructions
Find every AI model id used in this codebase (OpenAI, Anthropic, Gemini, Bedrock, Mistral) and tell which ones are being retired or deprecated, by when, on which platform, and the vendor's replacement, with the source link. Use it before upgrading dependencies, when a model call starts failing, or when asked "are we using any deprecated models?". Read-only and local.
Inputs: path (optional, a file or folder inside the current working directory; default: the working directory) or texts (a list of {name, content} you already have). Limits: 2,000 files / 5 MB. Skips .git, node_modules, virtualenvs, dist, build, lockfiles and binaries; never opens .env files (reports them by name). Returns file:line for each model found and the check_my_models result for those 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": "scan_for_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| texts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||