List project scripts
project_scriptsLists package.json scripts and reports whether sandboxed execution is supported, indicating if scripts can run in this environment.
Instructions
List package.json scripts and report whether sandboxed execution is supported for this project. executionSupported answers 'can this environment run scripts at all'; executionEnabled folds in the kill switch.
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": {
"project": "<project>"
},
"name": "project_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| project | Yes | ||
| scripts | Yes | ||
| hashMatches | Yes | ||
| scriptHashes | Yes | ||
| deniedScripts | Yes | ||
| packageSha256 | Yes | ||
| allowedScripts | No | ||
| packageManager | Yes | ||
| executionEnabled | Yes | ||
| killSwitchActive | Yes | ||
| executionSupported | Yes | ||
| sensitiveFilesInWorktree | Yes |