Start: {"lookup_id":"<returned lookup_id>","offer_id":"<returned offer_id>"}. Poll: {"checkout_id":"<returned checkout_id>"}. Edit: {"checkout_id":"<returned checkout_id>","expected_revision":<current revision>,"details":{<changed fields>}}. Use exactly one shape. Customer, installation, consents and internet_addons belong inside details, never at the root. Start a checkout only when the customer asks to order. Each call waits for progress; while checking, poll with checkout_id only. Edits restart validation. On stale expected_revision, retrieve with checkout_id only before editing at the current revision. required_fields defines the contract; field_errors identifies actual missing/invalid fields relative to details. Refreshes the offer and returns an exact review without submitting an order. When preferred installation dates are required, provide both first and second choices using a time_window value allowed by the input schema. Installation type must be self or professional. Record the customer's explicit true or false choices for auto-pay and paperless billing; never enable them silently. Match the customer's equipment preference using returned equipment_options and catalog facts. Customer-owned equipment, included provider equipment and optional paid equipment are different choices. A free provider gateway does not satisfy an own-equipment request. Price or included status alone does not establish ownership. If an offer lacks the requested option, inspect another qualified offer or explain the limitation and ask the customer to choose; never fabricate an option. Send the complete selection in details.internet_addons using returned option_id and quantity values. Omit it to preserve current/default selections; [] declines optional items. Select at most one radio option and retain dependent parents. Ready means technically valid, not necessarily correct for the customer. Compare the entire review with the customer's budget, speed, equipment, billing and installation choices. Resolve mismatches before requesting authorization. Present every returned charge, discount, condition and unknown; do not invent a price adjustment for declined auto-pay or paperless billing. Never repeat the service PIN or full date of birth, even if supplied earlier. Keep capability IDs, terms_hash and validation_token out of customer-facing prose. Obtain explicit authorization for this exact current review before create_order; shopping intent or validation alone is not authorization.
View input schema
{
"type": "object",
"properties": {
"lookup_id": {
"anyOf": [
{
"maxLength": 256,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Lookup Id"
},
"offer_id": {
"anyOf": [
{
"maxLength": 256,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Offer Id"
},
"checkout_id": {
"anyOf": [
{
"maxLength": 256,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Checkout Id"
},
"expected_revision": {
"anyOf": [
{
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Revision"
},
"details": {
"anyOf": [
{
"$ref": "#/$defs/OrderDetails"
},
{
"type": "null"
}
],
"default": null
}
},
"$defs": {
"BillingPreferences": {
"additionalProperties": false,
"properties": {
"paperless_billing": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Paperless Billing"
},
"auto_pay": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Auto Pay"
}
},
"title": "BillingPreferences",
"type": "object"
},
"CustomerDetails": {
"additionalProperties": false,
"properties": {
"first_name": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "First Name"
},
"last_name": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Last Name"
},
"email": {
"anyOf": [
{
"maxLength": 254,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Email"
},
"phone_number": {
"anyOf": [
{
"maxLength": 40,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Phone Number"
},
"service_pin": {
"anyOf": [
{
"pattern": "^\\d{4}$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Service Pin"
},
"date_of_birth": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date Of Birth"
},
"preferences": {
"anyOf": [
{
"$ref": "#/$defs/BillingPreferences"
},
{
"type": "null"
}
],
"default": null
},
"mailing_address": {
"anyOf": [
{
"$ref": "#/$defs/MailingAddress"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "CustomerDetails",
"type": "object"
},
"EquipmentSelection": {
"additionalProperties": false,
"properties": {
"option_id": {
"maxLength": 256,
"minLength": 1,
"title": "Option Id",
"type": "string"
},
"quantity": {
"minimum": 1,
"title": "Quantity",
"type": "integer"
}
},
"required": [
"option_id",
"quantity"
],
"title": "EquipmentSelection",
"type": "object"
},
"InstallationChoice": {
"additionalProperties": false,
"properties": {
"date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
},
"time_window": {
"anyOf": [
{
"enum": [
"8:00 AM - 12:00 PM (Local Time)",
"12:00 PM - 5:00 PM (Local Time)"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Time Window"
}
},
"title": "InstallationChoice",
"type": "object"
},
"InstallationDetails": {
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"enum": [
"self",
"professional"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Type"
},
"desired_service_start_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Desired Service Start Date"
},
"preferred_dates": {
"anyOf": [
{
"$ref": "#/$defs/PreferredDates"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "InstallationDetails",
"type": "object"
},
"MailingAddress": {
"additionalProperties": false,
"properties": {
"same_as_service": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Same As Service"
},
"line1": {
"anyOf": [
{
"maxLength": 300,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Line1"
},
"line2": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Line2"
},
"city": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "City"
},
"state": {
"anyOf": [
{
"pattern": "^[A-Z]{2}$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "State"
},
"postal_code": {
"anyOf": [
{
"pattern": "^\\d{5}(?:-\\d{4})?$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Postal Code"
}
},
"title": "MailingAddress",
"type": "object"
},
"OrderDetails": {
"additionalProperties": false,
"description": "Edit payload nested inside validate_order.details, never root tool arguments.",
"properties": {
"customer": {
"anyOf": [
{
"$ref": "#/$defs/CustomerDetails"
},
{
"type": "null"
}
],
"default": null
},
"installation": {
"anyOf": [
{
"$ref": "#/$defs/InstallationDetails"
},
{
"type": "null"
}
],
"default": null
},
"consents": {
"anyOf": [
{
"additionalProperties": {
"type": "boolean"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Customer consent choices at details.consents, using returned consent names.",
"title": "Consents"
},
"internet_addons": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/EquipmentSelection"
},
"maxItems": 100,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Complete equipment selection at details.internet_addons using returned option IDs and quantities; retain dependent parents. Omit to keep current selections/defaults; send [] to decline optional equipment. A free provider gateway is not owned equipment.",
"title": "Internet Addons"
}
},
"title": "OrderDetails",
"type": "object"
},
"PreferredDates": {
"additionalProperties": false,
"properties": {
"first": {
"anyOf": [
{
"$ref": "#/$defs/InstallationChoice"
},
{
"type": "null"
}
],
"default": null
},
"second": {
"anyOf": [
{
"$ref": "#/$defs/InstallationChoice"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "PreferredDates",
"type": "object"
}
},
"title": "validate_orderArguments",
"additionalProperties": false
}