Generate docs for a file
generate_docsCreate markdown documentation for one code file using Writulos. Provide the source code, optional filename, and context; each call uses one monthly generation.
Instructions
Generate markdown documentation for a single code file using Writulos. Uses one generation from the account's monthly allowance.
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": {
"code": "<code>"
},
"name": "generate_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The source code to document. | |
| context | No | Optional extra context about the file or project. | |
| filename | No | The filename, e.g. auth.js |