npm_owner_add
Add an npm user as a package maintainer with publish and write access. The email is resolved automatically; verify collaborators beforehand.
Instructions
Add a user as a maintainer of a package. They will have publish and write permissions. Resolves the user's email via /-/user/ (no need to supply it). Use npm_collaborators to verify before adding.
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": {
"name": "<name>",
"username": "<username>"
},
"name": "npm_owner_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name | |
| username | Yes | npm username to add as maintainer |