Create an in-app purchase
create_iapCreates a one-time in-app purchase in App Store Connect with a USA price; supports consumable and non-consumable products.
Instructions
Create (idempotently) a one-time in-app purchase (non-consumable or consumable) with USA price. Pro feature.
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": {
"app_id": "<app_id>",
"product_id": "<product_id>",
"reference_name": "<reference_name>",
"display_name": "<display_name>",
"description": "<description>",
"type": "<type>",
"price_usd": "<price_usd>"
},
"name": "create_iap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Purchase type | |
| app_id | Yes | App Store Connect app ID | |
| locale | No | Localization locale (default en-US) | |
| confirm | No | Required. This creates a real product on your App Store Connect account. | |
| price_usd | Yes | USA price in dollars, e.g. 59.99 | |
| product_id | Yes | IAP product ID, e.g. com.app.lifetime | |
| description | Yes | Customer-facing description (max 45 chars) | |
| review_note | No | Notes for App Review: how to reach the paywall, test instructions | |
| display_name | Yes | Customer-facing name (max 30 chars) | |
| reference_name | Yes | Internal reference name | |
| family_sharable | No | Allow Family Sharing of this purchase (default false). |