cache
Manage the npm cache: clear outdated packages to free disk space, verify cache integrity to prevent corruption, or list cached contents to inspect stored packages.
Instructions
Manage the npm cache
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": {
"action": "<action>"
},
"name": "cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force clean (required for clean action) | |
| action | Yes | Action: clean (clear cache), verify (check integrity), ls (list contents) |