profile
Retrieve or update npm user profile fields including email, fullname, and homepage using get or set actions, with support for two-factor authentication.
Instructions
View or modify npm user profile settings
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": "profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| otp | No | One-time password for 2FA | |
| field | No | Profile field to get or set (e.g. email, fullname, homepage) | |
| value | No | Value to set (required for set action) | |
| action | Yes | Action to perform |