nodejs_scripts
Run or list npm scripts from package.json with caching to streamline script management.
Instructions
Run or list npm scripts from package.json with caching
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": "nodejs_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional arguments | |
| list | No | List available scripts | |
| script | No | Script name to run | |
| timeout | No | Command timeout in milliseconds | |
| directory | No | Working directory |