Generate Documentation
generate_documentationGenerate documentation stubs for all public exports in a cached file, with automatic language inference.
Instructions
Generate documentation stubs for all public exports in a cached file. Prerequisite: load_file. Auto-infer language.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_documentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Primary language (e.g. TypeScript, Python, JavaScript, Go, Rust, Java). Auto-infer from files. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| result | No | Successful result payload. | |
| error | No | Error payload when ok is false. |