gid_analyze
Analyze a file, function, or class to return structured JSON for AI consumption, enabling code structure and pattern inspection.
Instructions
Analyze file, function, or class. Returns structured JSON for AI consumption.
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": {
"filePath": "<filePath>"
},
"name": "gid_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class | No | Class name for deep dive (optional) | |
| filePath | Yes | Path to the file to analyze | |
| function | No | Function name for deep dive (optional) | |
| includePatterns | No | Include pattern detection (default: true) |