build_switch_platform
Switch Unity's active build platform to target Windows, Mac, Linux, Android, iOS, or WebGL. This triggers asset reimports for platform-specific builds.
Instructions
Switch the active build platform. This may take time as Unity reimports assets.
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": {
"platform": "<platform>"
},
"name": "build_switch_platform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Target platform |