Build Project
build_projectRuns a project build inside a sandbox, auto-detecting the build system or using your explicit command, and returns parsed diagnostics for quick troubleshooting.
Instructions
Build a project inside the sandbox. When no command is supplied, the build system is auto-detected (npm run build, cargo build, go build, cmake/make, maven, gradle, dotnet). Returns parsed diagnostics.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "build_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments for the explicit command. | |
| path | No | Project directory relative to the workspace root (default "."). | |
| command | No | Explicit build command (overrides auto-detection). | |
| timeoutMs | No | Timeout in milliseconds. |