Generate Code Comments Tool
generate-code-commentsUse this when the user supplies source code and asks to add inline comments, docblocks, docstrings, or code annotations. State-changing generation action: consumes AI credits, creates a generation, and returns commented code after authorization. Use browser guidance for file uploads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional custom name used to identify the commented code in generation history | |
| filename | Yes | The full file path of the file being commented (e.g., src/utils/helper.ts) | |
| source_code | Yes | The source code to add comments to |