Register an iOS application
create_ios_applicationRegister an iOS app's bundle ID and App ID Prefix with an instance, like adding an iOS app on the Clerk Dashboard's Native applications page. Returns the registered app, with its id, bundle_id, and app_id_prefix. Clerk needs the registration for native sign-in with Clerk's iOS SDK, and before patch_instance_config can set the app's minimum version (native_app_minimum_versions). Check list_native_applications first. The same bundle ID can be registered again under a different App ID Prefix, for example after the app moves to another Apple developer team, so confirm the prefix before adding a second one. Registering the same bundle ID and prefix again is rejected, and so is a bundle ID that differs from a registered one only in capitalization. To change or remove a registration, use the Clerk Dashboard. Then run enable_native_api if it isn't enabled.
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": {
"application_id": "<application_id>",
"instance": "<instance>",
"bundle_id": "<bundle_id>",
"app_id_prefix": "<app_id_prefix>"
},
"name": "create_ios_application"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | Yes | Instance to target: "development", "production", or a full instance ID (ins_…). | |
| bundle_id | Yes | The app's bundle ID, exactly as Xcode spells it, such as com.example.app. | |
| app_id_prefix | Yes | The app's ten-character Apple App ID Prefix, such as ABCDE12345. For most apps it's the Apple Developer Team ID; confirm it on the app's identifier in the Apple Developer portal. | |
| application_id | Yes | Clerk application ID (app_…). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| bundle_id | Yes | ||
| app_id_prefix | Yes |