staticcheck
Run static analysis on Go packages to detect bugs, inefficiencies, and style issues.
Instructions
Run staticcheck for enhanced Go static analysis
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "staticcheck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional arguments | |
| package | No | Go package to analyze (e.g., ./...) | |
| directory | No | Working directory |