Project Package Scripts
project.scriptsRetrieves the scripts section from a Node project's package.json, listing available commands for running and building the project.
Instructions
Return scripts from package.json for a Node project.
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": {
"projectPath": "<projectPath>"
},
"name": "project.scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packageJson | Yes | ||
| scripts | Yes |