Audit AI models in the repo
modelfinder_audit_modelsLists AI model IDs and SDKs a repository uses, with file:line locations, provider families, usage counts, and hard-coded vs. environment-variable defaults. Use before comparing or replacing models.
Instructions
List the AI model IDs (quoted literals) and AI SDKs a repository uses, with file:line locations, provider family, route hints (Bedrock, Vertex AI, Azure, OpenRouter), usage counts and whether each ID is hard-coded or an environment-variable default. Use first, to see which models a project depends on before comparing or replacing them; use modelfinder_draft_eval_examples to find test inputs instead. Read-only and local: no network calls, no files written. Skips secret-like files and dependency folders and never returns line content. Sorted by usage; paginate with limit/offset.
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": "modelfinder_audit_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory inside the workspace, relative to the project root (e.g. "services/api"). Defaults to the project root. If a call fails because the project is unknown, pass the absolute path of the project (your current working directory). | |
| limit | No | Items per page (1-200, default 50). | |
| offset | No | Items to skip; use next_offset from the previous page. | |
| hard_coded_only | No | Only IDs not read from configuration or environment. | |
| provider_family | No | Only models from this family, e.g. "anthropic". | |
| response_format | No | markdown (default) for a readable summary, json for the full machine-readable result. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sdks | Yes | ||
| models | Yes | ||
| summary | Yes | ||
| pagination | Yes |