Build Project
build_projectCompile the open Xojo project into a standalone app for a chosen target platform. Returns build success or compile errors with their locations; requires the Xojo IDE running with the project open.
Instructions
Builds the open Xojo project into a standalone app. Call it only when the user asks for a build, and offer run_project first: a run catches errors a build misses. Returns 'Build succeeded.' or the compile errors with their locations; runtime errors are not visible. A success has been reported with no app written, so confirm the built app exists on disk. Waits up to 30 minutes; a build that outlasts that keeps going, and xmcp refuses other requests until the IDE answers. Needs the Xojo IDE running with the project open.
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 |
|---|---|---|---|
| reveal | No | Show the built app in Finder afterwards. Default false. | |
| build_type | No | Build target: 0 = default (the default), 5 = macOS Cocoa, 9 = Windows 32-bit, 14 = Windows 64-bit, 16 = Linux 32-bit, 17 = Linux 64-bit, 18 = Linux ARM, 24 = macOS Universal. |