veto_doc_gen
Generate JSDoc, TSDoc, or docstring comments for public APIs in source files. Returns annotated file content.
Instructions
Reads a source file and generates JSDoc/TSDoc/docstring comments for all public APIs. Returns the annotated file content.
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": {
"file_path": "<file_path>"
},
"name": "veto_doc_gen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Documentation style: 'jsdoc', 'tsdoc', 'docstring', or 'auto' (default). | |
| file_path | Yes | Absolute path to source file. | |
| agent_response | No | Phase 2 response from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop. |