get_subscription
Retrieve one subscription product by product ID, including listings, tax settings, and base plan pricing details, to inspect current data before an update that overwrites top-level fields.
Instructions
Get one subscription product by its productId, with listings, taxAndComplianceSettings and every base plan (basePlanId, state, billing period, regionalConfigs with prices, otherRegionsConfig, offerTags). Read this before update_subscription: the update overwrites whole top-level fields, so start from the current value.
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": {
"product_id": "<product_id>"
},
"name": "get_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | Subscription product ID, e.g. 'premium'. Get IDs from list_subscriptions. | |
| package_name | No | App package name, e.g. 'com.acme.app' (defaults to GOOGLE_PLAY_PACKAGE_NAME) |