generate_smart_doc
Generate clear code documentation and audit summaries from files or snippets. Supports language selection to match your project's needs.
Instructions
Universal tool for documentation and audits.
file_path: Path to local file.
code_snippet: Pasted code from chat.
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": {
"doc_content": "<doc_content>",
"audit_results": "<audit_results>"
},
"name": "generate_smart_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | auto | |
| file_path | No | ||
| doc_content | Yes | ||
| code_snippet | No | ||
| audit_results | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |