All commands

Developer

Add doc comments

Document functions and types in the language's own style.

What Summon asks the model

Add documentation comments to the selected code, using the usual style for its language. Describe what each function or type does, its parameters, return value, and errors when they are not obvious. Do not change the code itself. Only output the code with the comments added.