Toolvito

Processed online by Toolvito

Function Documentation Generator

Paste your code and get a documentation comment above every function that has none, with a line for each parameter and the return value. Or paste an XSD file and get readable documentation of it.

Choose what to do

Task
Add documentation comments

Your code or schema is sent to the Toolvito server and read there; it is never run. AI texts are written by a language model that runs on the server itself. Nothing is sent to another company. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

What you can do

  • Add documentation comments: JSDoc for JavaScript and TypeScript (with the TypeScript types, optional and default values), Javadoc for Java (with @throws) and KDoc for Kotlin. You write your texts where it says TODO.
  • Write documentation with AI: a language model on the Toolvito server writes the texts, one for each parameter. Code builds the comments, so the @param names always match your code.
  • Document an XML Schema: root elements, complex types with their child elements, how often each may occur and its attributes, simple types with their rules, and the documentation texts in the schema.

Your code stays the same

After the comments are added, the code is parsed again with tree-sitter. Apart from the new comments it must be exactly your code, or nothing is changed. Functions that already have a /** comment are left as they are. The code is never run.

Related tools