run_script
Execute Node.js development scripts like test or lint in your workspace, with Git commit tracking for version control.
Instructions
Run a script 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>",
"script": "<script>",
"commitMessage": "<commitMessage>"
},
"name": "run_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currentWorkingDirectory | Yes | ||
| script | Yes | Script name to run (e.g. test, lint) | |
| commitMessage | Yes | Commit message for git |