go_mod_tidy
Tidy Go module dependencies by adding missing and removing unused modules. Maintains correct dependency versions in your go.mod file.
Instructions
Tidy Go module dependencies
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": "go_mod_tidy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verbose | No | Enable verbose output | |
| directory | No | Working directory |