generate_documentation
Create documentation for code in various programming languages and formats to improve code readability and maintainability.
Instructions
Generate documentation for code
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_documentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to document | |
| language | No | Programming language of the code | |
| format | No | Documentation format (e.g., JSDoc, Markdown) |