List company subscriptions (compact)
list_company_subscriptionsRetrieve a company's active or terminated subscriptions by account ID or name, including quantities, billing terms, renewal dates, and unit or monthly totals for license checks.
Instructions
PREFERRED for "which subscriptions/licences does company X have?". Resolves the company by accountId or name, then GetSubscriptions. Compact summary (no huge Fields arrays) incl. quantity, billingType / term (e.g. P1Y), contractEndDate, autoRenew / renewalAction, fullRefundUntil, unit prices (purchase / sales / retail) and monthlySalesTotal / monthlyPurchaseTotal. Azure Reserved Instances / Savings Plans (addons of the Azure Plan subscription, field addonOf) are included. activeOnly=true (default) returns active services only; activeOnly=false also lists terminated ones. Not for: cross-customer Azure overview (use list_azure_subscriptions).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_company_subscriptions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | No | Company Account ID if already known | |
| activeOnly | No | Only return subscriptions with AccountState Active | |
| companyName | No | Company name to search when accountId is unknown | |
| parentAccountId | No | Parent (reseller) account that owns the end-customer companies. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (get_my_account). | |
| excludeUserLevel | No |