Scan a project for retiring model IDs
scan_projectScans a project folder for retired, retiring, or deprecated OpenAI, Anthropic, and Google model IDs in code and config files, reporting each finding by file and line, most urgent first. Audit a repository or pre-release check.
Instructions
Scan a project folder for OpenAI, Anthropic and Google model IDs in code and config files and report the ones that are retired, retiring soon, deprecated or being re-routed, with file and line, most urgent first. Use it to audit a repository or before a release. For IDs you already know use check_models; for a time-based list use upcoming_retirements. Read-only: reads files on this machine and never changes them. Scans subfolders recursively, skips .git, node_modules, vendor, dist, build and similar folders, and files over 1 MB. Mentions in .md and .txt files are marked in_docs. Returns at most 200 findings (truncated: true when cut). Fails with an error if the path does not exist.
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_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Absolute path of the folder to scan. Defaults to the server's working directory, which may not be the user's project, so pass it explicitly. | |
| include_ok | No | Also list models with no retirement announced (status active or unknown). Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flagged | Yes | ||
| scanned | Yes | ||
| findings | Yes | ||
| all_dates | No | ||
| next_step | No | Present when a model has to move: how to test prompts on the replacement first | |
| truncated | No | ||
| registry_source | No | live = aidriftline.com/models.json; bundled = the copy shipped in the package (used offline) | |
| model_references | No | All model ID mentions found, before filtering | |
| registry_checked | No | Date the registry was last checked against the provider pages |