{"openapi":"3.1.0","info":{"title":"ShouldWe","version":"0.5.0","description":"Should we get a battery? Works out, from a power bill, whether a battery pays for a home or business anywhere in Australia: which size and plan, the cost after rebates, the saving a year line by line and the payback, as ranges, with every figure's source. Start with `battery`, which asks the questions one at a time and then calculates. Should we switch our vehicles to electric? `electric_fleet` asks a business the questions of shouldwe.com.au/electric-fleet one at a time, then gives running costs, the chargers, the peak they add and the payback. Should we get an electric car? `electric_car` asks the questions of shouldwe.com.au/electric-car one at a time, anywhere in Australia, then gives fuel against charging, keeping the car against switching and each way to pay, with every figure's source. The home loan question, for anywhere in Australia, is `finance`: should we refinance, or what can we borrow? It asks the page's questions one at a time, then compares the loan with every bank's published rate, or works out the budget to buy or move. Should we change car insurance? `car_insurance` takes a car insurance renewal notice's figures, typed one question at a time, and returns the rise from last year, the words to say when ringing the insurer first, the scenarios to price and the answers to give at every insurer's quote page. Should we change home insurance? `home_insurance` takes a home and contents renewal notice's figures the same way, in the home insurance page's order, and returns the renewal's own answer, the sum insured check, the scenarios, the quote sheet's answers and every insurer's quote page. A result carries its working: the return figure and where the money comes from, each line with the published prices it rests on; `detail: \"working\"` on either calculating tool adds the proof (the typical day's plan, the month-by-month bills, why the size, the method) for checking a figure or when someone asks how it was reached. Quote figures only from the result, as it gives them (a range stays a range). Keep facts (each has its source) apart from estimates and assumptions (each says how or why). It's information, not financial advice. Never say you verified the answer.","termsOfService":"https://shouldwe.com.au/privacy","contact":{"name":"Should We","url":"https://shouldwe.com.au"}},"servers":[{"url":"https://shouldwe.com.au"}],"paths":{"/api/v1/battery":{"post":{"operationId":"battery","summary":"Should we get a battery?","description":"Start here when someone writes \"@ShouldWe battery\", or asks whether a home or business should get a battery, what size, what it would cost after rebates, what it would save or when it would pay back. Call it with nothing: it returns the first question to put to the person, with numbered choices where the answer is one of a few. Put that one question to them, then call again with everything so far plus their answer; it asks the next. When it has enough it runs the calculation and returns the answer with a link to the full report. Required questions come first (the bill, the postcode, confirming the figures, how a home is heated and cooled, the people, hot water and pool, solar), then optional ones the person can skip. Before the solar questions it asks the address, to look at the roof in Google's aerial imagery (the panels on it already, how many more fit, which way they face, how much sun); the address is used once and not kept, and the person can skip it. A home that's up is asked all of these, and about its electric car, before any yes or no: none is left to the report it buys. With the answer it offers what can be changed afterwards: the battery size, and anything that took a default. The bill's plan says whether it's a home or a business; that's asked only when nothing says. For \"Should we get solar?\", or how much solar to get, send `question: \"solar\"`: the same questions, and the answer is the solar question's, leading with the size in kW, an estimate, then whether it's worth it. With no bill handy it asks the roof, then about solar panels, before the answer too. For a home, the yes or no and the line under it, with the size in kW on the solar question, are free; while the home report is paid, that's all the reply gives, with the link where the full report is bought once on the site. The business battery report is paid and worked out on the site: as soon as the answers say business, the tool stops with the way to sign in and subscribe, and calculates nothing.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postcode":{"description":"The postcode where the power is used. Leave out only on the quick path (no bill in hand, roughly what they pay) when the person hasn't given it: Western Australia, Synergy's prices and Perth's weather then stand, and the result says so.","type":"string","pattern":"^\\d{4}$"},"network":{"description":"Only for a postcode on two networks outside Western Australia: the price area's id, as the battery tool's network question offers it (qld-ergon, say). Leave out otherwise.","type":"string"},"retailer":{"description":"WA only, when the bill or the person says and the postcode can't. Leave out elsewhere: the price area's plans name their own retailer.","type":"string","enum":["Synergy","Horizon Power"]},"retailerBrand":{"description":"Outside Western Australia, a home or business that's up: who sends the bill, as the battery tool's retailer question offers it (origin, agl, energyaustralia, ...), \"other\" for a retailer not listed, or \"notSure\". Leave out in WA.","type":"string"},"currentPlan":{"description":"Outside Western Australia, a home or business: the plan it's on, as the battery tool's plan question offers it (nsw-ausgrid:ORI1206293MRE1@EME), \"typed\" with its rates in planRates (a plan that isn't listed, or another retailer's), or \"notSure\". A listed plan is priced from the AER's plan data; either is compared as the plan they're on now. Leave out when retailerBrand is notSure.","type":"string","pattern":"^([a-z]+-[a-z-]+:[A-Za-z0-9]+@[A-Z]+|typed|notSure)$"},"planRates":{"description":"With currentPlan \"typed\": the plan's rates typed from the bill, the same hours all year, without any discount or credit.","type":"object","properties":{"supplyCentsPerDay":{"type":"number","exclusiveMinimum":0,"description":"The daily supply charge, cents a day, as the bill prints it."},"centsPerKwh":{"type":"number","exclusiveMinimum":0,"description":"Cents a kWh: the one price all day; with a peak, the price at every other hour (the shoulder, when there's an off peak too)."},"peak":{"description":"The peak price and its hours (from after to wraps midnight). Leave out for one price all day.","type":"object","properties":{"centsPerKwh":{"type":"number","exclusiveMinimum":0},"from":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"to":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"weekdaysOnly":{"description":"The peak applies on weekdays only.","type":"boolean"}},"required":["centsPerKwh","from","to"]},"offPeak":{"description":"Only with a peak: the cheap period (overnight, say) and its hours, every day. centsPerKwh is then the shoulder.","type":"object","properties":{"centsPerKwh":{"type":"number","exclusiveMinimum":0},"from":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"to":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."}},"required":["centsPerKwh","from","to"]},"feedInCents":{"type":"number","minimum":0,"description":"Cents a kWh paid for solar sent back; 0 for none."},"gstIncluded":{"type":"boolean","description":"Whether the bill's prices include GST. Ask if the bill doesn't say; false adds 10%."}},"required":["supplyCentsPerDay","centsPerKwh","feedInCents","gstIncluded"]},"horizonTown":{"description":"A Horizon Power home's town.","type":"string"},"path":{"description":"Worked out from the bill's plan when there is one.","type":"string","enum":["home","business"]},"build":{"description":"\"new\" for a building being designed or built, with no power bill yet: a business's year then comes from `business.floorArea`, and the solar panels WA's building code asks of a new commercial building from 1 May 2027 (National Construction Code 2025, clause J9D5) are added; a home's is a typical home's. Leave out, or \"existing\", for a building that's already up. A bill means the building is up.","type":"string","enum":["existing","new"]},"bill":{"description":"The latest bill: its figures (best), or its amount and dates. Leave out only when there's no bill; the answer is then a typical home's, with the widest range.","oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"figures"},"plan":{"type":"string","enum":["A1","MIDDAY_SAVER","EV_ADD_ON","A2","L1","R1","CONTRACT"],"description":"The WA plan on the bill: Synergy's Home Plan (A1), Midday Saver, EV Add On, Business Plan (L1), Business Time of Use (R1), or Horizon Power's A2; outside WA use kind \"amount\" instead. CONTRACT for a WA business site at 50,000 kWh a year or more, which buys its power on a contract: then fill contractRates and give the kWh in the contract's own periods (anytime, or peak and offPeak)."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The first day of the bill's period."},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The last day of the bill's period."},"kwh":{"minItems":1,"type":"array","items":{"type":"object","properties":{"band":{"type":"string","enum":["anytime","peak","offPeak","superOffPeak","overnight","shoulder","shoulder2","solarSoak","free","day","other","tariff1","tariff2"]},"kwh":{"type":"number","minimum":0}},"required":["band","kwh"]},"description":"The kWh bought in each price period, from the bill's charges table: anytime, or peak, offPeak, superOffPeak, overnight."},"solarExported":{"description":"The solar sent back, kWh, by buyback period if the bill splits it, or `all`. Leave out when the bill shows none.","type":"object","properties":{"peak":{"type":"number","minimum":0},"offPeak":{"type":"number","minimum":0},"all":{"type":"number","minimum":0}}},"estimated":{"description":"The bill says its reading was estimated.","type":"boolean"}},"required":["kind","plan","from","to","kwh"]},{"type":"object","properties":{"kind":{"type":"string","const":"amount"},"amount":{"type":"number","exclusiveMinimum":0,"description":"The bill's charges in dollars, GST included (Synergy's \"This bill\"), without any solar credit, which bills list separately."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"plan":{"description":"The plan's id from get_figures (the plans the amount can be read at: in WA A1, MIDDAY_SAVER, EV_ADD_ON, A2 or L1; elsewhere the area's, as tas-tasnetworks:timeOfUse, for a business: a home outside WA leaves it out and gives currentPlan instead), notSure, or leave out when not known. Not needed for a WA business whose amount puts it at 50,000 kWh a year or more: that site buys its power on a contract, so the server treats it as a business and asks for contractRates.","anyOf":[{"type":"string","enum":["A1","MIDDAY_SAVER","EV_ADD_ON","A2","L1","notSure"]},{"type":"string","pattern":"^[a-z]+-[a-z-]+:[A-Za-z0-9]+$"}]},"hasSolar":{"type":"boolean"}},"required":["kind","amount","from","to"]}]},"home":{"description":"About the home. A home that's up is asked, after its bill's figures or its amount and before any answer, how it's heated and cooled, how many people live there, its hot water, a pool and electric cars (with a car: which car, how far it goes a week and what it plugs into). A rough figure asks the same, apart from the weekday question. A new home is asked them first, one at a time (it has no bill). Every field is optional; what's left out takes the default and is listed as a default.","type":"object","properties":{"people":{"description":"5 means five or more.","type":"integer","minimum":1,"maximum":5},"heating":{"type":"string","enum":["reverseCycle","gas","electric","wood","none","notSure"]},"cooling":{"type":"string","enum":["refrigerated","evaporative","fans","none","notSure"]},"homeInDay":{"description":"On weekdays, is someone usually home during the day? Asked after a bill that gives one figure (Home Plan A1 or Horizon Power's A2): \"yes\" moves a fifth of each weekday's 3pm-to-9pm use to 9am to 3pm (our assumption; no data backs its size). Not sure: add \"home.homeInDay\" to `skip`, and nothing moves.","type":"string","enum":["yes","no"]},"hotWater":{"type":"string","enum":["gas","electric","heatPump","solar","notSure"]},"pool":{"description":"The pool pump's timing, or `heatPump` for a pool with a heat pump heater.","type":"string","enum":["none","day","night","heatPump","notSure"]},"electricCars":{"description":"2 means two or more.","type":"integer","minimum":0,"maximum":2},"carModel":{"description":"Which car (or the one driven most), from the choices the battery tool gives; leave out for a car not on the list (0.23 kWh a kilometre from the home's power is assumed).","type":"string","enum":["byd-atto-1","byd-atto-2","byd-atto-3","byd-dolphin","byd-seal","byd-sealion-7","geely-ex2","geely-ex5","hyundai-kona","jaecoo-j5","kia-ev3","kia-ev5","mg4","mg4-urban","tesla-model-3","tesla-model-y","toyota-bz4x","zeekr-7x"]},"kmPerWeek":{"description":"How far each car goes a week, km. Left out: about 180 km a week for a car on the list, 6 kWh a day a car otherwise.","type":"number","minimum":0,"maximum":5000},"carCharging":{"description":"What charges the cars: battery (the battery's spare once the 3pm-to-9pm peak is over, then the cheapest overnight hours for the rest, never peak power from the grid), overnight (cheap overnight power from the grid, on a timer), daytime (the solar, in the day at home), away (mostly chargers away from home), weekend (the week's charge on Saturday and Sunday in the day, spare solar first, for a car away on weekdays; it must fit in the car), cheapest (not sure: picked by a rule, the weekend when the week fits in the car, else the battery's spare then overnight). arrival (whenever it's plugged in) is still read but no longer asked.","type":"string","enum":["battery","overnight","daytime","away","arrival","weekend","cheapest"]},"carCharger":{"description":"What the cars plug into at home, which sets how fast they draw power: 10A (a standard plug, about 2.4 kW), 15A (a 15 amp plug, about 3.6 kW) or wall (a wall charger, about 7 kW). Leave out when not known.","type":"string","enum":["10A","15A","wall"]},"carNewSinceUsageFile":{"description":"Only for a usage file (the half-hourly readings), which this tool doesn't take: the report at reportUrl takes one. True when the person says the car is newer than the readings they'll add there, so the report adds it on top of them (\"Not in it yet (a new car)\" on its car card); left out, the readings are taken to hold the car (\"Already in my usage file\"). Not asked: send it only when the person says so.","type":"boolean"},"floorArea":{"description":"The home's floor area, square metres: the living area, not the garage or alfresco: it scales the heating and cooling from a standard 250 m² living area's (our assumption).","type":"number","minimum":40,"maximum":2000}}},"business":{"type":"object","properties":{"type":{"type":"string","description":"What the business does, as one of the site's business types (an error lists close ones), or the person's own words with `pattern` set."},"pattern":{"description":"When the type isn't on the list: the pattern of hours closest to the business, which is what a listed type would choose. The type then stays as the person's own words.","type":"string","enum":["weekdays, daytime","daytime, most days","lunch to late","mornings and evenings","around the clock","weekday day shift","a few heavy hours a day","farm, by season"]},"yearlyKwh":{"description":"With no bill: the site's yearly use.","type":"number","exclusiveMinimum":0},"floorArea":{"description":"The building's floor area, square metres, inside and across every floor. Needed for a new business build: it sets the estimated yearly use and the panels the building code asks for. Optional for a building that's up: an office or shop's equipment question then suggests what that floor runs, and the answer checks the year's use against the WA figure for the kind of building.","type":"number","minimum":20,"maximum":50000},"buildingKind":{"description":"What sort of building it is, mostly: office space, a shop or showroom (retail), a cafe, restaurant or bar (food), a warehouse or storage, a factory or workshop, or something else (other). It sets what the floor area suggests the building runs; never guess it from the kind of business.","type":"string","enum":["office","retail","food","warehouse","factory","other"]},"carParkArea":{"description":"A basement car park's floor, square metres, when it has one (0 for none): its lighting is suggested with the equipment, at the building code's limit for a car park.","type":"number","minimum":0,"maximum":50000},"conditionedArea":{"description":"A new build's heated or cooled floor, square metres (offices, showrooms, amenities), when they know it: the building code's panels are worked out on it. Left out: a tenth of a warehouse or car park's floor, the whole floor for other kinds (assumptions).","type":"number","minimum":0,"maximum":50000},"fleet":{"description":"Electric vehicles that charge at the site, already or planned, asked just before the equipment: the fleet, or \"none\".","anyOf":[{"type":"string","const":"none"},{"type":"object","properties":{"total":{"description":"How many vehicles the fleet has, all kinds together.","type":"integer","minimum":1,"maximum":10000},"vehicles":{"description":"The vehicles, one entry a kind (vehicles alike in what they are now and what would replace them). The tool asks each entry's fields in turn, and asks about another kind while the counts fall short of `total`.","maxItems":20,"type":"array","items":{"type":"object","properties":{"count":{"description":"How many of the fleet are this kind.","type":"integer","minimum":1,"maximum":500},"now":{"description":"What each is now: an id from the question's `options`. It sets the fuel and the fuel use.","type":"string","maxLength":120},"lPer100":{"description":"Their own fuel use now, litres per 100 km, if they know it (fuel cards, the trip computer). It replaces the listed or average figure.","type":"number","exclusiveMinimum":0,"maximum":60},"fuel":{"description":"The fuel it takes, where `now` doesn't say.","type":"string","enum":["unleaded","premium95","premium98","diesel"]},"km":{"description":"How far each drives: kilometres a day it works, or a year (kmPer).","type":"number","exclusiveMinimum":0,"maximum":500000},"kmPer":{"description":"Whether km is a day's or a year's. Left out: a day's.","type":"string","enum":["day","year"]},"kmEach":{"description":"Each vehicle's own distance where they differ: one figure a vehicle (`count` of them), in kmPer's terms, in place of km.","maxItems":500,"type":"array","items":{"type":"number","exclusiveMinimum":0,"maximum":500000}},"otherKind":{"description":"The petrol or diesel vehicle they'd buy instead of going electric, where it isn't the one like the electric vehicle: a key from the answer's `equivalents`.","type":"string","maxLength":40},"servicingNow":{"type":"number","minimum":0,"description":"Servicing a vehicle a year now, dollars."},"servicingEv":{"type":"number","minimum":0,"description":"Servicing an electric one a year, dollars."},"ev":{"description":"The electric vehicle that would replace it: an id from the question's `options`.","type":"string","maxLength":120},"evPrice":{"type":"number","minimum":0,"description":"What the electric one would cost, each, dollars."},"otherPrice":{"type":"number","minimum":0,"description":"What the petrol or diesel one bought instead would cost, each, dollars."}}}},"vehiclesDone":{"description":"Older chats only: true once there are no more kinds. Set `total` instead.","type":"boolean"},"days":{"description":"The days the vehicles work.","type":"string","enum":["weekdays","everyDay"]},"parked":{"description":"Older links only: when they're parked. Ask `charging` instead.","type":"string","enum":["overnight","day"]},"charging":{"description":"How they charge: in hours the chargers are set to (scheduled), or as soon as each is plugged in.","type":"string","enum":["scheduled","plugIn"]},"chargeHours":{"description":"With charging scheduled: the hours they charge in.","type":"object","properties":{"from":{"type":"integer","minimum":0,"maximum":23},"to":{"type":"integer","minimum":1,"maximum":24}},"required":["from","to"]},"openHours":{"description":"With charging plugIn: the business's operating hours; the vehicles charge from closing to opening.","type":"object","properties":{"from":{"type":"integer","minimum":0,"maximum":23},"to":{"type":"integer","minimum":1,"maximum":24}},"required":["from","to"]},"chargers":{"description":"One entry a size of charger. To add a size, append {}.","maxItems":6,"type":"array","items":{"type":"object","properties":{"kw":{"description":"The charger's size, kW. Up to 22 is AC, above is DC.","type":"number","exclusiveMinimum":0,"maximum":400},"count":{"description":"How many of this size.","type":"integer","minimum":1,"maximum":200},"costEach":{"type":"number","minimum":0,"description":"What each costs bought and installed, dollars."}}}},"chargersDone":{"description":"True once there are no more sizes of charger to add.","type":"boolean"},"install":{"description":"Already charging at the site (on the bill; the default), or planned (not on the bill: added on top of the year).","type":"string","enum":["existing","planned"]}}}]},"equipment":{"description":"What the site runs, which moves the typical site's shape to its own (when the power is used). With lighting and airCon in it, the year is built from the list on its own: a new build's yearly use is the list's, checked against the WA figure for its kind; a bill's total stays. An empty list for none of these.","type":"array","items":{"type":"object","properties":{"item":{"type":"string","enum":["lighting","carParkLighting","desks","airCon","printer","kitchenette","hotWater","lift","displayFridge","coolroom","kitchen","evCharger","compressor","welder","serverRoom","dryer","custom"],"description":"fleet: electric vehicles charging at the site, with `fleet` (count 1); The building's own loads: lighting (with `m2`, the floor it lights); carParkLighting: a basement car park's lights (with `m2`, its floor); desks: desks with a computer and screens; airCon: air conditioning, heating and cooling (with `m2`, the floor it serves, or `coolingKw`, the system's size); printer: printers and copiers; kitchenette: a kitchenette or tea room (fridge, boiling water, microwave, dishwasher); hotWater: an electric storage water heater; lift: a lift; displayFridge: a refrigerated display cabinet. The big equipment: coolroom: a walk-in coolroom or freezer room; kitchen: an electric commercial kitchen (ovens, fryers, a dishwasher); evCharger: an electric vehicle charger; compressor: a workshop air compressor; welder: welders or heavy machines; serverRoom: a server room or IT racks; dryer: a commercial clothes dryer; custom: anything else, with `name`, `kw`, `runs` and, when it runs for fewer hours a day than `runs` covers, `hours`."},"count":{"type":"integer","minimum":1,"maximum":50,"description":"How many. For lighting and airCon, 1: their size is `m2`."},"m2":{"description":"lighting, carParkLighting and airCon only, and needed for them (airCon: or `coolingKw`): the floor it lights, or heats and cools, square metres.","type":"number","exclusiveMinimum":0,"maximum":50000},"coolingKw":{"description":"airCon only: the system's cooling capacity, kW, when they know it (its plate or the mechanical drawings); it then stands in place of the floor's sizing figure.","type":"number","exclusiveMinimum":0,"maximum":5000},"when":{"description":"Chargers only: in the day while staff are at work (the default), or overnight for a fleet.","type":"string","enum":["daytime","overnight"]},"name":{"description":"custom only: what it is, in the person's words (a kiln, a lift, a pump).","type":"string","maxLength":60},"kw":{"description":"custom only, and needed for it: its power when running, kW each (on its plate or in its manual).","type":"number","exclusiveMinimum":0,"maximum":2000},"runs":{"description":"custom and the building's own loads: when it runs: day and night every day, weekdays 8am to 5pm, every day 8am to 6pm, evenings 5pm to 10pm, or overnight 10pm to 6am. Left out: weekdays for custom; for the building's loads, the hours the kind of business keeps (an office's weekdays, a shop's every day).","type":"string","enum":["allDay","weekdays","everyDay","evenings","overnight"]},"hours":{"description":"custom only: how many hours a day it runs, when that's fewer than the hours `runs` covers (a roaster that roasts 4 hours of a weekday). It then runs that long in the middle of those hours (an assumption, said in the answer). Left out: the whole of them. At most the hours `runs` covers: 24, 9, 10, 5 or 8.","type":"number","minimum":0.5,"maximum":24}},"required":["item","count"]}},"backup":{"description":"Backup in outages: whether an outage costs the business money, roughly what an hour costs, and how long it needs to run through. The report's third option is then the battery sized to cover those hours, what being covered costs a year, and what blackouts cost against it.","type":"object","properties":{"needed":{"description":"Would an outage cost the business money (stock that spoils, trade that stops)? Left out: what the kind of business suggests.","type":"boolean"},"costPerHour":{"description":"Roughly what an hour without power costs the business, dollars, when they can say.","type":"number","minimum":0},"hours":{"description":"How long the business needs to run through a blackout, hours. Left out: a typical outage on its kind of line (the regulator's 2024/25 figure, every outage counted: about 2.5 hours in Perth); 12 is the reliability code's long-outage line.","type":"number","minimum":0.5,"maximum":24},"stockDollars":{"description":"The business's fixed costs of an outage, dollars: what it costs at once once an outage runs past the hours to run through (stock thrown out and the like). The report sets them against the chance of a long outage and prices the battery that would keep the fridges running through 12 hours.","type":"number","exclusiveMinimum":0},"stockHoldsHours":{"description":"Leave out: the fixed costs come once an outage runs past the hours to run through. Set only when they come after a different number of hours.","type":"number","minimum":0.5,"maximum":24},"runs":{"description":"What has to keep running through a blackout: the essentials (left out: the site's quiet-hours draw, its fridges, freezers, servers and what's always on) or everything (its busiest hours, a much bigger battery). Or give `kw`.","type":"string","enum":["essentials","everything"]},"kw":{"description":"What has to keep running through a blackout, kW, when they know it (from their electrician or the equipment): the battery is sized to carry it for the hours.","type":"number","exclusiveMinimum":0,"maximum":5000}}}},"required":["type"]},"contractRates":{"type":"object","properties":{"supplyCentsPerDay":{"type":"number","exclusiveMinimum":0,"description":"The daily supply charge, cents a day, as the bill prints it."},"centsPerKwh":{"type":"number","exclusiveMinimum":0,"description":"Cents a kWh: the one price all day, or the price outside the peak hours when the bill has two."},"peak":{"description":"The dearer period, when the bill has two prices: its cents a kWh and hours. Leave out for one price all day.","type":"object","properties":{"centsPerKwh":{"type":"number","exclusiveMinimum":0},"from":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"to":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"weekdaysOnly":{"description":"The peak applies on weekdays only; weekends are at the other price.","type":"boolean"}},"required":["centsPerKwh","from","to"]},"gstIncluded":{"description":"True when the prices already include GST. Leave out or false when the bill prints prices before GST and adds it at the bottom, as Synergy's bills do: 10% is then added.","type":"boolean"},"demandChargePassedThrough":{"description":"Whether the bill passes Western Power's demand charge through (a demand or capacity line in kVA, on the site's highest half hour). Leave out for yes.","type":"boolean"},"from":{"description":"\"rollover\" when these are Synergy's standard rates for a site over the line (Business Time of Use R3, what it pays until it signs a contract), not the bill's: they're then said as an assumption. Leave out for rates from the bill.","type":"string","enum":["bill","rollover"]}},"required":["supplyCentsPerDay","centsPerKwh"],"description":"A WA business site at 50,000 kWh a year or more buys its power on a contract, not Synergy's regulated plans: its rates, typed from the bill. With them the site is priced on its contract, and a battery's cut to the demand charge counts; without them such a site can't be priced. With a bill, give its kWh on plan CONTRACT in the contract's periods."},"promoCode":{"description":"A promo code the person gives for a home's full report or the business battery report, as they typed it: a right one gives a home's whole answer here instead of the free yes or no, and works a business's answer out here instead of stopping. Only when they give one; never guess or invent one.","type":"string","maxLength":100},"question":{"description":"\"solar\" when the person asked whether to get solar, or how much (Should we get solar?): the same questions, and the answer is then the solar question's, leading with the size in kW. Left out: the battery question. Both ask the address, to look at the roof.","type":"string","enum":["battery","solar"]},"roof":{"description":"The roof's facts as the battery tool returned them in `soFar.roof` after `roofAddress` (Google's aerial imagery; no address in them): send it back as given. New panels are then held to what the roof holds and made at what its faces make, on either question.","type":"object","properties":{"source":{"type":"string","const":"Google Solar API"},"imageryDate":{"type":"string"},"imageryQuality":{"type":"string","enum":["HIGH","MEDIUM","BASE"]},"panelWatts":{"type":"number"},"maxPanels":{"type":"number"},"faces":{"type":"array","items":{"type":"object","properties":{"pitch":{"type":"number"},"azimuth":{"type":"number"},"facing":{"type":"string"},"areaM2":{"type":"number"},"sunshineHours":{"type":"number"},"panels":{"type":"number"},"yearlyKwhDc":{"type":"number"},"offered":{"type":"boolean"}},"required":["pitch","azimuth","facing","areaM2","sunshineHours","panels","yearlyKwhDc","offered"]}},"detected":{"description":"The panels Google's detection saw on the roof already: whether any were seen, the date of its imagery, and each outline's area in square metres from above. A fact about the imagery, never the person's answer: `solar` stays what they said.","type":"object","properties":{"status":{"type":"string","enum":["seen","none","unavailable"]},"captureDate":{"type":"string"},"areasM2":{"type":"array","items":{"type":"number"}}},"required":["status","captureDate","areasM2"]}},"required":["source","imageryDate","imageryQuality","panelWatts","maxPanels","faces"]},"solar":{"type":"object","properties":{"hasPanels":{"type":"string","enum":["yes","no","notSure"]},"kw":{"description":"The size of the panels they have, kW.","type":"number","exclusiveMinimum":0,"maximum":100},"olderScheme":{"description":"True when the panels were connected before August 2020, so their exports are paid the older Renewable Energy Buyback Scheme's 7.1 cents all day; only matters when no bill names the scheme.","type":"boolean"},"addNew":{"description":"A new solar system, priced as a scenario when left out: at a site with no panels, sized to the year's use; at one whose panels make less than it uses in a year, a whole new system of the right size in place of them (installers rarely add panels to a system), the battery on its own priced beside it. A size in kW to price a system of that size instead (the whole system's size, not what it adds), or \"no\" when panels can't go in (a rented home, a shaded roof).","anyOf":[{"type":"string","const":"no"},{"type":"string","const":"sizeForMe"},{"type":"number","minimum":1,"maximum":100}]}}},"installMonth":{"type":"string","pattern":"^\\d{4}-\\d{2}$","description":"The month they're looking to install, YYYY-MM, from now to December 2028. The federal rebate steps down every six months. Leave out to assume installing now."},"batteryKwh":{"description":"A battery size the person wants to see instead of the one that did best, kWh: one of the sizes the result lists in `sizes`. The answer is then that size's figures, on the plan and with the solar the goal's own pick has, from the runs already done (nothing is run again), and `chosenSize` says which size did best. Leave out for the size that did best. The result id and report link are the same either way; the report's size list shows the same figures.","type":"number","exclusiveMinimum":0,"maximum":1000},"quote":{"description":"A battery quote: its price a kWh replaces the assumed one for every size tried.","type":"object","properties":{"price":{"type":"number","exclusiveMinimum":0,"description":"The installed price on the quote, dollars."},"batteryKwh":{"type":"number","exclusiveMinimum":0,"description":"The battery's size on the quote, kWh."},"rebateAlreadyTakenOff":{"description":"The quote's price already has the federal rebate taken off.","type":"boolean"}},"required":["price","batteryKwh"]},"detail":{"description":"How much of the working to return. Leave out (summary) for the answer with the return figure and where the money comes from, each line with the published prices it rests on. \"working\" adds the proof: the typical day's plan, the month-by-month bills today and with the battery, why the size, and the method. Ask for it only to check a figure or when the person asks how it was reached or doubts it; the result id and report link are the same either way.","type":"string","enum":["summary","working"]},"roofAddress":{"description":"The address, only when the roof question asks for it: the tool looks the roof up in Google's aerial imagery once and returns its facts in `soFar.roof`, without the address. Never send it again after that; send `roof` instead.","type":"string","minLength":5,"maxLength":200},"for":{"description":"A home or a business, when the person has said so up front. The bill's plan says which when it can, and wins; the tool asks only when nothing says. Leave it out when they don't know: the question is asked again with the bill's help.","type":"string","enum":["home","business"]},"confirmed":{"description":"True once the bill's figures were read back to the person and they confirmed them.","type":"boolean"},"skip":{"description":"Optional questions the person skipped or couldn't answer, so they aren't asked again: each question's `skipBy`.","type":"array","items":{"anyOf":[{"type":"string","enum":["bill","solar.kw","solar.addNew","installMonth","home.floorArea","home.carModel","home.kmPerWeek","home.carCharger","home.homeInDay","business.floorArea","business.carParkArea","business.fleet","business.equipment","business.backup","business.backup.costPerHour","business.backup.hours","business.backup.runs","business.backup.stock","contractRates","roof"]},{"type":"string","pattern":"^business\\.fleet\\.(vehicles\\.\\d+\\.(now|ev|servicing)|chargers\\.\\d+\\.costEach)$"}]}}}}}}},"responses":{"200":{"description":"The tool's result as JSON: the same object the MCP door returns as structured content.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ready":{"type":"boolean","description":"False while a question is being asked; true once the calculation has run."},"ask":{"type":"object","properties":{"field":{"type":"string"},"question":{"type":"string"},"howToAnswer":{"type":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{},"skip":{"type":"string"},"chat":{"type":"boolean","const":true}},"required":["label"],"additionalProperties":false}},"options":{"type":"array","items":{"type":"string"}},"optional":{"type":"boolean"},"skipBy":{"type":"string"}},"required":["field","question","howToAnswer"],"additionalProperties":{}},"readBack":{"type":"string"},"soFar":{},"inputs":{},"result":{"description":"When ready: evaluate_battery's result."},"about":{"description":"What Should We is, on the first question and with the answer: say it in a line at the start.","type":"string"},"roofNote":{"description":"When the roof couldn't be looked up from `roofAddress`: why, to say in a line. The panels are then sized from the use alone.","type":"string"},"roofPanels":{"description":"With the reply to `roofAddress`: what Google's imagery shows on the roof already. `fact` (panels seen, with each outline's area, or none seen) is a fact with its `source`; `assumption`, `estimate` (the most panels there could be now, about how many kW, and how that was worked out) and `roomLeft` (about how many more panels fit) are Should We's own, said apart from it. It decides nothing by itself: solar sent back on a bill and what the person said about their panels stand; where neither says, the next question asks.","type":"object","properties":{"fact":{"type":"string"},"source":{"type":"string"},"assumption":{"type":"string"},"estimate":{"type":"object","properties":{"panels":{"type":"number"},"kw":{"type":"number"},"maxKw":{"type":"number"},"how":{"type":"string"}},"required":["panels","kw","maxKw","how"],"additionalProperties":false},"roomLeft":{"type":"object","properties":{"fits":{"type":"number"},"taken":{"type":"number"},"left":{"type":"number"},"how":{"type":"string"}},"required":["fits","taken","left","how"],"additionalProperties":false},"rule":{"type":"string"}},"required":["fact","source","rule"],"additionalProperties":false},"tighten":{"description":"With the answer: the questions that replace a default or move the figures most, to offer one at a time afterwards.","type":"array","items":{}},"change":{"description":"With the answer: what the person can change afterwards, such as the battery size (each size tried, with its net cost after rebates); call again with the answer in its field.","type":"array","items":{}},"rule":{"type":"string"}},"required":["ready","rule"],"additionalProperties":{}}}}},"400":{"description":"The input didn't match the schema, or the tool couldn't answer it; `error` says what to ask or change, in words a model can act on.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"The daily cap per caller was reached."}}}},"/api/v1/get_figures":{"post":{"operationId":"get_figures","summary":"Get the electricity figures for a place","description":"The current figures for an Australian postcode: the regulated plans and their rates, the solar buyback, the federal and state battery rebates for an install month, and the virtual power plants open there. Each is a fact with its source, date and quote. Use it to answer questions about prices and rebates; to work out a battery for a home or business, use battery or evaluate_battery. Quote figures only from the result, as it gives them (a range stays a range). Keep facts (each has its source) apart from estimates and assumptions (each says how or why). It's information, not financial advice. Never say you verified the answer.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postcode":{"type":"string","pattern":"^\\d{4}$","description":"The postcode where the power is used."},"installMonth":{"type":"string","pattern":"^\\d{4}-\\d{2}$","description":"The month they're looking to install, YYYY-MM, from now to December 2028. The federal rebate steps down every six months. Leave out to assume installing now."},"network":{"description":"Only for a postcode on two networks outside Western Australia: the price area's id, as the battery tool's network question offers it (qld-ergon, say). Leave out otherwise.","type":"string"}},"required":["postcode"]}}}},"responses":{"200":{"description":"The tool's result as JSON: the same object the MCP door returns as structured content.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"place":{},"installWindow":{"type":"string"},"plans":{"type":"array","items":{}},"solarBuyback":{},"rebates":{},"virtualPowerPlants":{"type":"array","items":{}},"versions":{},"note":{"type":"string"}},"required":["place","installWindow","plans","solarBuyback","rebates","virtualPowerPlants","versions","note"],"additionalProperties":{}}}}},"400":{"description":"The input didn't match the schema, or the tool couldn't answer it; `error` says what to ask or change, in words a model can act on.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"The daily cap per caller was reached."}}}},"/api/v1/evaluate_battery":{"post":{"operationId":"evaluate_battery","summary":"Work out a battery for a home or business","description":"Should We's calculation: replays a year of half hours from the person's bill, with and without each battery size on each plan, and returns for each goal (fastest payback, best return over 10 years, keep charge for blackouts) the pick, the upfront cost and what it buys, the cost after rebates, the bills before and after, the payback, the 10-year value and the rate of return, as ranges; the working (the return figure and where the money comes from, each line with the published prices it rests on); the facts with sources; the estimates and assumptions; and a link to the full report. Before calling: read the bill's figures (plan, dates, kWh in each price period, solar sent back) and confirm them with the person. Everything about the home is optional and takes a default. `batteryKwh` shows a different size from the ones tried (listed in the result's `sizes`), from the same runs. After: lead with the return figure and the sources in a few lines, say which inputs were defaults, give the ranges, and link reportUrl for the full report, a usage-file upload (a much tighter answer) or to be contacted. Call again with detail \"working\" only to check a figure, or when the person asks how one was reached or doubts it. Never send the bill itself, only its figures. Homes only: the business battery report is paid and worked out on the site, so a business input is refused with the way to sign in and subscribe. Quote figures only from the result, as it gives them (a range stays a range). Keep facts (each has its source) apart from estimates and assumptions (each says how or why). It's information, not financial advice. Never say you verified the answer.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postcode":{"description":"The postcode where the power is used. Leave out only on the quick path (no bill in hand, roughly what they pay) when the person hasn't given it: Western Australia, Synergy's prices and Perth's weather then stand, and the result says so.","type":"string","pattern":"^\\d{4}$"},"network":{"description":"Only for a postcode on two networks outside Western Australia: the price area's id, as the battery tool's network question offers it (qld-ergon, say). Leave out otherwise.","type":"string"},"retailer":{"description":"WA only, when the bill or the person says and the postcode can't. Leave out elsewhere: the price area's plans name their own retailer.","type":"string","enum":["Synergy","Horizon Power"]},"retailerBrand":{"description":"Outside Western Australia, a home or business that's up: who sends the bill, as the battery tool's retailer question offers it (origin, agl, energyaustralia, ...), \"other\" for a retailer not listed, or \"notSure\". Leave out in WA.","type":"string"},"currentPlan":{"description":"Outside Western Australia, a home or business: the plan it's on, as the battery tool's plan question offers it (nsw-ausgrid:ORI1206293MRE1@EME), \"typed\" with its rates in planRates (a plan that isn't listed, or another retailer's), or \"notSure\". A listed plan is priced from the AER's plan data; either is compared as the plan they're on now. Leave out when retailerBrand is notSure.","type":"string","pattern":"^([a-z]+-[a-z-]+:[A-Za-z0-9]+@[A-Z]+|typed|notSure)$"},"planRates":{"description":"With currentPlan \"typed\": the plan's rates typed from the bill, the same hours all year, without any discount or credit.","type":"object","properties":{"supplyCentsPerDay":{"type":"number","exclusiveMinimum":0,"description":"The daily supply charge, cents a day, as the bill prints it."},"centsPerKwh":{"type":"number","exclusiveMinimum":0,"description":"Cents a kWh: the one price all day; with a peak, the price at every other hour (the shoulder, when there's an off peak too)."},"peak":{"description":"The peak price and its hours (from after to wraps midnight). Leave out for one price all day.","type":"object","properties":{"centsPerKwh":{"type":"number","exclusiveMinimum":0},"from":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"to":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"weekdaysOnly":{"description":"The peak applies on weekdays only.","type":"boolean"}},"required":["centsPerKwh","from","to"]},"offPeak":{"description":"Only with a peak: the cheap period (overnight, say) and its hours, every day. centsPerKwh is then the shoulder.","type":"object","properties":{"centsPerKwh":{"type":"number","exclusiveMinimum":0},"from":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"to":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."}},"required":["centsPerKwh","from","to"]},"feedInCents":{"type":"number","minimum":0,"description":"Cents a kWh paid for solar sent back; 0 for none."},"gstIncluded":{"type":"boolean","description":"Whether the bill's prices include GST. Ask if the bill doesn't say; false adds 10%."}},"required":["supplyCentsPerDay","centsPerKwh","feedInCents","gstIncluded"]},"horizonTown":{"description":"A Horizon Power home's town.","type":"string"},"path":{"description":"Worked out from the bill's plan when there is one.","type":"string","enum":["home","business"]},"build":{"description":"\"new\" for a building being designed or built, with no power bill yet: a business's year then comes from `business.floorArea`, and the solar panels WA's building code asks of a new commercial building from 1 May 2027 (National Construction Code 2025, clause J9D5) are added; a home's is a typical home's. Leave out, or \"existing\", for a building that's already up. A bill means the building is up.","type":"string","enum":["existing","new"]},"bill":{"description":"The latest bill: its figures (best), or its amount and dates. Leave out only when there's no bill; the answer is then a typical home's, with the widest range.","oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"figures"},"plan":{"type":"string","enum":["A1","MIDDAY_SAVER","EV_ADD_ON","A2","L1","R1","CONTRACT"],"description":"The WA plan on the bill: Synergy's Home Plan (A1), Midday Saver, EV Add On, Business Plan (L1), Business Time of Use (R1), or Horizon Power's A2; outside WA use kind \"amount\" instead. CONTRACT for a WA business site at 50,000 kWh a year or more, which buys its power on a contract: then fill contractRates and give the kWh in the contract's own periods (anytime, or peak and offPeak)."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The first day of the bill's period."},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The last day of the bill's period."},"kwh":{"minItems":1,"type":"array","items":{"type":"object","properties":{"band":{"type":"string","enum":["anytime","peak","offPeak","superOffPeak","overnight","shoulder","shoulder2","solarSoak","free","day","other","tariff1","tariff2"]},"kwh":{"type":"number","minimum":0}},"required":["band","kwh"]},"description":"The kWh bought in each price period, from the bill's charges table: anytime, or peak, offPeak, superOffPeak, overnight."},"solarExported":{"description":"The solar sent back, kWh, by buyback period if the bill splits it, or `all`. Leave out when the bill shows none.","type":"object","properties":{"peak":{"type":"number","minimum":0},"offPeak":{"type":"number","minimum":0},"all":{"type":"number","minimum":0}}},"estimated":{"description":"The bill says its reading was estimated.","type":"boolean"}},"required":["kind","plan","from","to","kwh"]},{"type":"object","properties":{"kind":{"type":"string","const":"amount"},"amount":{"type":"number","exclusiveMinimum":0,"description":"The bill's charges in dollars, GST included (Synergy's \"This bill\"), without any solar credit, which bills list separately."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"plan":{"description":"The plan's id from get_figures (the plans the amount can be read at: in WA A1, MIDDAY_SAVER, EV_ADD_ON, A2 or L1; elsewhere the area's, as tas-tasnetworks:timeOfUse, for a business: a home outside WA leaves it out and gives currentPlan instead), notSure, or leave out when not known. Not needed for a WA business whose amount puts it at 50,000 kWh a year or more: that site buys its power on a contract, so the server treats it as a business and asks for contractRates.","anyOf":[{"type":"string","enum":["A1","MIDDAY_SAVER","EV_ADD_ON","A2","L1","notSure"]},{"type":"string","pattern":"^[a-z]+-[a-z-]+:[A-Za-z0-9]+$"}]},"hasSolar":{"type":"boolean"}},"required":["kind","amount","from","to"]}]},"home":{"description":"About the home. A home that's up is asked, after its bill's figures or its amount and before any answer, how it's heated and cooled, how many people live there, its hot water, a pool and electric cars (with a car: which car, how far it goes a week and what it plugs into). A rough figure asks the same, apart from the weekday question. A new home is asked them first, one at a time (it has no bill). Every field is optional; what's left out takes the default and is listed as a default.","type":"object","properties":{"people":{"description":"5 means five or more.","type":"integer","minimum":1,"maximum":5},"heating":{"type":"string","enum":["reverseCycle","gas","electric","wood","none","notSure"]},"cooling":{"type":"string","enum":["refrigerated","evaporative","fans","none","notSure"]},"homeInDay":{"description":"On weekdays, is someone usually home during the day? Asked after a bill that gives one figure (Home Plan A1 or Horizon Power's A2): \"yes\" moves a fifth of each weekday's 3pm-to-9pm use to 9am to 3pm (our assumption; no data backs its size). Not sure: add \"home.homeInDay\" to `skip`, and nothing moves.","type":"string","enum":["yes","no"]},"hotWater":{"type":"string","enum":["gas","electric","heatPump","solar","notSure"]},"pool":{"description":"The pool pump's timing, or `heatPump` for a pool with a heat pump heater.","type":"string","enum":["none","day","night","heatPump","notSure"]},"electricCars":{"description":"2 means two or more.","type":"integer","minimum":0,"maximum":2},"carModel":{"description":"Which car (or the one driven most), from the choices the battery tool gives; leave out for a car not on the list (0.23 kWh a kilometre from the home's power is assumed).","type":"string","enum":["byd-atto-1","byd-atto-2","byd-atto-3","byd-dolphin","byd-seal","byd-sealion-7","geely-ex2","geely-ex5","hyundai-kona","jaecoo-j5","kia-ev3","kia-ev5","mg4","mg4-urban","tesla-model-3","tesla-model-y","toyota-bz4x","zeekr-7x"]},"kmPerWeek":{"description":"How far each car goes a week, km. Left out: about 180 km a week for a car on the list, 6 kWh a day a car otherwise.","type":"number","minimum":0,"maximum":5000},"carCharging":{"description":"What charges the cars: battery (the battery's spare once the 3pm-to-9pm peak is over, then the cheapest overnight hours for the rest, never peak power from the grid), overnight (cheap overnight power from the grid, on a timer), daytime (the solar, in the day at home), away (mostly chargers away from home), weekend (the week's charge on Saturday and Sunday in the day, spare solar first, for a car away on weekdays; it must fit in the car), cheapest (not sure: picked by a rule, the weekend when the week fits in the car, else the battery's spare then overnight). arrival (whenever it's plugged in) is still read but no longer asked.","type":"string","enum":["battery","overnight","daytime","away","arrival","weekend","cheapest"]},"carCharger":{"description":"What the cars plug into at home, which sets how fast they draw power: 10A (a standard plug, about 2.4 kW), 15A (a 15 amp plug, about 3.6 kW) or wall (a wall charger, about 7 kW). Leave out when not known.","type":"string","enum":["10A","15A","wall"]},"carNewSinceUsageFile":{"description":"Only for a usage file (the half-hourly readings), which this tool doesn't take: the report at reportUrl takes one. True when the person says the car is newer than the readings they'll add there, so the report adds it on top of them (\"Not in it yet (a new car)\" on its car card); left out, the readings are taken to hold the car (\"Already in my usage file\"). Not asked: send it only when the person says so.","type":"boolean"},"floorArea":{"description":"The home's floor area, square metres: the living area, not the garage or alfresco: it scales the heating and cooling from a standard 250 m² living area's (our assumption).","type":"number","minimum":40,"maximum":2000}}},"business":{"type":"object","properties":{"type":{"type":"string","description":"What the business does, as one of the site's business types (an error lists close ones), or the person's own words with `pattern` set."},"pattern":{"description":"When the type isn't on the list: the pattern of hours closest to the business, which is what a listed type would choose. The type then stays as the person's own words.","type":"string","enum":["weekdays, daytime","daytime, most days","lunch to late","mornings and evenings","around the clock","weekday day shift","a few heavy hours a day","farm, by season"]},"yearlyKwh":{"description":"With no bill: the site's yearly use.","type":"number","exclusiveMinimum":0},"floorArea":{"description":"The building's floor area, square metres, inside and across every floor. Needed for a new business build: it sets the estimated yearly use and the panels the building code asks for. Optional for a building that's up: an office or shop's equipment question then suggests what that floor runs, and the answer checks the year's use against the WA figure for the kind of building.","type":"number","minimum":20,"maximum":50000},"buildingKind":{"description":"What sort of building it is, mostly: office space, a shop or showroom (retail), a cafe, restaurant or bar (food), a warehouse or storage, a factory or workshop, or something else (other). It sets what the floor area suggests the building runs; never guess it from the kind of business.","type":"string","enum":["office","retail","food","warehouse","factory","other"]},"carParkArea":{"description":"A basement car park's floor, square metres, when it has one (0 for none): its lighting is suggested with the equipment, at the building code's limit for a car park.","type":"number","minimum":0,"maximum":50000},"conditionedArea":{"description":"A new build's heated or cooled floor, square metres (offices, showrooms, amenities), when they know it: the building code's panels are worked out on it. Left out: a tenth of a warehouse or car park's floor, the whole floor for other kinds (assumptions).","type":"number","minimum":0,"maximum":50000},"fleet":{"description":"Electric vehicles that charge at the site, already or planned, asked just before the equipment: the fleet, or \"none\".","anyOf":[{"type":"string","const":"none"},{"type":"object","properties":{"total":{"description":"How many vehicles the fleet has, all kinds together.","type":"integer","minimum":1,"maximum":10000},"vehicles":{"description":"The vehicles, one entry a kind (vehicles alike in what they are now and what would replace them). The tool asks each entry's fields in turn, and asks about another kind while the counts fall short of `total`.","maxItems":20,"type":"array","items":{"type":"object","properties":{"count":{"description":"How many of the fleet are this kind.","type":"integer","minimum":1,"maximum":500},"now":{"description":"What each is now: an id from the question's `options`. It sets the fuel and the fuel use.","type":"string","maxLength":120},"lPer100":{"description":"Their own fuel use now, litres per 100 km, if they know it (fuel cards, the trip computer). It replaces the listed or average figure.","type":"number","exclusiveMinimum":0,"maximum":60},"fuel":{"description":"The fuel it takes, where `now` doesn't say.","type":"string","enum":["unleaded","premium95","premium98","diesel"]},"km":{"description":"How far each drives: kilometres a day it works, or a year (kmPer).","type":"number","exclusiveMinimum":0,"maximum":500000},"kmPer":{"description":"Whether km is a day's or a year's. Left out: a day's.","type":"string","enum":["day","year"]},"kmEach":{"description":"Each vehicle's own distance where they differ: one figure a vehicle (`count` of them), in kmPer's terms, in place of km.","maxItems":500,"type":"array","items":{"type":"number","exclusiveMinimum":0,"maximum":500000}},"otherKind":{"description":"The petrol or diesel vehicle they'd buy instead of going electric, where it isn't the one like the electric vehicle: a key from the answer's `equivalents`.","type":"string","maxLength":40},"servicingNow":{"type":"number","minimum":0,"description":"Servicing a vehicle a year now, dollars."},"servicingEv":{"type":"number","minimum":0,"description":"Servicing an electric one a year, dollars."},"ev":{"description":"The electric vehicle that would replace it: an id from the question's `options`.","type":"string","maxLength":120},"evPrice":{"type":"number","minimum":0,"description":"What the electric one would cost, each, dollars."},"otherPrice":{"type":"number","minimum":0,"description":"What the petrol or diesel one bought instead would cost, each, dollars."}}}},"vehiclesDone":{"description":"Older chats only: true once there are no more kinds. Set `total` instead.","type":"boolean"},"days":{"description":"The days the vehicles work.","type":"string","enum":["weekdays","everyDay"]},"parked":{"description":"Older links only: when they're parked. Ask `charging` instead.","type":"string","enum":["overnight","day"]},"charging":{"description":"How they charge: in hours the chargers are set to (scheduled), or as soon as each is plugged in.","type":"string","enum":["scheduled","plugIn"]},"chargeHours":{"description":"With charging scheduled: the hours they charge in.","type":"object","properties":{"from":{"type":"integer","minimum":0,"maximum":23},"to":{"type":"integer","minimum":1,"maximum":24}},"required":["from","to"]},"openHours":{"description":"With charging plugIn: the business's operating hours; the vehicles charge from closing to opening.","type":"object","properties":{"from":{"type":"integer","minimum":0,"maximum":23},"to":{"type":"integer","minimum":1,"maximum":24}},"required":["from","to"]},"chargers":{"description":"One entry a size of charger. To add a size, append {}.","maxItems":6,"type":"array","items":{"type":"object","properties":{"kw":{"description":"The charger's size, kW. Up to 22 is AC, above is DC.","type":"number","exclusiveMinimum":0,"maximum":400},"count":{"description":"How many of this size.","type":"integer","minimum":1,"maximum":200},"costEach":{"type":"number","minimum":0,"description":"What each costs bought and installed, dollars."}}}},"chargersDone":{"description":"True once there are no more sizes of charger to add.","type":"boolean"},"install":{"description":"Already charging at the site (on the bill; the default), or planned (not on the bill: added on top of the year).","type":"string","enum":["existing","planned"]}}}]},"equipment":{"description":"What the site runs, which moves the typical site's shape to its own (when the power is used). With lighting and airCon in it, the year is built from the list on its own: a new build's yearly use is the list's, checked against the WA figure for its kind; a bill's total stays. An empty list for none of these.","type":"array","items":{"type":"object","properties":{"item":{"type":"string","enum":["lighting","carParkLighting","desks","airCon","printer","kitchenette","hotWater","lift","displayFridge","coolroom","kitchen","evCharger","compressor","welder","serverRoom","dryer","custom"],"description":"fleet: electric vehicles charging at the site, with `fleet` (count 1); The building's own loads: lighting (with `m2`, the floor it lights); carParkLighting: a basement car park's lights (with `m2`, its floor); desks: desks with a computer and screens; airCon: air conditioning, heating and cooling (with `m2`, the floor it serves, or `coolingKw`, the system's size); printer: printers and copiers; kitchenette: a kitchenette or tea room (fridge, boiling water, microwave, dishwasher); hotWater: an electric storage water heater; lift: a lift; displayFridge: a refrigerated display cabinet. The big equipment: coolroom: a walk-in coolroom or freezer room; kitchen: an electric commercial kitchen (ovens, fryers, a dishwasher); evCharger: an electric vehicle charger; compressor: a workshop air compressor; welder: welders or heavy machines; serverRoom: a server room or IT racks; dryer: a commercial clothes dryer; custom: anything else, with `name`, `kw`, `runs` and, when it runs for fewer hours a day than `runs` covers, `hours`."},"count":{"type":"integer","minimum":1,"maximum":50,"description":"How many. For lighting and airCon, 1: their size is `m2`."},"m2":{"description":"lighting, carParkLighting and airCon only, and needed for them (airCon: or `coolingKw`): the floor it lights, or heats and cools, square metres.","type":"number","exclusiveMinimum":0,"maximum":50000},"coolingKw":{"description":"airCon only: the system's cooling capacity, kW, when they know it (its plate or the mechanical drawings); it then stands in place of the floor's sizing figure.","type":"number","exclusiveMinimum":0,"maximum":5000},"when":{"description":"Chargers only: in the day while staff are at work (the default), or overnight for a fleet.","type":"string","enum":["daytime","overnight"]},"name":{"description":"custom only: what it is, in the person's words (a kiln, a lift, a pump).","type":"string","maxLength":60},"kw":{"description":"custom only, and needed for it: its power when running, kW each (on its plate or in its manual).","type":"number","exclusiveMinimum":0,"maximum":2000},"runs":{"description":"custom and the building's own loads: when it runs: day and night every day, weekdays 8am to 5pm, every day 8am to 6pm, evenings 5pm to 10pm, or overnight 10pm to 6am. Left out: weekdays for custom; for the building's loads, the hours the kind of business keeps (an office's weekdays, a shop's every day).","type":"string","enum":["allDay","weekdays","everyDay","evenings","overnight"]},"hours":{"description":"custom only: how many hours a day it runs, when that's fewer than the hours `runs` covers (a roaster that roasts 4 hours of a weekday). It then runs that long in the middle of those hours (an assumption, said in the answer). Left out: the whole of them. At most the hours `runs` covers: 24, 9, 10, 5 or 8.","type":"number","minimum":0.5,"maximum":24}},"required":["item","count"]}},"backup":{"description":"Backup in outages: whether an outage costs the business money, roughly what an hour costs, and how long it needs to run through. The report's third option is then the battery sized to cover those hours, what being covered costs a year, and what blackouts cost against it.","type":"object","properties":{"needed":{"description":"Would an outage cost the business money (stock that spoils, trade that stops)? Left out: what the kind of business suggests.","type":"boolean"},"costPerHour":{"description":"Roughly what an hour without power costs the business, dollars, when they can say.","type":"number","minimum":0},"hours":{"description":"How long the business needs to run through a blackout, hours. Left out: a typical outage on its kind of line (the regulator's 2024/25 figure, every outage counted: about 2.5 hours in Perth); 12 is the reliability code's long-outage line.","type":"number","minimum":0.5,"maximum":24},"stockDollars":{"description":"The business's fixed costs of an outage, dollars: what it costs at once once an outage runs past the hours to run through (stock thrown out and the like). The report sets them against the chance of a long outage and prices the battery that would keep the fridges running through 12 hours.","type":"number","exclusiveMinimum":0},"stockHoldsHours":{"description":"Leave out: the fixed costs come once an outage runs past the hours to run through. Set only when they come after a different number of hours.","type":"number","minimum":0.5,"maximum":24},"runs":{"description":"What has to keep running through a blackout: the essentials (left out: the site's quiet-hours draw, its fridges, freezers, servers and what's always on) or everything (its busiest hours, a much bigger battery). Or give `kw`.","type":"string","enum":["essentials","everything"]},"kw":{"description":"What has to keep running through a blackout, kW, when they know it (from their electrician or the equipment): the battery is sized to carry it for the hours.","type":"number","exclusiveMinimum":0,"maximum":5000}}}},"required":["type"]},"contractRates":{"type":"object","properties":{"supplyCentsPerDay":{"type":"number","exclusiveMinimum":0,"description":"The daily supply charge, cents a day, as the bill prints it."},"centsPerKwh":{"type":"number","exclusiveMinimum":0,"description":"Cents a kWh: the one price all day, or the price outside the peak hours when the bill has two."},"peak":{"description":"The dearer period, when the bill has two prices: its cents a kWh and hours. Leave out for one price all day.","type":"object","properties":{"centsPerKwh":{"type":"number","exclusiveMinimum":0},"from":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"to":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"weekdaysOnly":{"description":"The peak applies on weekdays only; weekends are at the other price.","type":"boolean"}},"required":["centsPerKwh","from","to"]},"gstIncluded":{"description":"True when the prices already include GST. Leave out or false when the bill prints prices before GST and adds it at the bottom, as Synergy's bills do: 10% is then added.","type":"boolean"},"demandChargePassedThrough":{"description":"Whether the bill passes Western Power's demand charge through (a demand or capacity line in kVA, on the site's highest half hour). Leave out for yes.","type":"boolean"},"from":{"description":"\"rollover\" when these are Synergy's standard rates for a site over the line (Business Time of Use R3, what it pays until it signs a contract), not the bill's: they're then said as an assumption. Leave out for rates from the bill.","type":"string","enum":["bill","rollover"]}},"required":["supplyCentsPerDay","centsPerKwh"],"description":"A WA business site at 50,000 kWh a year or more buys its power on a contract, not Synergy's regulated plans: its rates, typed from the bill. With them the site is priced on its contract, and a battery's cut to the demand charge counts; without them such a site can't be priced. With a bill, give its kWh on plan CONTRACT in the contract's periods."},"promoCode":{"description":"A promo code the person gives for a home's full report or the business battery report, as they typed it: a right one gives a home's whole answer here instead of the free yes or no, and works a business's answer out here instead of stopping. Only when they give one; never guess or invent one.","type":"string","maxLength":100},"question":{"description":"\"solar\" when the person asked whether to get solar (Should we get solar?): a home's free answer and the report link are then the solar question's. Left out: the battery question's.","type":"string","enum":["battery","solar"]},"roof":{"description":"The roof's facts as the battery tool returned them in `soFar.roof` after `roofAddress` (Google's aerial imagery; no address in them): send it back as given. New panels are then held to what the roof holds and made at what its faces make, on either question.","type":"object","properties":{"source":{"type":"string","const":"Google Solar API"},"imageryDate":{"type":"string"},"imageryQuality":{"type":"string","enum":["HIGH","MEDIUM","BASE"]},"panelWatts":{"type":"number"},"maxPanels":{"type":"number"},"faces":{"type":"array","items":{"type":"object","properties":{"pitch":{"type":"number"},"azimuth":{"type":"number"},"facing":{"type":"string"},"areaM2":{"type":"number"},"sunshineHours":{"type":"number"},"panels":{"type":"number"},"yearlyKwhDc":{"type":"number"},"offered":{"type":"boolean"}},"required":["pitch","azimuth","facing","areaM2","sunshineHours","panels","yearlyKwhDc","offered"]}},"detected":{"description":"The panels Google's detection saw on the roof already: whether any were seen, the date of its imagery, and each outline's area in square metres from above. A fact about the imagery, never the person's answer: `solar` stays what they said.","type":"object","properties":{"status":{"type":"string","enum":["seen","none","unavailable"]},"captureDate":{"type":"string"},"areasM2":{"type":"array","items":{"type":"number"}}},"required":["status","captureDate","areasM2"]}},"required":["source","imageryDate","imageryQuality","panelWatts","maxPanels","faces"]},"solar":{"type":"object","properties":{"hasPanels":{"type":"string","enum":["yes","no","notSure"]},"kw":{"description":"The size of the panels they have, kW.","type":"number","exclusiveMinimum":0,"maximum":100},"olderScheme":{"description":"True when the panels were connected before August 2020, so their exports are paid the older Renewable Energy Buyback Scheme's 7.1 cents all day; only matters when no bill names the scheme.","type":"boolean"},"addNew":{"description":"A new solar system, priced as a scenario when left out: at a site with no panels, sized to the year's use; at one whose panels make less than it uses in a year, a whole new system of the right size in place of them (installers rarely add panels to a system), the battery on its own priced beside it. A size in kW to price a system of that size instead (the whole system's size, not what it adds), or \"no\" when panels can't go in (a rented home, a shaded roof).","anyOf":[{"type":"string","const":"no"},{"type":"string","const":"sizeForMe"},{"type":"number","minimum":1,"maximum":100}]}}},"installMonth":{"type":"string","pattern":"^\\d{4}-\\d{2}$","description":"The month they're looking to install, YYYY-MM, from now to December 2028. The federal rebate steps down every six months. Leave out to assume installing now."},"batteryKwh":{"description":"A battery size the person wants to see instead of the one that did best, kWh: one of the sizes the result lists in `sizes`. The answer is then that size's figures, on the plan and with the solar the goal's own pick has, from the runs already done (nothing is run again), and `chosenSize` says which size did best. Leave out for the size that did best. The result id and report link are the same either way; the report's size list shows the same figures.","type":"number","exclusiveMinimum":0,"maximum":1000},"quote":{"description":"A battery quote: its price a kWh replaces the assumed one for every size tried.","type":"object","properties":{"price":{"type":"number","exclusiveMinimum":0,"description":"The installed price on the quote, dollars."},"batteryKwh":{"type":"number","exclusiveMinimum":0,"description":"The battery's size on the quote, kWh."},"rebateAlreadyTakenOff":{"description":"The quote's price already has the federal rebate taken off.","type":"boolean"}},"required":["price","batteryKwh"]},"detail":{"description":"How much of the working to return. Leave out (summary) for the answer with the return figure and where the money comes from, each line with the published prices it rests on. \"working\" adds the proof: the typical day's plan, the month-by-month bills today and with the battery, why the size, and the method. Ask for it only to check a figure or when the person asks how it was reached or doubts it; the result id and report link are the same either way.","type":"string","enum":["summary","working"]}}}}}},"responses":{"200":{"description":"The tool's result as JSON: the same object the MCP door returns as structured content.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"answer":{"type":"object","properties":{"headline":{"type":"string"},"so":{"type":"string"},"year":{"type":"string"}},"required":["headline","so","year"],"additionalProperties":{}},"byGoal":{"type":"array","items":{}},"sizes":{"type":"array","items":{"type":"object","properties":{"kwh":{"type":"number"},"netCostDollars":{"type":"number"},"best":{"type":"boolean"},"shown":{"type":"boolean"}},"required":["kwh"],"additionalProperties":{}},"description":"The battery sizes tried, kWh, each with its estimated net cost after rebates on the plan and solar the goal's battery pick has, which did best of them, and which the answer shows (none when the answer is new solar only or a plan switch). Any of them can be asked for with `batteryKwh`."},"chosenSize":{"description":"When `batteryKwh` was given: the size shown, the size that did best, and the line that says so.","type":"object","properties":{"kwh":{"type":"number"},"bestKwh":{"type":"number"},"note":{"type":"string"}},"required":["kwh","bestKwh","note"],"additionalProperties":{}},"working":{"type":"object","properties":{"note":{"type":"string"},"return":{"type":"object","properties":{"goal":{"type":"string"},"pick":{"type":"string","description":"The size and plan the page leads with, for the best return over 10 years."},"upfrontDollars":{"type":"number"},"rebates":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"dollars":{"type":"number"},"how":{"type":"string"}},"required":["label","dollars","how"],"additionalProperties":{}}},"netCostDollars":{"description":"After rebates.","type":"number"},"earningsAYear":{"type":"object","properties":{"fromTheBill":{"type":"object","properties":{"low":{"type":"number"},"mid":{"type":"number"},"high":{"type":"number"}},"required":["low","mid","high"],"additionalProperties":false,"description":"The battery's (and any new solar's) own saving on the bill, the range the payback, 10-year value and rate of return rest on."},"againstTodaysBill":{"type":"object","properties":{"low":{"type":"number"},"mid":{"type":"number"},"high":{"type":"number"}},"required":["low","mid","high"],"additionalProperties":false,"description":"The whole change to today's bill: the plan switch that needs nothing bought plus the saving above."},"allIn":{"description":"A WA business: what the same battery earns a year in the middle run when also traded in the wholesale market (moneyFrom.wholesale).","type":"number"}},"required":["fromTheBill","againstTodaysBill"],"additionalProperties":{}},"paybackYears":{"description":"Null when the low saving can't repay the net cost within 10 years.","anyOf":[{"type":"object","properties":{"low":{"type":"number"},"high":{"type":"number"}},"required":["low","high"],"additionalProperties":false},{"type":"null"}]},"value10Dollars":{"type":"object","properties":{"low":{"type":"number"},"mid":{"type":"number"},"high":{"type":"number"}},"required":["low","mid","high"],"additionalProperties":false,"description":"Dollars a year across the runs: the 10th to 90th percentile, widened by the range rule, and the middle."},"rateOfReturnPercent":{"anyOf":[{"type":"object","properties":{"low":{"type":"number"},"high":{"type":"number"}},"required":["low","high"],"additionalProperties":false},{"type":"null"}]},"figures":{"description":"Each figure on the card with how it was worked out.","type":"array","items":{"type":"object","properties":{"figure":{"type":"string"},"value":{"type":"string"},"how":{"type":"array","items":{"type":"string"}}},"required":["figure","value"],"additionalProperties":{}}},"how":{"type":"array","items":{"type":"string"}},"why":{"description":"When no battery came out ahead: what was tried.","type":"array","items":{"type":"string"}}},"required":["goal","pick"],"additionalProperties":{}},"cover":{"description":"The third option, being covered for a blackout: the battery sized to run the site's busiest hours through an outage, with the hours, the load, the size, what being covered costs a year and what blackouts cost against it. Absent when no battery is sized to cover.","type":"object","properties":{"pick":{"type":"string"},"hours":{"type":"object","properties":{"hours":{"type":"number"},"by":{"type":"string","enum":["typical","long","own"]},"how":{"type":"string"}},"required":["hours","by","how"],"additionalProperties":{}},"size":{"type":"object","properties":{"batteryKwh":{"type":"number"},"reserveShare":{"type":"number"},"reserveKwh":{"type":"number"},"covers":{"type":"boolean"},"hoursCovered":{"type":"number"},"how":{"type":"string"}},"required":["batteryKwh","reserveShare","reserveKwh","covers","hoursCovered","how"],"additionalProperties":{}},"costOfBeingCoveredAYear":{"type":"object","properties":{"low":{"type":"number"},"mid":{"type":"number"},"high":{"type":"number"},"how":{"type":"string"}},"required":["low","mid","high","how"],"additionalProperties":false,"description":"The net cost less ten years of what the rest of the battery saves, spread over the ten years; below zero means being covered pays for itself on the bill."},"blackoutCostAYear":{"description":"The covered outage hours a year times the person's cost an hour, an estimate; or not stated, with the cost an hour that would make being covered pay."},"verdict":{"anyOf":[{"type":"string","enum":["paysOnBill","blackoutsCostMore","closeCall","coverCostsMore"]},{"type":"null"}]},"figures":{"description":"With detail \"working\": the card's figures, each with how it was worked out.","type":"array","items":{"type":"object","properties":{"figure":{"type":"string"},"value":{"type":"string"},"detail":{"type":"string"},"how":{"type":"array","items":{"type":"string"}}},"required":["figure","value"],"additionalProperties":{}}}},"required":["pick","hours","size","costOfBeingCoveredAYear","blackoutCostAYear","verdict"],"additionalProperties":{}},"moneyFrom":{"type":"object","properties":{"note":{"type":"string"},"billChange":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","description":"Where the money comes from, in words."},"dollarsAYear":{"type":"number","description":"Dollars a year in the middle run; below zero where the source costs."},"kind":{"type":"string","const":"estimate"},"how":{"type":"string","description":"How the line was worked out."},"notInTotal":{"description":"The line applies only if a condition holds, so it is left out of the total.","type":"string"},"prices":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":["number","string"]},"unit":{"type":"string"},"source":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string"},"date":{"type":"string"}},"required":["title"],"additionalProperties":false}},"required":["label","value"],"additionalProperties":{}},"description":"The published prices the line rests on: facts, each with its source; their quotes are in the result's `facts` under the same labels."}},"required":["source","dollarsAYear","kind","how","prices"],"additionalProperties":{}},"description":"The whole change to the bill, split as the page splits it: the plan switch alone, the new solar, the battery's own saving, the total."},"battery":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","description":"Where the money comes from, in words."},"dollarsAYear":{"type":"number","description":"Dollars a year in the middle run; below zero where the source costs."},"kind":{"type":"string","const":"estimate"},"how":{"type":"string","description":"How the line was worked out."},"notInTotal":{"description":"The line applies only if a condition holds, so it is left out of the total.","type":"string"},"prices":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":["number","string"]},"unit":{"type":"string"},"source":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string"},"date":{"type":"string"}},"required":["title"],"additionalProperties":false}},"required":["label","value"],"additionalProperties":{}},"description":"The published prices the line rests on: facts, each with its source; their quotes are in the result's `facts` under the same labels."}},"required":["source","dollarsAYear","kind","how","prices"],"additionalProperties":{}},"description":"The battery's own saving by what the battery does: solar kept for the evening, peak power avoided, the demand charge cut, cheap charging, the export payment given up."},"wholesale":{"description":"A WA business: the same battery also traded in the wholesale market, by source.","type":"object","properties":{"note":{"type":"string"},"totalDollarsAYear":{"type":"number"},"lines":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","description":"Where the money comes from, in words."},"dollarsAYear":{"type":"number","description":"Dollars a year in the middle run; below zero where the source costs."},"kind":{"type":"string","const":"estimate"},"how":{"type":"string","description":"How the line was worked out."},"notInTotal":{"description":"The line applies only if a condition holds, so it is left out of the total.","type":"string"},"prices":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":["number","string"]},"unit":{"type":"string"},"source":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string"},"date":{"type":"string"}},"required":["title"],"additionalProperties":false}},"required":["label","value"],"additionalProperties":{}},"description":"The published prices the line rests on: facts, each with its source; their quotes are in the result's `facts` under the same labels."}},"required":["source","dollarsAYear","kind","how","prices"],"additionalProperties":{}}}},"required":["note","totalDollarsAYear","lines"],"additionalProperties":{}}},"required":["note","billChange","battery"],"additionalProperties":{}},"more":{"description":"In the summary: how to get the proof (call again with detail: \"working\").","type":"string"},"typicalDay":{"description":"With detail \"working\", a WA business: the battery's hold, charge and discharge steps through a middle day, with the market price that day.","type":"object","properties":{"date":{"type":"string"},"why":{"type":"string"},"summary":{"type":"string"},"steps":{"type":"array","items":{"type":"string"}}},"required":["date","why","summary","steps"],"additionalProperties":{}},"monthlyBills":{"description":"With detail \"working\": the bill month by month today and with the battery, each its middle run, adding up to the yearly figure.","type":"object","properties":{"today":{"anyOf":[{},{"type":"null"}]},"withThis":{"anyOf":[{},{"type":"null"}]},"how":{"type":"array","items":{"type":"string"}}},"required":["today","withThis","how"],"additionalProperties":{}},"size":{"description":"With detail \"working\": why this size was picked, and in how many runs it came out best.","type":"object","properties":{"why":{"type":"array","items":{"type":"string"}},"runs":{"type":"string"}},"required":["why","runs"],"additionalProperties":{}},"method":{"description":"With detail \"working\": the one-line method, with the number of runs.","type":"string"}},"required":["note","return","moneyFrom"],"additionalProperties":{},"description":"The working behind the answer: the return figure, where the money comes from (each line with the published prices it rests on), and with detail \"working\" the proof (the typical day, the month-by-month bills, why the size, the method)."},"facts":{"type":"array","items":{}},"estimatesAndAssumptions":{"type":"array","items":{}},"howItWorks":{"type":"object","properties":{"steps":{"type":"array","items":{"type":"string"}},"howSure":{"type":"string"},"alsoAssumed":{"type":"array","items":{"type":"string"}},"tests":{"type":"string"}},"required":["steps","howSure","alsoAssumed"],"additionalProperties":false,"description":"How the answer was worked out, short: the method's steps, how sure it is for what was given, the plain assumptions estimatesAndAssumptions doesn't itemise, and with detail \"working\" the tests behind howSure (a home)."},"notCounted":{"type":"array","items":{"type":"string"}},"notes":{"type":"array","items":{"type":"string"}},"resultId":{"type":"string"},"reportUrl":{"type":"string"},"versions":{},"rules":{"type":"string"}},"required":["answer","byGoal","sizes","working","facts","estimatesAndAssumptions","howItWorks","notCounted","notes","resultId","reportUrl","versions","rules"],"additionalProperties":{}}}}},"400":{"description":"The input didn't match the schema, or the tool couldn't answer it; `error` says what to ask or change, in words a model can act on.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"The daily cap per caller was reached."}}}},"/api/v1/finance":{"post":{"operationId":"finance","summary":"Should we refinance, or what can we borrow?","description":"Start here when someone writes \"@ShouldWe finance\", or asks about their home loan anywhere in Australia: whether to refinance, whether their rate is good, what other banks charge for a loan like theirs, what a lender would lend them, or what budget they have to buy or move. Call it with nothing: it returns the first question (staying, buying, or selling and buying again), with numbered choices. Put that one question to the person, then call again with everything so far plus their answer; it asks the next, in the same order as the page at shouldwe.com.au/finance. Optional questions can be skipped and take the page's default. Staying, it compares the loan's rate with every bank's published rate for the same kind of loan, from the banks' public Consumer Data Right product data, and returns the saving a year, the cost of switching, the payback and the lender's own rate for a new customer. Buying or moving, it works out what a lender would likely lend by the rules every lender applies, and the price that buys, as a range with the working. Figures only: never ask for an account number, a statement or a document. The answer is free. Quote figures only from the result, as it gives them (a range stays a range). Keep facts (each has its source) apart from estimates and assumptions (each says how or why). It's information, not financial advice. Never say you verified the answer.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"path":{"description":"What they're doing: staying in their home and paying off a loan (the refinance comparison), buying, or selling and buying again (the budget).","type":"string","enum":["staying","buying","moving"]},"lender":{"description":"Staying: who the loan is with, as the tool's `options` name it, or \"Another lender\".","type":"string"},"rate":{"description":"Staying: the loan's rate as a percent, such as 6.49. Not the comparison rate.","type":"number","exclusiveMinimum":0},"fixed":{"description":"Staying: whether the rate is variable or fixed.","type":"string","enum":["variable","fixed"]},"fixedUntil":{"description":"Staying, fixed: the month the fixed rate ends, YYYY-MM.","type":"string","pattern":"^\\d{4}-\\d{2}$"},"owed":{"type":"number","minimum":0,"description":"Staying: roughly what's owed on the loan. Moving: what's owed on the home being sold, whole dollars."},"homeValue":{"type":"number","minimum":0,"description":"Staying: roughly what the home is worth (their guess). Moving: roughly what the home would sell for, whole dollars."},"purpose":{"description":"Staying: they live in it, or it's an investment.","type":"string","enum":["OWNER_OCCUPIED","INVESTMENT"]},"repayment":{"description":"Staying: principal and interest, or interest only.","type":"string","enum":["PRINCIPAL_AND_INTEREST","INTEREST_ONLY"]},"yearsLeft":{"description":"Staying: years left on the loan.","type":"integer","exclusiveMinimum":0,"maximum":40},"state":{"description":"Staying: the state or territory the home is in. Buying or moving: where they're buying.","type":"string","enum":["NSW","VIC","QLD","WA","SA","TAS","ACT","NT"]},"compareWith":{"description":"Staying: compare with variable rates, or fixed for this many years.","type":"string","enum":["1","2","3","4","5","variable"]},"applicants":{"description":"Buying or moving: how many people are on the loan.","anyOf":[{"type":"number","const":1},{"type":"number","const":2}]},"netMonthly":{"type":"number","minimum":0,"description":"Buying or moving: the first person's own take-home pay a month, without overtime or bonuses (not added up with the second person's), whole dollars."},"extraMonthly":{"type":"number","minimum":0,"description":"Buying or moving: the first person's overtime, bonuses or commission a month, after tax, whole dollars."},"grossYearly":{"type":"number","minimum":0,"description":"Buying or moving: the first person's pay before tax a year, whole dollars."},"secondNetMonthly":{"type":"number","minimum":0,"description":"Buying or moving, two on the loan: the second person's take-home pay a month, without overtime or bonuses, whole dollars."},"secondExtraMonthly":{"type":"number","minimum":0,"description":"Buying or moving, two on the loan: the second person's overtime, bonuses or commission a month, after tax, whole dollars."},"secondGrossYearly":{"type":"number","minimum":0,"description":"Buying or moving, two on the loan: the second person's pay before tax a year, whole dollars."},"rentMonthly":{"type":"number","minimum":0,"description":"Buying or moving: rent received a month, whole dollars."},"expensesMonthly":{"type":"number","minimum":0,"description":"Buying or moving: what the whole household spends a month to live, one figure for everyone, not counting rent they'll stop paying, whole dollars."},"cardLimits":{"type":"number","minimum":0,"description":"Buying or moving: credit card limits of every card held by anyone on the loan, added up (the limits, not what's owed), whole dollars."},"loanRepayments":{"type":"number","minimum":0,"description":"Buying or moving: other loan repayments a month for anyone on the loan (car, personal, buy now pay later), whole dollars."},"helpMonthly":{"type":"number","minimum":0,"description":"Buying or moving: study loan repayments a month for anyone on the loan, added up, whole dollars."},"helpGoneInAYear":{"description":"Buying or moving, with a study loan: it's paid off within a year.","type":"boolean"},"savings":{"type":"number","minimum":0,"description":"Buying or moving: savings for the deposit and costs, whole dollars."},"firstHome":{"description":"Buying: it's their first home.","type":"boolean"},"newHome":{"description":"Buying a first home: a new home, or building one.","type":"boolean"},"area":{"description":"Buying a first home: in the capital city or a regional centre, or elsewhere in the state; it sets the government guarantee's price cap.","type":"string","enum":["capital","rest"]},"otherCosts":{"type":"number","minimum":0,"description":"Buying or moving: other buying costs (settlement agent, inspections, the lender's and registry's fees), whole dollars."},"skip":{"description":"Optional questions the person would rather not answer, by field: each takes the page's default and isn't asked again.","type":"array","items":{"type":"string"}}}}}}},"responses":{"200":{"description":"The tool's result as JSON: the same object the MCP door returns as structured content.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ready":{"type":"boolean","description":"False while a question is being asked; true once the answer has been worked out."},"ask":{"type":"object","properties":{"field":{"type":"string"},"question":{"type":"string"},"howToAnswer":{"type":"string"},"hint":{"type":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{}},"required":["label","value"],"additionalProperties":false}},"options":{"type":"array","items":{"type":"string"}},"optional":{"type":"boolean"},"skipBy":{"type":"string"}},"required":["field","question","howToAnswer"],"additionalProperties":{}},"soFar":{},"path":{"type":"string"},"inputs":{},"defaults":{"description":"With the answer: the questions that took the page's default.","type":"array","items":{"type":"string"}},"answer":{"description":"With the answer: the verdict and the lines under it, to lead with.","type":"object","properties":{"verdict":{"type":"string"},"lines":{"type":"array","items":{"type":"string"}}},"required":["verdict","lines"],"additionalProperties":false},"market":{"description":"Staying: the lowest published rates for a loan like theirs, each with its bank's product data as the source.","type":"array","items":{}},"schemes":{"description":"Buying a first home: the schemes that apply, as facts with their sources.","type":"array","items":{}},"facts":{"type":"array","items":{}},"estimatesAndAssumptions":{"type":"array","items":{}},"nextSteps":{"type":"array","items":{"type":"string"}},"pageUrl":{"type":"string"},"about":{"description":"What the home loan question is, on the first question and with the answer: say it in a line at the start.","type":"string"},"note":{"type":"string"},"rule":{"type":"string"}},"required":["ready","rule"],"additionalProperties":{}}}}},"400":{"description":"The input didn't match the schema, or the tool couldn't answer it; `error` says what to ask or change, in words a model can act on.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"The daily cap per caller was reached."}}}},"/api/v1/car_insurance":{"post":{"operationId":"car_insurance","summary":"Should we change car insurance?","description":"Start here when someone writes \"@ShouldWe car insurance\", or asks whether to change car insurance, why their renewal went up, whether to ring their insurer, or what to give at insurers' quote pages. Call it with nothing: it returns the first question to put to the person, with numbered choices where the answer is one of a few. Put that one question to them, then call again with everything so far plus their answer; it asks the next. The questions are the renewal notice's figures, typed: the postcode, the insurer, the cover's start, the car, the cover, the sum insured, the excess, the drivers' ages, the kilometres, the options, this year's premium, last year's and whether that is what was paid, and any monthly instalment; then the figures are read back to confirm. Never ask for the notice itself, a name, the policy number, the registration or the street. With enough it returns the renewal's own answer (the rise, the premium's parts, the stamp duty check), the words to say when ringing the insurer first, the scenarios to price with what each gives up, the quote sheet (the answers to give and every insurer's quote page, the person's own first, then grouped by `group`, the company that underwrites them) and the page's link. Then, if the person wants, it gets quotes: with `wantQuotes: true` it asks what the insurers' forms need that the notice doesn't carry (the cover where it was skipped, the number and street, and the suburb, how the car is parked overnight, the car's make, model and variant, private or business use, the main driver's date of birth, gender and licence age, the same for each other driver the notice lists, a clean-record answer and one consent), as the page does, then fills in each insurer's quote form for the person; call again with `runId` for the prices. Any state or territory. Free, with one part that is paid only while the site has it switched on: then, when a quote comes back more than $200 a year under the renewal, the prices come with their cover and without their insurers (`quoteRun.insurersHidden`), and which insurer gave each is a one-off purchase on the site (`quoteRun.paid`, `quoteRun.reportUrl`). Without `quoteRun.paid` in a reply, nothing is paid. When the person asks what they'd get, or is unsure about giving their figures, the first reply's `example` gives the link to an example of the answer on the page, made up and marked as a sample. When the insurance isn't due yet, so there's no renewal notice, the first reply's `reminder` gives the page's link where the person can ask for an email three weeks before it's due; never take an email address for it. Quote figures only from the result, as it gives them (a range stays a range). Keep facts (each has its source) apart from estimates and assumptions (each says how or why). It's information, not financial advice. Never say you verified the answer.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postcode":{"description":"The postcode where the car is kept overnight, from the renewal notice. Only the postcode: never the street. Any state or territory.","type":"string","pattern":"^\\d{4}$"},"insurer":{"description":"The insurer on the renewal notice, as one of the `options` the question lists (its brand name).","type":"string"},"car":{"description":"The car as the notice describes it: the year, make, model, variant and fuel, such as \"2018 Mazda CX-5 Maxx Sport Petrol\". Never the registration or the VIN.","type":"object","properties":{"year":{"type":"integer","minimum":1950,"maximum":2030},"description":{"type":"string","minLength":2}},"required":["description"]},"cover":{"description":"The cover on the notice. Asked again before quotes where it was skipped: quotes are run for comprehensive cover only.","type":"string","enum":["comprehensive","thirdPartyFireTheft","thirdParty"]},"sumInsured":{"description":"What the car is insured for: an agreed value with its amount, or market value.","type":"object","properties":{"basis":{"type":"string","enum":["agreed","market"]},"amount":{"type":"number","minimum":0}},"required":["basis"]},"basicExcess":{"description":"The basic (or standard) excess in dollars, from the notice's excess table.","type":"number","minimum":0},"drivers":{"description":"Each listed driver's age at the start of the cover, the main driver first. Ages only: never names or dates of birth.","type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["main","regular","listed"]},"age":{"type":"integer","minimum":15,"maximum":110}},"required":["role","age"]}},"kilometres":{"description":"The kilometres a year the notice declares: a figure (from = to), a band, or an upper limit (to only).","type":"object","properties":{"from":{"type":"integer","minimum":0,"maximum":9007199254740991},"to":{"type":"integer","minimum":0,"maximum":9007199254740991}}},"options":{"description":"The optional extras the notice lists, as it names them, each taken or not: hire car, windscreen cover, roadside assistance and the like.","type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"selected":{"type":"boolean"}},"required":["name","selected"]}},"startDate":{"description":"The date the renewed cover starts.","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"premium":{"description":"This year's premium for the year: the total, and the base premium, GST and stamp duty where the notice splits them.","type":"object","properties":{"total":{"type":"number","minimum":0},"base":{"type":"number","minimum":0},"gst":{"type":"number","minimum":0},"stampDuty":{"type":"number","minimum":0}},"required":["total"]},"lastYear":{"description":"Last year's premium as the notice prints it beside this year's.","type":"object","properties":{"total":{"type":"number","minimum":0}},"required":["total"]},"paidLastYear":{"description":"What the person actually paid last year, when it isn't the notice's figure. Leave out when the notice's figure is what they paid.","type":"number","minimum":0},"lastYearChecked":{"description":"True once the person was asked whether the notice's last-year figure is what they paid.","type":"boolean"},"monthly":{"description":"The monthly instalment, if the notice offers paying monthly.","type":"number","minimum":0},"wantQuotes":{"description":"True when, after the answer, the person wants Should We to fill in the insurers' quote forms for them. The tool then asks what the forms need that the notice doesn't carry, one question at a time.","type":"boolean"},"street":{"description":"For quotes only: the number and street where the car is kept overnight, such as \"12 Example Street\", with a unit before a slash (\"25/5-17 Example Street\" is unit 25 at 5-17). A street with no house number is asked again.","type":"string","minLength":3,"maxLength":120},"suburb":{"description":"For quotes only: the suburb where the car is kept overnight.","type":"string","minLength":2,"maxLength":60},"parking":{"description":"For quotes only: how the car is parked overnight, as the person says: in a garage, in a carport, in the driveway or on the street.","type":"string","enum":["garage","carport","driveway","street"]},"use":{"description":"For quotes only: whether the car is used privately or for business, as the person says.","type":"string","enum":["private","business"]},"quoteCar":{"description":"For quotes only: the car's make, model and variant, as the person confirms them. Leave the variant out to keep the one the question showed; \"\" says the car has none.","type":"object","properties":{"make":{"type":"string","minLength":2,"maxLength":40},"model":{"type":"string","minLength":1,"maxLength":40},"variant":{"type":"string","maxLength":60}},"required":["make","model"]},"financed":{"description":"For quotes only: true when money is still owing on the car (a loan, lease or hire purchase), false when it isn't.","type":"boolean"},"lender":{"description":"For quotes only, when the car is financed: who the finance is with, as the person names it, such as \"Westpac\" or \"Toyota Finance\". Should We matches it to each insurer's own list of lenders.","type":"string","minLength":2,"maxLength":60},"dateOfBirth":{"description":"For quotes only: the main driver's date of birth.","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"gender":{"description":"For quotes only: the main driver's gender, as the insurers ask it.","type":"string","enum":["female","male"]},"licenceAge":{"description":"For quotes only: the age the main driver got their licence.","type":"integer","minimum":15,"maximum":90},"policyName":{"description":"For quotes only, and only when the tool asks it (an insurer in the run, RAA, requires it before its price): the policy holder's own first and last name, or null if they'd rather not give it, which leaves that insurer out of the run.","anyOf":[{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":40},"last":{"type":"string","minLength":1,"maxLength":40}},"required":["first","last"]},{"type":"null"}]},"cleanRecord":{"description":"For quotes only: true when no driver has had an accident or claim, or a licence suspended or cancelled, in the last 5 years.","type":"boolean"},"instead":{"description":"For quotes only, when the tool asks it: which of what the insurers' forms are told unless the person says otherwise isn't so for this person, [] when all of it is. Each form is given the answers; the few that ask for more than Should We does are skipped.","type":"array","items":{"type":"string","enum":["otherDrivers","modified","accessories","damage","rideshare","member","demerits","offence","fraud"]}},"notSo":{"description":"For quotes only, when the tool asks it: the values of the choices that aren't so, from the question that lists what the forms are told without asking, each with the insurers told it; [] when all of them are so. The insurers told one that isn't so are skipped.","maxItems":40,"type":"array","items":{"type":"string","maxLength":40}},"otherDrivers":{"description":"For quotes only, when the tool asks it (the notice lists more than one driver, or the person says someone else drives the car): each other person who drives the car, their date of birth, gender as the insurers ask it, and the age they got their licence; [] when the notice's other drivers no longer drive it. Never their names.","maxItems":5,"type":"array","items":{"type":"object","properties":{"dateOfBirth":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"gender":{"type":"string","enum":["female","male"]},"licenceAge":{"type":"integer","minimum":15,"maximum":90}},"required":["dateOfBirth","gender","licenceAge"]}},"racLevel":{"description":"For quotes only, when the tool asks it: the person's RAC membership level, as RAC lists them.","type":"string","enum":["Gold","Silver","Bronze","Blue","Red","Free2Go"]},"commuteDays":{"description":"For quotes only, when the tool asks it: whether the car is driven to work or study, and on how many days a week (no, 1-2, 3-4 or 5+). The insurers' forms that ask it are given the answer.","type":"string","enum":["no","1-2","3-4","5+"]},"daySuburb":{"description":"For quotes only, when the tool asks it: where the car is parked on the days it's driven to work: \"same\" for the suburb it's kept in overnight, or the other suburb and its postcode.","anyOf":[{"type":"string","const":"same"},{"type":"object","properties":{"suburb":{"type":"string","minLength":2,"maxLength":60},"postcode":{"type":"string","pattern":"^\\d{4}$"}},"required":["suburb","postcode"]}]},"dayParking":{"description":"For quotes only, when the tool asks it: how the car is parked on the days it's driven to work: a car park, the street, a garage, a driveway or a carport.","type":"string","enum":["carpark","street","garage","driveway","carport"]},"changed":{"description":"For quotes only, and only when the person changes one: what the forms should be told instead of the notice's cover (agreed or market value, the agreed value, the excess; null leaves it to each insurer) or kilometres a year. The notice's are sent otherwise, its basic excess included. Overnight parking, use and finance are asked, and answered in `parking`, `use` and `financed`.","type":"object","properties":{"basis":{"type":"string","enum":["agreed","market"]},"agreedValue":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":2000000},{"type":"null"}]},"excess":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":20000},{"type":"null"}]},"use":{"type":"string","enum":["private","business"]},"kilometres":{"anyOf":[{"type":"integer","minimum":0,"maximum":200000},{"type":"null"}]},"parking":{"type":"string","enum":["garage","carport","driveway","street"]},"finance":{"type":"boolean"}}},"quoteConsent":{"description":"For quotes only: true once the person agreed that Should We fills in each insurer's quote form for them with these details, agreeing to its website terms and privacy policy and confirming their answers are true.","type":"boolean"},"runId":{"description":"A quote run's id, from `quoteRun.runId`: call again with it to get the prices so far.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"promoCode":{"description":"A promo code the person gives for the insurers' names, as they typed it, when `quoteRun.paid` says the names are paid: a right one names each price's insurer here. Only when they give one; never guess or invent one.","type":"string","maxLength":100},"excessToPrice":{"description":"The higher excess to price in the \"Higher excess\" scenario, from its steps.","type":"number","minimum":0},"kilometresDone":{"description":"The kilometres a year the car really does, from the odometer, for the \"Fewer kilometres\" scenario.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"confirmed":{"description":"True once the figures were read back to the person and they confirmed them.","type":"boolean"},"answersFor":{"description":"A scenario's `id`: the quote sheet's answers for that scenario instead of the same cover.","type":"string"},"skip":{"description":"Questions the person skipped or whose answer the notice doesn't print, so they aren't asked again; the answer marks them not stated.","type":"array","items":{"type":"string","enum":["car","cover","sumInsured","basicExcess","drivers","kilometres","options","startDate","lastYear","monthly"]}}}}}}},"responses":{"200":{"description":"The tool's result as JSON: the same object the MCP door returns as structured content.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ready":{"type":"boolean","description":"False while a question is being asked; true once the answer is worked out."},"ask":{"type":"object","properties":{"field":{"type":"string"},"question":{"type":"string"},"howToAnswer":{"type":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{},"skip":{"type":"string"}},"required":["label"],"additionalProperties":false}},"options":{"type":"array","items":{"type":"string"}},"optional":{"type":"boolean"},"skipBy":{"type":"string"}},"required":["field","question","howToAnswer"],"additionalProperties":{}},"readBack":{"type":"string"},"soFar":{},"about":{"description":"What Should We's car insurance question is, on the first question and with the answer: say it in a line at the start.","type":"string"},"example":{"description":"With the first question: the page at `url` shows an example of what Should We gives back, made up and marked as a sample, for someone who asks what they'd get or is unsure about giving their figures. Never give a figure from it as the person's own or as a price today.","type":"object","properties":{"say":{"type":"string"},"url":{"type":"string"}},"required":["say","url"],"additionalProperties":false},"reminder":{"description":"With the first question and with the answer: Should We can email a reminder three weeks before the insurance is due, set by the person on the page at `url`. For someone whose renewal notice hasn't come yet. Never take an email address for it.","type":"object","properties":{"say":{"type":"string"},"url":{"type":"string"}},"required":["say","url"],"additionalProperties":false},"headline":{"description":"When ready: the renewal against last year's premium, in a line.","type":"string"},"renewal":{"description":"When ready: the renewal's figures as facts, each with its source, and what wasn't given."},"ringFirst":{"description":"When ready: the words to say when ringing the insurer, the insurer's number from its own site where it was read, and what the regulator found, sourced."},"scenarios":{"description":"When ready: what else to price, each with the change and what it gives up. Scenarios, not quotes.","type":"array","items":{}},"quoteSheet":{"description":"When ready: the answers to give at every insurer's quote form (with stand-ins for a first price), and every insurer selling car insurance in the state, the person's own first, then grouped by the company that underwrites them (`group`), each with its quote page. A specialist (Shannons, for enthusiast and classic cars) is listed only once an insurer in the quote run has declined the person."},"quoteRun":{"description":"When ready: whether Should We can fill in insurers' quote forms for the person (`available`, `insurers`, or `why` not); once a run is started, its `runId`, `status`, the `prices` so far (each a fact sourced to that insurer's quote form, with the insurer's `quoteNumber` for the quote where its price screen printed one and, where its page opens a quote by that number, `pickUp` with the page and what it asks for), the insurers that `stopped` with why and their quote page, and those still `waiting`. With `insurersHidden`, the prices come without their insurers (the run is still going, or the names are paid: `paid` says what to tell the person and `reportUrl` is where the names are bought), and `stoppedCount` and `waitingCount` stand in for the lists."},"estimatesAndAssumptions":{"type":"array","items":{}},"notes":{"type":"array","items":{"type":"string"}},"pageUrl":{"type":"string"},"rule":{"type":"string"}},"required":["ready","rule"],"additionalProperties":{}}}}},"400":{"description":"The input didn't match the schema, or the tool couldn't answer it; `error` says what to ask or change, in words a model can act on.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"The daily cap per caller was reached."}}}},"/api/v1/home_insurance":{"post":{"operationId":"home_insurance","summary":"Should we change home insurance?","description":"Start here when someone asks about their home and contents (or building, or contents) insurance renewal: whether the rise is fair, whether the sum insured is enough, what else to price, or how to compare insurers. Call it with nothing: it returns the first question, the same questions in the same order as the page at shouldwe.com.au/home-insurance. Put that one question to the person, then call again with everything so far plus their answer; it asks the next. The person reads the figures off their renewal notice; send only those figures and the postcode, never the notice, a name, the street or the policy number. Once the renewal's figures are in it returns the renewal's own answer (the rise, the premium's parts, the stamp duty check, the words for ringing the insurer first), then asks the optional sum insured check (floor area, the person's own rebuild estimate, a contents total); at the end it returns the scenarios, the quote sheet's answers and every insurer selling home cover in the state with its quote page. It picks no insurer for anyone. Then, if the person wants, it gets quotes: with `wantQuotes: true` it asks what the insurers' home forms need that the notice doesn't carry (the home's number and street, and the suburb, the year built, walls, roof, storeys, bedrooms and bathrooms, a pool, solar panels, the alarm and locks, the oldest policy holder's date of birth and gender, which of the things the forms are told without asking aren't so, a claims answer and one consent), as the page does, then fills in each insurer's quote form for the person; call again with `runId` for the prices. Any state or territory. Free, with one part that is paid only while the site has it switched on: then, when a quote comes back more than $200 a year under the renewal, the prices come with their cover and without their insurers (`quoteRun.insurersHidden`), and which insurer gave each is a one-off purchase on the site (`quoteRun.paid`, `quoteRun.reportUrl`). Without `quoteRun.paid` in a reply, nothing is paid. When the person asks what they'd get, or is unsure about giving their figures, the first reply's `example` gives the link to an example of the answer on the page, made up and marked as a sample. When the insurance isn't due yet, so there's no renewal notice, the first reply's `reminder` gives the page's link where the person can ask for an email three weeks before it's due; never take an email address for it. Quote figures only from the result, as it gives them (a range stays a range). Keep facts (each has its source) apart from estimates and assumptions (each says how or why). It's information, not financial advice. Never say you verified the answer.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postcode":{"description":"The postcode of the insured home, anywhere in Australia. Only the postcode: the street is asked only if the person wants Should We to get quotes.","type":"string","pattern":"^\\d{4}$"},"insurer":{"description":"The insurer on the renewal notice, as one of the `options` the question lists (its brand name).","type":"string"},"cover":{"description":"What the policy covers: the building and its contents, the building only, or the contents only.","type":"string","enum":["buildingAndContents","building","contents"]},"buildingSumInsured":{"description":"The building sum insured on the notice, in dollars.","type":"number","minimum":0},"contentsSumInsured":{"description":"The contents sum insured on the notice, in dollars.","type":"number","minimum":0},"excess":{"description":"The basic excess in dollars.","type":"number","minimum":0},"options":{"description":"The optional covers the notice lists, by the names in the question's `options`, each included or not.","type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"selected":{"type":"boolean"}},"required":["name","selected"]}},"startDate":{"description":"The date the renewed cover starts.","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"premium":{"description":"This year's premium for the year: the total, and the base premium, GST and stamp duty where the notice splits them.","type":"object","properties":{"total":{"type":"number","minimum":0},"base":{"type":"number","minimum":0},"gst":{"type":"number","minimum":0},"stampDuty":{"type":"number","minimum":0}},"required":["total"]},"lastYear":{"description":"Last year's premium as the notice prints it.","type":"object","properties":{"total":{"type":"number","minimum":0}},"required":["total"]},"monthly":{"description":"The monthly instalment, if the notice offers paying monthly.","type":"number","minimum":0},"lastYearChecked":{"description":"Whether the notice's last-year figure is what the person paid: true if it is, false if not (then `paidLastYear`).","type":"boolean"},"paidLastYear":{"description":"What the person actually paid last year, when it isn't the notice's figure.","type":"number","minimum":0},"floorArea":{"description":"For the sum insured check: the home's floor area in square metres.","type":"number","exclusiveMinimum":0},"rebuildEstimate":{"description":"For the sum insured check: the person's own estimate of the rebuild cost (a calculator, a builder, a quantity surveyor). Never make one up.","type":"number","minimum":0},"contentsEstimate":{"description":"For the sum insured check: the person's own total for replacing the contents new. Never make one up.","type":"number","minimum":0},"excessToPrice":{"description":"The higher excess to price in the \"Higher excess\" scenario, from its steps.","type":"number","minimum":0},"answersFor":{"description":"A scenario's `id`: the quote sheet's answers for that scenario instead of the same cover.","type":"string"},"skip":{"description":"Questions the person skipped or whose answer the notice doesn't print, so they aren't asked again; the answer marks them not stated.","type":"array","items":{"type":"string","enum":["insurer","excess","options","startDate","lastYear","monthly","floorArea","rebuildEstimate","contentsEstimate"]}},"wantQuotes":{"description":"True once the person says they want Should We to get quotes from other insurers; the tool then asks what those insurers' forms need.","type":"boolean"},"street":{"description":"For quotes: the home's number and street, such as \"12 Example Street\". Only when the person wants quotes: home insurers price by the address itself, so a street with no house number is asked again.","type":"string","minLength":3,"maxLength":80},"suburb":{"description":"For quotes: the home's suburb.","type":"string","minLength":2,"maxLength":60},"yearBuilt":{"description":"For quotes: the year the house was built.","type":"integer","minimum":1800,"maximum":2100},"walls":{"description":"For quotes: what the outside walls are mostly built of, as the question's choices.","type":"string","enum":["doubleBrick","brickVeneer","timber","fibro","concrete","stone","metal"]},"roof":{"description":"For quotes: what the roof is mostly made of, as the question's choices.","type":"string","enum":["concreteTile","terracottaTile","metal","slate","fibro"]},"storeys":{"description":"For quotes: how many storeys the house has.","type":"integer","minimum":1,"maximum":4},"bedrooms":{"description":"For quotes: how many bedrooms.","type":"integer","minimum":1,"maximum":10},"bathrooms":{"description":"For quotes: how many bathrooms.","type":"integer","minimum":1,"maximum":8},"pool":{"description":"For quotes: whether there's a swimming pool.","type":"boolean"},"solar":{"description":"For quotes: whether there are solar panels on the roof.","type":"boolean"},"alarm":{"description":"For quotes: the burglar alarm, as the question's choices.","type":"string","enum":["none","local","monitored"]},"deadlocks":{"description":"For quotes: whether every outside door has a deadlock.","type":"boolean"},"windowLocks":{"description":"For quotes: whether every window has a key-operated lock.","type":"boolean"},"dateOfBirth":{"description":"For quotes: the date of birth of the oldest person on the policy.","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"gender":{"description":"For quotes: that person's gender, as the insurers ask it.","type":"string","enum":["female","male"]},"policyName":{"description":"For quotes: the policy holder's own first and last name, asked only where an insurer in the run requires it before its price; null if they'd rather not give it, which leaves that insurer out of the run. Never one you make up.","anyOf":[{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":40},"last":{"type":"string","minLength":1,"maxLength":40}},"required":["first","last"]},{"type":"null"}]},"notSo":{"description":"For quotes: the values of the choices that aren't so, from the question that lists what the forms are told without asking; [] when all of them are so.","maxItems":40,"type":"array","items":{"type":"string","maxLength":40}},"cleanRecord":{"description":"For quotes: true if nobody on the policy has made a home or contents claim, or had cover refused or cancelled, in the last 5 years; false otherwise.","type":"boolean"},"quoteConsent":{"description":"For quotes: true only once the person agrees that Should We fills in each insurer's quote form for them with these details.","type":"boolean"},"runId":{"description":"A quote run's id, from `quoteRun.runId`: call again with it (and everything else as before) for the prices.","type":"string","pattern":"^[0-9a-f-]{36}$"},"promoCode":{"description":"A promo code the person gives for the insurers' names, where they're paid.","type":"string","maxLength":60}}}}}},"responses":{"200":{"description":"The tool's result as JSON: the same object the MCP door returns as structured content.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ready":{"type":"boolean","description":"False while a question is being asked; true once every question is answered or skipped."},"ask":{"type":"object","properties":{"field":{"type":"string"},"question":{"type":"string"},"howToAnswer":{"type":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{},"skip":{"type":"string"}},"required":["label"],"additionalProperties":false}},"options":{"type":"array","items":{"type":"string"}},"optional":{"type":"boolean"},"skipBy":{"type":"string"}},"required":["field","question","howToAnswer"],"additionalProperties":{}},"soFar":{},"renewal":{"description":"While the sum insured check's questions are asked: the renewal's own answer so far, to give before the question."},"answer":{"description":"When ready: the facts (each with its source), the estimates and assumptions, the sum insured check and the words to say when ringing the insurer first."},"scenarios":{"type":"array","items":{}},"quoteSheet":{"description":"When ready: the answers to give at every insurer's quote page, for the scenario in `for`."},"insurers":{"description":"When ready: every brand selling home insurance in the state with its quote page, the person's own first and the rest grouped by the company that underwrites them (`group`).","type":"array","items":{}},"quoteRun":{"description":"When ready: whether Should We can get quotes for this home (`available`, `insurers`, and what the forms are told without asking, `assumptions`), and a run's prices so far once one is started (`runId`, `status`, `prices`, `stopped`, `waiting`). `insurersHidden` when the prices come without their insurers; `paid` and `reportUrl` when the names are a purchase on the site."},"pageUrl":{"type":"string"},"example":{"description":"With the first question: the page at `url` shows an example of what Should We gives back, made up and marked as a sample, for someone who asks what they'd get or is unsure about giving their figures. Never give a figure from it as the person's own or as a price today.","type":"object","properties":{"say":{"type":"string"},"url":{"type":"string"}},"required":["say","url"],"additionalProperties":false},"reminder":{"description":"With the first question and with the answer: Should We can email a reminder three weeks before the insurance is due, set by the person on the page at `url`. For someone whose renewal notice hasn't come yet. Never take an email address for it.","type":"object","properties":{"say":{"type":"string"},"url":{"type":"string"}},"required":["say","url"],"additionalProperties":false},"about":{"type":"string"},"rule":{"type":"string"}},"required":["ready","rule"],"additionalProperties":{}}}}},"400":{"description":"The input didn't match the schema, or the tool couldn't answer it; `error` says what to ask or change, in words a model can act on.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"The daily cap per caller was reached."}}}},"/api/v1/electric_car":{"post":{"operationId":"electric_car","summary":"Should we get an electric car?","description":"Start here when someone writes \"@ShouldWe electric car\" or asks whether to get an electric car, whether to keep their car or switch, what charging would cost against fuel, or how to pay for one (cash, a car loan or a novated lease). Call it with nothing: it returns the first question (the postcode, which sets the power plans and the fuel price). Put that one question to the person, then call again with everything so far plus their answer; it asks the next, in the order the page at shouldwe.com.au/electric-car asks them. When it has enough it returns the answer: fuel against charging for their kilometres, keeping their car against switching (or an electric car against a new petrol one) over the years they'd keep it, and each way to pay side by side, with every figure's source and a link to see it on the page. `answerNow: true` gives the answer with what's been given so far. For a business's vehicles, call electric_fleet instead. Free, anywhere in Australia. Quote figures only from the result, as it gives them (a range stays a range). Keep facts (each has its source) apart from estimates and assumptions (each says how or why). It's information, not financial advice. Never say you verified the answer.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postcode":{"description":"The home's postcode: it sets the power plans and the fuel price.","type":"string","pattern":"^\\d{4}$"},"kmPerWeek":{"description":"Kilometres driven a week.","type":"number","minimum":0,"maximum":5000},"replacing":{"description":"replacing: it would replace a petrol or diesel car; extra: an extra car; none: they have no car now.","type":"string","enum":["replacing","extra","none"]},"fuel":{"description":"The fuel their car takes, or a petrol car would.","type":"string","enum":["unleaded","premium95","premium98","diesel"]},"fuelPerWeek":{"type":"number","minimum":0,"description":"What they spend on fuel a week, dollars."},"replaceIn":{"description":"When they'd replace their car anyway.","type":"string","enum":["year","twoYears","notForYears"]},"oldValue":{"type":"number","minimum":0,"description":"What their car would fetch sold or traded in, dollars."},"servicing":{"type":"number","minimum":0,"description":"What their car costs to service a year, dollars."},"model":{"description":"The electric car, by id.","type":"string","enum":["byd-atto-1","byd-atto-2","byd-atto-3","byd-dolphin","byd-seal","byd-sealion-7","geely-ex2","geely-ex5","hyundai-kona","jaecoo-j5","kia-ev3","kia-ev5","mg4","mg4-urban","tesla-model-3","tesla-model-y","toyota-bz4x","zeekr-7x"]},"evPrice":{"type":"number","minimum":0,"description":"What the electric car would cost, dollars."},"petrolPrice":{"type":"number","minimum":0,"description":"What the petrol car they'd buy instead would cost, dollars."},"chargeHome":{"description":"Whether they can charge where they live: yes (a driveway or garage), notYet (renting, or no charger in the car park), or no.","type":"string","enum":["yes","notYet","no"]},"homeShare":{"description":"How much of the charging would be at home.","type":"string","enum":["all","most","half"]},"homeOvernight":{"description":"The car is home overnight.","type":"boolean"},"homeDay":{"description":"The car is home in the day, most days.","type":"boolean"},"solar":{"description":"The home has solar.","type":"boolean"},"solarKw":{"description":"The solar's size, kW.","type":"number","exclusiveMinimum":0,"maximum":100},"plan":{"description":"The power plan they're on: one of the choices' values, or notSure.","type":"string"},"smartMeter":{"type":"string","enum":["yes","no","notSure"]},"charger":{"description":"What the car would plug into: a standard 10 amp plug, a 15 amp plug, or a wall charger.","type":"string","enum":["10A","15A","wall"]},"years":{"description":"The years they'd keep the new car.","type":"integer","minimum":1,"maximum":15},"pay":{"description":"How they'd pay: cash, a car loan, a novated lease through work, or notSure to compare them.","type":"string","enum":["cash","loan","lease","notSure"]},"homeLoan":{"description":"offset: a home loan with an offset account or redraw; noOffset: a home loan, but spare money sits in savings; none: no home loan.","type":"string","enum":["offset","noOffset","none"]},"spareRate":{"type":"number","minimum":0,"maximum":30,"description":"The home loan's rate (with an offset or redraw) or the savings rate, percent a year (6.2 for 6.2%)."},"loanRate":{"type":"number","minimum":0,"maximum":30,"description":"The car loan's rate, percent a year (6.2 for 6.2%)."},"bracket":{"description":"The income tax rate, from their income before tax.","anyOf":[{"type":"number","const":0},{"type":"number","const":15},{"type":"number","const":30},{"type":"number","const":37},{"type":"number","const":45}]},"leaseTerm":{"description":"The lease's length in years, 1 to 5. Left out: the years they'd keep the car, at most 5.","type":"integer","minimum":1,"maximum":5},"leaseTakeHome":{"type":"number","minimum":0,"description":"From a lease company's quote: what comes off their take-home pay a fortnight, running costs included, dollars. Left out: the lease is estimated."},"leaseResidual":{"type":"number","minimum":0,"description":"The quote's residual (balloon) at the end of the lease, dollars. Left out: the Tax Office's least for the term."},"leaseRate":{"type":"number","minimum":0,"maximum":30,"description":"The lease's rate, percent a year (6.2 for 6.2%)."},"regoInsurance":{"type":"number","minimum":0,"description":"Registration and insurance a year, dollars."},"leaseStart":{"description":"When the lease would start, against the announced change's dates.","type":"string","enum":["beforeApril2027","april2027","april2029"]},"skip":{"description":"Optional questions the person skipped or couldn't answer, so they aren't asked again; each takes a default, said as an assumption.","type":"array","items":{"type":"string","enum":["km","fuel","fuelSpend","servicing","model","homeShare","homeWhen","solarKw","plan","smartMeter","charger","years","spareRate","loanRate","bracket","leaseTerm","leaseTakeHome","leaseResidual","leaseRate","regoInsurance","leaseStart"]}},"answerNow":{"description":"True to get the answer with what's been given so far, the rest taken as assumptions.","type":"boolean"}}}}}},"responses":{"200":{"description":"The tool's result as JSON: the same object the MCP door returns as structured content.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ready":{"type":"boolean","description":"False while a question is being asked; true once the answer is worked out."},"ask":{"type":"object","properties":{"field":{"type":"string"},"question":{"type":"string"},"howToAnswer":{"type":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{}},"required":["label"],"additionalProperties":false}},"options":{"type":"array","items":{"type":"string"}},"optional":{"type":"boolean"},"skipBy":{"type":"string"},"sets":{"type":"array","items":{"type":"string"}}},"required":["field","question","howToAnswer"],"additionalProperties":{}},"soFar":{},"answer":{"description":"When ready: the headline, the cars side by side over the years, each way to pay, the lease's own figures, whether a wall charger is needed, the facts (each with its source) and, apart from them, the estimates and assumptions."},"reportUrl":{"description":"When ready: the page, opened on this answer.","type":"string"},"stillToAsk":{"description":"When ready early: the questions whose defaults the answer took, to offer one at a time afterwards.","type":"array","items":{"type":"string"}},"about":{"type":"string"},"forABusiness":{"description":"On the first question: a business goes to electric_fleet.","type":"string"},"rule":{"type":"string"}},"required":["ready","rule"],"additionalProperties":{}}}}},"400":{"description":"The input didn't match the schema, or the tool couldn't answer it; `error` says what to ask or change, in words a model can act on.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"The daily cap per caller was reached."}}}},"/api/v1/electric_fleet":{"post":{"operationId":"electric_fleet","summary":"Should we switch our vehicles to electric?","description":"Start here when someone asks, for a business, whether to switch its vehicles or fleet to electric, or what chargers it needs (\"@ShouldWe electric fleet\"). Call it with nothing and ask each question it returns, one at a time, in the order shouldwe.com.au/electric-fleet asks them. Outside WA it asks the site's retailer, then that retailer's own business plans. It never asks a rate in cents, except of a site on a contract or a plan not listed. For each kind of vehicle it asks which one they are now, from a list, and what servicing costs; skipped, typical figures are taken as assumptions. The answer, worked out in code: running costs now against electric on the site's plan, whether the chargers keep up, the peak kW added to the site, and the payback, with sources and what isn't stated. Free. Quote figures only from the result, as it gives them (a range stays a range). Keep facts (each has its source) apart from estimates and assumptions (each says how or why). It's information, not financial advice. Never say you verified the answer.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postcode":{"description":"The site's postcode: it sets the fuel price and the plans.","type":"string","pattern":"^\\d{4}$"},"retailer":{"description":"Outside WA: who sends the site's bill, a retailer question's choice value, \"other\" or notSure. Leave out in WA, or when a bill already gave the plan or rates.","type":"string","maxLength":60},"plan":{"description":"The site's plan: a choice's value; \"typed\" for a contract or a plan not listed (its rates in contractRates or planRates); or notSure. From a bill already read: the plan it names.","type":"string","maxLength":80},"contractRates":{"description":"WA, with plan \"typed\": the contract's rates off the bill, as the battery tool takes them.","type":"object","properties":{"supplyCentsPerDay":{"type":"number","exclusiveMinimum":0,"description":"The daily supply charge, cents a day, as the bill prints it."},"centsPerKwh":{"type":"number","exclusiveMinimum":0,"description":"Cents a kWh: the one price all day, or the price outside the peak hours when the bill has two."},"peak":{"description":"The dearer period, when the bill has two prices: its cents a kWh and hours. Leave out for one price all day.","type":"object","properties":{"centsPerKwh":{"type":"number","exclusiveMinimum":0},"from":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"to":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"weekdaysOnly":{"description":"The peak applies on weekdays only; weekends are at the other price.","type":"boolean"}},"required":["centsPerKwh","from","to"]},"gstIncluded":{"description":"True when the prices already include GST. Leave out or false when the bill prints prices before GST and adds it at the bottom, as Synergy's bills do: 10% is then added.","type":"boolean"},"demandChargePassedThrough":{"description":"Whether the bill passes Western Power's demand charge through (a demand or capacity line in kVA, on the site's highest half hour). Leave out for yes.","type":"boolean"},"from":{"description":"Leave out for rates from the bill.","type":"string","enum":["bill","rollover","read"]},"readFrom":{"type":"string","maxLength":600},"networkTariff":{"description":"Only when the bill passes Western Power's RT34 through as its own line.","type":"string","const":"RT34"}},"required":["supplyCentsPerDay","centsPerKwh"]},"planRates":{"description":"Outside WA, with plan \"typed\": the plan's rates off the bill, as the battery tool takes them, without the feed-in.","type":"object","properties":{"supplyCentsPerDay":{"type":"number","exclusiveMinimum":0,"description":"The daily supply charge, cents a day, as the bill prints it."},"centsPerKwh":{"type":"number","exclusiveMinimum":0,"description":"Cents a kWh: the one price all day; with a peak, the price at every other hour (the shoulder, when there's an off peak too)."},"peak":{"description":"The peak price and its hours (from after to wraps midnight). Leave out for one price all day.","type":"object","properties":{"centsPerKwh":{"type":"number","exclusiveMinimum":0},"from":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"to":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"weekdaysOnly":{"description":"The peak applies on weekdays only.","type":"boolean"}},"required":["centsPerKwh","from","to"]},"offPeak":{"description":"Only with a peak: the cheap period (overnight, say) and its hours, every day. centsPerKwh is then the shoulder.","type":"object","properties":{"centsPerKwh":{"type":"number","exclusiveMinimum":0},"from":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."},"to":{"type":"number","minimum":0,"maximum":24,"description":"An hour of the day, 0 to 24 (half hours as .5)."}},"required":["centsPerKwh","from","to"]},"feedInCents":{"type":"number","minimum":0,"description":"Cents a kWh paid for solar sent back; 0 for none."},"gstIncluded":{"type":"boolean","description":"Whether the bill's prices include GST. Ask if the bill doesn't say; false adds 10%."}},"required":["supplyCentsPerDay","centsPerKwh","gstIncluded"]},"total":{"description":"How many vehicles the fleet has, all kinds together.","type":"integer","minimum":1,"maximum":10000},"vehicles":{"description":"The vehicles, one entry a kind (vehicles alike in what they are now and what would replace them). The tool asks each entry's fields in turn, and asks about another kind while the counts fall short of `total`.","maxItems":20,"type":"array","items":{"type":"object","properties":{"count":{"description":"How many of the fleet are this kind.","type":"integer","minimum":1,"maximum":500},"now":{"description":"What each is now: an id from the question's `options`. It sets the fuel and the fuel use.","type":"string","maxLength":120},"lPer100":{"description":"Their own fuel use now, litres per 100 km, if they know it (fuel cards, the trip computer). It replaces the listed or average figure.","type":"number","exclusiveMinimum":0,"maximum":60},"fuel":{"description":"The fuel it takes, where `now` doesn't say.","type":"string","enum":["unleaded","premium95","premium98","diesel"]},"km":{"description":"How far each drives: kilometres a day it works, or a year (kmPer).","type":"number","exclusiveMinimum":0,"maximum":500000},"kmPer":{"description":"Whether km is a day's or a year's. Left out: a day's.","type":"string","enum":["day","year"]},"kmEach":{"description":"Each vehicle's own distance where they differ: one figure a vehicle (`count` of them), in kmPer's terms, in place of km.","maxItems":500,"type":"array","items":{"type":"number","exclusiveMinimum":0,"maximum":500000}},"otherKind":{"description":"The petrol or diesel vehicle they'd buy instead of going electric, where it isn't the one like the electric vehicle: a key from the answer's `equivalents`.","type":"string","maxLength":40},"servicingNow":{"type":"number","minimum":0,"description":"Servicing a vehicle a year now, dollars."},"servicingEv":{"type":"number","minimum":0,"description":"Servicing an electric one a year, dollars."},"ev":{"description":"The electric vehicle that would replace it: an id from the question's `options`.","type":"string","maxLength":120},"evPrice":{"type":"number","minimum":0,"description":"What the electric one would cost, each, dollars."},"otherPrice":{"type":"number","minimum":0,"description":"What the petrol or diesel one bought instead would cost, each, dollars."}}}},"vehiclesDone":{"description":"Older chats only: true once there are no more kinds. Set `total` instead.","type":"boolean"},"days":{"description":"The days the vehicles work.","type":"string","enum":["weekdays","everyDay"]},"parked":{"description":"Older links only: when they're parked. Ask `charging` instead.","type":"string","enum":["overnight","day"]},"charging":{"description":"How they charge: in hours the chargers are set to (scheduled), or as soon as each is plugged in.","type":"string","enum":["scheduled","plugIn"]},"chargeHours":{"description":"With charging scheduled: the hours they charge in.","type":"object","properties":{"from":{"type":"integer","minimum":0,"maximum":23},"to":{"type":"integer","minimum":1,"maximum":24}},"required":["from","to"]},"openHours":{"description":"With charging plugIn: the business's operating hours; the vehicles charge from closing to opening.","type":"object","properties":{"from":{"type":"integer","minimum":0,"maximum":23},"to":{"type":"integer","minimum":1,"maximum":24}},"required":["from","to"]},"chargers":{"description":"One entry a size of charger. To add a size, append {}.","maxItems":6,"type":"array","items":{"type":"object","properties":{"kw":{"description":"The charger's size, kW. Up to 22 is AC, above is DC.","type":"number","exclusiveMinimum":0,"maximum":400},"count":{"description":"How many of this size.","type":"integer","minimum":1,"maximum":200},"costEach":{"type":"number","minimum":0,"description":"What each costs bought and installed, dollars."}}}},"chargersDone":{"description":"True once there are no more sizes of charger to add.","type":"boolean"},"skip":{"description":"The `skipBy` of each optional question skipped.","type":"array","items":{"type":"string","pattern":"^(rates|vehicles\\.\\d+\\.(now|ev|evPrice|otherPrice|servicing)|chargers\\.\\d+\\.costEach)$"}},"answerNow":{"description":"True for the answer now, once a vehicle has its count and kilometres.","type":"boolean"}}}}}},"responses":{"200":{"description":"The tool's result as JSON: the same object the MCP door returns as structured content.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ready":{"type":"boolean","description":"False while a question is being asked; true once the answer is worked out."},"ask":{"type":"object","properties":{"field":{"type":"string"},"question":{"type":"string"},"howToAnswer":{"type":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{}},"required":["label"],"additionalProperties":false}},"options":{"type":"array","items":{"type":"string"}},"optional":{"type":"boolean"},"skipBy":{"type":"string"}},"required":["field","question","howToAnswer"],"additionalProperties":{}},"soFar":{},"answer":{"description":"When ready: the headline, the year's money by kind of vehicle, the up-front costs and the payback, the chargers against the vehicles, the charging load by half hour with the peak kW it adds, the plan the electricity is priced on and how it was come by, the facts (each with its source), the estimates and assumptions apart from them, and what isn't stated."},"reportUrl":{"description":"When ready: the page, opened on this answer.","type":"string"},"stillToAsk":{"description":"When ready early: the questions the answer went without, to offer one at a time afterwards.","type":"array","items":{"type":"string"}},"about":{"type":"string"},"rule":{"type":"string"}},"required":["ready","rule"],"additionalProperties":{}}}}},"400":{"description":"The input didn't match the schema, or the tool couldn't answer it; `error` says what to ask or change, in words a model can act on.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"The daily cap per caller was reached."}}}}}}