generateAPIDocumentation
Generate API documentation from TypeScript/JavaScript source files by automatically extracting exported functions, classes, interfaces, and JSDoc comments. Choose between markdown or JSON output.
Instructions
Generate API docs (markdown/JSON) for TS/JS exported symbols. Extracts fns, classes, interfaces, JSDoc.
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": {
"files": "<files>"
},
"name": "generateAPIDocumentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Relative file paths to document (required) | |
| format | No | Output format (default: markdown) | |
| includePrivate | No | Include non-exported symbols (default: false) |