npm_whoami
Verify a saved npm access token and return the account it belongs to, confirming which user the token authenticates.
Instructions
Verify the saved npm access token and return the account it belongs to.
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_whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | npm access token (optional if saved or set as NPM_TOKEN). |