Add a platform
add_platformAdds iOS, Android or web to an app and creates that platform's permanent public key. Owners only.
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": "add_platform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | No | The app's id (from list_apps). Optional when there is only one. | |
| platform | Yes | The platform to add. | |
| bundle_id | No | Bundle ID, package name or site domain. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app. | |
| platforms | Yes | Its platforms now. | |
| public_key | Yes | A platform's public key (pk_), the one the app's code uses. | |
| setup_guide | Yes | The setup guide's URL. |