ls_get_subscription_item
Retrieve a subscription item by ID to view its quantity, pricing, and linked subscription. Include the price resource to get the effective unit price actually charged per unit.
Instructions
Get a specific subscription item by ID, including quantity, pricing, and associated subscription. Pass include=price for the price record behind it; embedded price records are annotated with effective_unit_price (cents actually charged per unit) -- read that, not the record's unit_price, which is vestigial on tiered pricing and per-package on package pricing.
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": {
"subscriptionItemId": "<subscriptionItemId>"
},
"name": "ls_get_subscription_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Comma-separated related resources to include (e.g. 'subscription,price,usage-records') | |
| subscriptionItemId | Yes | The subscription item ID |