docs_generate_api
Generate API documentation directly from source code comments (JSDoc, docstrings) for TypeScript, Python, Go, and more. Specify project path, output path, and language to produce structured docs.
Instructions
Generate API documentation from code (JSDoc, Docstrings, 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": {
"projectPath": "<projectPath>",
"outputPath": "<outputPath>",
"language": "<language>"
},
"name": "docs_generate_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | Programming language | |
| outputPath | Yes | Output path for API documentation | |
| projectPath | Yes | Path to the project source code |