validate_coverage
Check that all modules have up-to-date context JSON files, identifying missing or stale entries to ensure complete and current code documentation.
Instructions
Validate that every module has a generated context JSON, and detect stale ones.
Args: project_dir: Path to the project root. ctx_dir: Path to the ctx/ output directory. check_stale: If True, detect modules whose source has changed (default True).
Returns: Dict with: total_modules, generated, coverage_pct, missing_ids[], stale_ids[], unknown_fields_summary{}.
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": {
"project_dir": "<project_dir>",
"ctx_dir": "<ctx_dir>"
},
"name": "validate_coverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | ||
| ctx_dir | Yes | ||
| check_stale | No |