npm_validate
Validate package.json and check prerequisites before NPM publishing to catch configuration errors early. Specify a directory or use the current one.
Instructions
Validate package.json and check prerequisites for NPM 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_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Directory containing package.json (defaults to current directory) |