jsdoc
Verify code documentation consistency and type correctness. Generate missing comments for functions to keep docs accurate.
Instructions
JSDoc operations. Actions: check_consistency|check_types|generate
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": {
"action": "<action>",
"path": "<path>"
},
"name": "jsdoc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | For generate: specific function name | |
| path | Yes | Path to scan | |
| files | No | For check_types: specific files | |
| action | Yes | JSDoc action to perform | |
| maxDiagnostics | No | For check_types: max diagnostics (default: 50) |