npm_install
Install npm packages from package.json or a specified list, with support for saving as devDependencies and confirming before execution.
Instructions
Install npm packages.
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_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to True to confirm when required by config. | |
| packages | No | Space-separated package names. Leave empty to install from package.json. | |
| save_dev | No | If True, install as devDependencies (--save-dev). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||