dist-tag
List, add, or remove distribution tags for npm packages to control release channels and manage version visibility.
Instructions
Manage distribution tags
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>",
"package": "<package>"
},
"name": "dist-tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Tag name (required for add/rm) | |
| action | Yes | Action to perform | |
| package | Yes | Package name (for add: pkg@version) |