get_plans_by_tdu
ChatGPTGet electricity retail plans available in a given TDU service area, cheapest first (sorted by estimated price at 1000 kWh usage). Rates are specific to a service area, so a location is required. Use this tool only when the customer has actually named their utility, or after get_tdu_by_zipcode resolved one from their zipcode. If you do not know where the customer is, ask for their zipcode -- do not guess, and do not call this tool once per service area to survey the state. A statewide list of "best rates" is not a useful answer: the plans a customer can actually buy depend entirely on their address. tdu_name must be a TDU name as returned by get_tdu_by_zipcode. Passing an unrecognized name is an error that lists the valid names, not an empty result. Note that AEP covers two separate service areas, so "AEP" on its own is ambiguous -- ask the customer for their zipcode rather than picking one. product_type controls which kind of plan to return: - "fixed" (default): True fixed-rate plans, flat rate at all hours. Leave product_type at this default unless the customer explicitly asks about another kind. Do not volunteer time-of-use plans. - "free_night": Only when the customer explicitly asks about free-night, overnight, or night-time plans. - "free_weekend": Only when the customer explicitly asks about free-weekend or weekend plans. - "all": Only when the customer explicitly asks to see every type of plan, or asks what their options are. Returns a mix grouped by type. limit caps the total number of plans returned (default 20). With product_type="all" the limit is shared across the types so that each one is represented, rather than the cheapest type filling every slot. Presentation: render the plans as a Markdown table with the columns Plan, Provider, Rate @ 1000 kWh, Term, and Enroll, showing each plan's enroll_url as a link labelled "Sign up". Never drop the enroll link -- it is how the customer actually signs up. Plans already arrive sorted cheapest-first by kwh_1000, so present them in the order given rather than reordering them. Credit ClearEnergyFacts as the source of the rates.






