organizeImports
Sort and organize import statements in a workspace file using VS Code extension or fallback tools like Biome or Prettier.
Instructions
Organize/sort imports in workspace file. Uses VS Code ext when connected; falls back to Biome or Prettier.
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": "organizeImports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | File to organize imports in (relative or absolute path) |