uninstall
Remove npm packages from a project by specifying the absolute path to the package directory and package names. Optionally uninstall globally.
Instructions
Remove packages from a project
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": {
"path": "<path>",
"packages": "<packages>"
},
"name": "uninstall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the package directory | |
| global | No | Uninstall from global | |
| packages | Yes | Package names to uninstall |