build_player
Build a Unity player for the specified target platform as a background job. Provide project path, build target, and output path; optionally include scenes and development mode. Confirmation required.
Instructions
Baut einen Player (BuildPipeline.BuildPlayer via injiziertem C#) als Hintergrund-Job. build_target z.B.: win64, StandaloneWindows64, android, webgl, ios, linux64, osxuniversal. scenes optional (sonst aktivierte Build-Settings-Szenen). Ergebnis nach Jobende aus result_file lesen (get_build_result). confirm=true nötig.
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_path": "<project_path>",
"build_target": "<build_target>",
"output_path": "<output_path>"
},
"name": "build_player"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| build_target | Yes | ||
| output_path | Yes | ||
| scenes | No | ||
| development | No | ||
| version | No | ||
| confirm | No |