Change the service area
update_service_areaChanges which places the connected account's AI receptionist serves, and puts the change live for real callers straight away. In Australia the area is one list that can mix whole states, councils, suburbs and postcodes (a postcode adds every suburb in it); in Qatar it is a list of municipalities (type region). Name places as people write them, adding the state (and for a suburb, the postcode) when a name could mean more than one place; if a name still matches several, nothing changes and the error lists the matches to ask the user about. remove takes places off the list and runs before add, so one call can swap areas. coverAll: true serves the whole country instead of a list; adding areas to a whole-country setting narrows it to just those areas. The list cannot leave out part of a listed area: to stop serving one suburb of a listed state or council, remove that state or council and add the parts still served. outOfAreaPolicy sets what happens to callers outside the area: reject (told so, not booked) or flag_for_review (details taken for the team to check). Call get_ai_setup first: its serviceArea setting lists every place served now. Before calling, tell the user exactly which places will be added or removed (or that the whole country will be served) and that it goes live immediately, and get their explicit yes; then pass confirm: true. Saved as a new version that restore_ai_setup_version can undo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Places to start serving | |
| remove | No | Places on the list to stop serving | |
| confirm | Yes | true only after the user has explicitly approved this specific change in the conversation | |
| coverAll | No | true to serve the whole country instead of a list; not combined with add or remove | |
| outOfAreaPolicy | No | What happens to callers outside the area |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| message | Yes | ||
| success | Yes | ||
| version | No | ||
| liveWarning | Yes | ||
| _environment | Yes | The Nexwin country and environment that supplied the result | |
| restoredFrom | No | ||
| previousVersion | No |