Toolvito

Processed online by Toolvito

AI Code Documentation

Paste your code. For Python, AI writes a docstring for each class and function that has none, and the page puts them into your code. For other languages, AI writes README-style documentation.

Choose what to do

Task
Document code with AI

More options

Your code is sent to the Toolvito server; the documentation is written by a language model that runs on the server itself, and the code is never run. 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.

How it works

  1. Paste Python code and choose the docstring style: Google, NumPy or reST (Sphinx).
  2. Press Document the code. A language model that runs on the Toolvito server writes a summary, a line for each parameter, what is returned and what is raised.
  3. Code checks the answer: each name and parameter must be the one in your code, and only exceptions your code raises itself are listed. Then the docstrings are put into your code, and the result is checked to be the same code apart from the docstrings.
  4. Read every docstring: the checks make sure nothing in your code changes, not that each text is right.

Other tasks

  • README text describes code in any language: an overview, how to use it and its main parts. Every name it mentions is checked to be in the code.
  • Outline Python code lists the classes, functions and methods with their signatures and which have no docstring, without AI.
  • Your code is never run.

Related tools