npm_publish
Publish a package from a specified directory to the NPM registry with configurable dist-tags, access levels, and dry-run validation before release.
Instructions
Publish package to NPM registry
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_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | NPM dist-tag (e.g., latest, beta, next) | latest |
| access | No | Package access level | public |
| dryRun | No | Perform a dry run without actually publishing | |
| directory | No | Directory to publish from |