Get remote choice values for a field
get_remote_enumsResolve allowed values for empty choice fields and cascade dependent selections via contextValues, so you can choose valid product segments, regions, and SKUs.
Instructions
GetRemoteEnums — allowed values of a choice field whose list is empty in get_fields_for_service (e.g. ProductCatalogue → ProductSegment → Product → Region → SKU, Ordertype, ScopedSubscriptions for Azure Reserved Instances). Lists are cascading: pass the values chosen so far in contextValues. With Ordertype="Recommended" the SKU list contains Microsoft usage-based suggestions (suggestedQuantity, savingsAsReportedByAlso: ALSO value, flagged when implausible); Lookbackperioddays = "7 days" | "30 days" (default) | "60 days". SKU entries include salesPricePerUnitMonthly (Verkaufspreis); the purchase price (Einkaufspreis) is only filled when ALSO sends it (prices.purchase), otherwise null. Pass the company Account ID: for RI / Savings Plan products the Azure Plan subscription is used as parent automatically, and the Microsoft tenant subscription + tenant ID are added. Read-only.
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": {
"serviceName": "<serviceName>",
"parentAccountId": "<parentAccountId>",
"fieldName": "<fieldName>"
},
"name": "get_remote_enums"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | No | Existing subscription Account ID when resolving values for an update | |
| fieldName | Yes | Field to resolve, e.g. "ProductSegment" | |
| serviceName | Yes | Technical product name, exactly as returned by get_possible_services_for_parent (ProductName); "Product_" prefix optional | |
| contextValues | No | Values chosen for earlier fields, e.g. {"ProductCatalogue":"Azure Reservations","ProductSegment":"AzureReservationsVM"} | |
| timeoutSeconds | No | Some lists (e.g. SKU) take >30 s at ALSO | |
| parentAccountId | Yes | Company Account ID (or the Azure Plan subscription ID) the product will be ordered for | |
| dependencyAccountId | No | Dependency subscription (Microsoft tenant). Auto-detected if omitted. |