npm_profile
Fetch the authenticated npm user's profile details, including name, email, 2FA status, and creation date, to verify whether two-factor authentication is enabled for publishing.
Instructions
Get the authenticated user's npm profile — name, email, 2FA status, creation date. Useful for checking whether 2FA is enabled (which affects token requirements for publishing).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "npm_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||