access
Set, view, grant, or revoke package visibility levels and team permissions for published npm packages, including public, private, and restricted controls.
Instructions
Set or view access level on published packages
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": "access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| otp | No | One-time password for 2FA | |
| team | No | Team name in org:team format (for grant/revoke) | |
| level | No | Access level (for set action) | |
| action | Yes | Action to perform | |
| package | No | Package name | |
| permission | No | Permission level (for grant action) |