measure_coverage
Measures documentation coverage in codebases by analyzing docblocks. Supports multiple programming languages and filters by file patterns.
Instructions
Measures documentation coverage (docblocks) across the codebase. Language-agnostic support for JS, TS, PHP, Python, Go, Rust, etc.
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": {
"dirPath": "<dirPath>"
},
"name": "measure_coverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dirPath | Yes | The absolute path to the source directory. | |
| filePatterns | No | Optional. Glob patterns to filter source files. | |
| publicOnly | No | Optional. Only count public APIs (default: true). | |
| includePath | No | Optional. Glob patterns to include. | |
| excludePath | No | Optional. Glob patterns to exclude. |