generate_doc
Analyze code with AI to automatically generate documentation in technical, tutorial, or reference style.
Instructions
Analyze code and generate documentation using AI
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_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code to analyze and document | |
| style | No | Documentation style | technical |
| language | No | Programming language of the code |