Run the project's npm build
run_buildExecute a build script for a specified project, supporting custom arguments and timeout.
Instructions
Runs an existing build script, normally npm run build.
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": "run_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional project-relative working directory. When omitted, the tool auto-detects the relevant app root. | |
| args | No | ||
| script | No | build | |
| project | Yes | Project key from list_projects. | |
| timeoutSeconds | No |