npm_team_grant
Grant a team read-only or read-write permission on an npm package by specifying @scope:team. Manage package access for your organization.
Instructions
Grant a team read-only or read-write permission on a package. Scope and team are passed as @scope:team (e.g. '@yawlabs:devs'). Requires org admin or team admin.
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": {
"team": "<team>",
"package": "<package>",
"permissions": "<permissions>"
},
"name": "npm_team_grant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | Team in the form '@scope:team' (e.g. '@yawlabs:devs') | |
| package | Yes | Package name. Field is named 'package' to match the npm CLI (diverges from 'name' used elsewhere in this server). | |
| permissions | Yes | Permission level |