code_docs
Extract JSDoc, Python docstrings, Rustdoc, Javadoc, and Go doc comments from code, or find undocumented public APIs. Filter results by symbol to review documentation coverage.
Instructions
Extract documentation from code: JSDoc, Python docstrings, Rustdoc, Javadoc, Go doc comments. Shows docs for symbols or finds undocumented APIs.
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>",
"file": "<file>"
},
"name": "code_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File to analyze | |
| action | Yes | extract: get docs for a file, undocumented: find undocumented public APIs | |
| symbol | No | Filter to specific symbol name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| action | Yes |