glm_find_bugs
Analyze code or files to detect potential bugs, edge cases, and error-prone patterns. Get a list of issues with explanations using GLM.
Instructions
Find potential bugs in code using GLM.
Use for: bug detection, edge case analysis, error prone patterns.
Args: code_or_file: Inline code or file path to analyze working_directory: Directory context for file paths model: "haiku" or "sonnet"
Returns: List of potential bugs with explanations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | sonnet | |
| code_or_file | Yes | ||
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |