apple_create_subscription
Create a subscription product inside an App Store Connect group, then set its price and availability.
Instructions
Create a subscription product inside a group. External action.
product_id is IMMUTABLE and cannot be reused later — check it against what
the app sends to the store before calling. name is the internal reference
name; display_name and description are what customers read on the App Store.
subscription_period: ONE_WEEK, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS or ONE_YEAR. The App Store has no installment plans.
The product starts in MISSING_METADATA: it still needs a price (apple_set_subscription_price) and availability (apple_set_subscription_availability).
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": {
"group_id": "<group_id>",
"product_id": "<product_id>",
"name": "<name>",
"display_name": "<display_name>",
"description": "<description>"
},
"name": "apple_create_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| locale | No | pt-BR | |
| group_id | Yes | ||
| product_id | Yes | ||
| description | Yes | ||
| display_name | Yes | ||
| subscription_period | No | ONE_MONTH |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||