find_missing_docstrings
Identify Python modules, classes, and functions missing docstrings and compute the docstring coverage percentage across a directory.
Instructions
Audit Python files in a directory to identify modules, classes, and functions that lack docstrings, calculating overall docstring coverage percentage.
:param target_dir: Directory path to audit. :param include_private: Whether to include private functions/methods (starting with '_').
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": {
"target_dir": "<target_dir>"
},
"name": "find_missing_docstrings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_dir | Yes | ||
| include_private | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |