Audit Local Codebase AI Readiness & ARD 1.0 Compliance
audit_local_codebaseScan a local repository workspace read-only to detect package.json, robots.txt, llms.txt, and AI catalog manifests, then return a Markdown report with remediation links before deploying.
Instructions
Performs a strictly read-only structural scan of a local repository workspace (checking package.json, robots.txt, public/llms.txt, and public/.well-known/ai-catalog.json) without modifying or creating any files on disk. Returns a Markdown report with three sections: a 4-item workspace detection summary, an optional 6-line /llms.txt preview block, and 2-tier remediation links. Use this tool when inspecting a local project checkout before deployment. Do not use this tool to audit a live remote website over HTTP (use audit_ai_readiness instead) or to synthesize full manifest files from a live domain (use generate_ai_manifests instead). Requires no API key.
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": {
"targetDir": "<targetDir>"
},
"name": "audit_local_codebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetDir | Yes | Relative or absolute filesystem path to the local repository root (e.g., "./" or "/workspace/app"). Resolved relative to the server working directory; if a "public/" subdirectory exists inside targetDir, static discovery manifests are checked there first before falling back to targetDir. | |
| includePreview | No | Optional flag controlling whether the response includes the 6-line /llms.txt preview block synthesized from package.json metadata (name, description, homepage). Defaults to true when omitted; never writes files to disk. |