run_build
Compile your project in the workspace using its detected language, with optional path narrowing, and receive structured error reports for quick fixes.
Instructions
Compile the project at workspace_dir using the detected workspace language. Language-specific dispatch (no arbitrary shell execution): go build ./..., cargo build, tsc --noEmit, mypy . (Python typecheck proxy). Optional path param narrows scope. Returns: { success: bool, errors: [{file, line, column, message}], raw: string }. Does not require start_lsp.
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": {
"workspace_dir": "<workspace_dir>"
},
"name": "run_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| language | No | ||
| workspace_dir | Yes |