remove_packages
Uninstall packages on SUSE Linux individually or in batches, including dependency cleanup and forced removal.
Instructions
[LIFECYCLE] Unified tool for removing packages (single or multiple). Accepts either a single package name or a list of packages. Supports removal with dependencies and forced removal. Only works on SUSE Linux. Requires sudo access. Examples: packages='firefox', remove_dependencies=true → removes Firefox with its dependencies; packages=['pkg1', 'pkg2', 'pkg3'] → batch removal of multiple packages; packages='lib', force=true → force removal ignoring dependencies (dangerous!).
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": {
"packages": "<packages>"
},
"name": "remove_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force removal ignoring dependencies. Use with caution! Default: false | |
| packages | Yes | Package name (string) or list of package names (array) to remove | |
| remove_dependencies | No | Remove packages and their unneeded dependencies. Default: false |