analyze_code
Analyze code files for insights using OpenAI API. Provide the absolute path to the file and receive detailed analysis in minutes.
Instructions
Analyze code using OpenAI API (requires your API key). The analysis may take a few minutes. So, wait please.
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": {
"codePath": "<codePath>"
},
"name": "analyze_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codePath | Yes | Absolute path to the code file to analyze (e.g. /Users/username/project/src/code.ts) |