analyze_js_file
Analyze JavaScript files to identify syntax errors, potential bugs, and code quality issues using ESLint for actionable fix suggestions.
Instructions
Analyze a JavaScript file for potential issues using ESLint
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": {
"file_path": "<file_path>"
},
"name": "analyze_js_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the JavaScript file to analyze |