glm_document
Add or update documentation for a file: generate docstrings, READMEs, or API docs in Google, Sphinx, NumPy, or Javadoc style using GLM.
Instructions
Add or update documentation for a file using GLM.
Use for: adding docstrings, generating README, documenting APIs.
Args: file_path: Path to file to document style: "google", "sphinx", "numpy", "javadoc" working_directory: Project directory model: "haiku" or "sonnet"
Returns: File with added documentation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | haiku | |
| style | No | ||
| file_path | Yes | ||
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |