create_subscription
Creates a Google Play subscription product with listings and base plans for an app; new base plans start as drafts and require separate activation.
Instructions
Create a subscription. subscription is a Subscription resource: { listings: [{ languageCode, title, benefits?, description? }], basePlans: [{ basePlanId, autoRenewingBasePlanType: { billingPeriodDuration: 'P1M' }, regionalConfigs: [{ regionCode: 'US', price: { currencyCode: 'USD', units: '4', nanos: 990000000 } }] }] }. New base plans start as DRAFT — activate them with activate_base_plan. Takes effect immediately (no edit).
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": {
"packageName": "<packageName>",
"productId": "<productId>",
"subscription": "<subscription>"
},
"name": "create_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | Subscription product id | |
| packageName | Yes | Application id (package name), e.g. com.example.app | |
| subscription | Yes | Subscription resource | |
| regionsVersion | No | Regions version for regional prices (default 2022/02; override the default with PLAY_MCP_REGIONS_VERSION) |