install_package
Install Node.js packages in your workspace directory, automatically committing changes to Git with a specified message.
Instructions
Install a single package in the workspace
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"currentWorkingDirectory": "<currentWorkingDirectory>",
"name": "<name>",
"commitMessage": "<commitMessage>"
},
"name": "install_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currentWorkingDirectory | Yes | ||
| name | Yes | Package name or specifier (e.g. lodash or lodash@4.17.21) | |
| commitMessage | Yes | Commit message for git |