confirm_visit
Lock in the visit once the customer picks one of the times you proposed. Do it in two steps for a professional handoff: (1) create the event on YOUR connected calendar (MS365 or Google — whichever you use) and INVITE the customer (their email is on the opportunity) with the time, the location, and what to have ready — that calendar invite IS their confirmation; (2) then call this to record it on the opportunity. Pass calendarInviteSent:true when you sent that invite, so the customer isn't confirmed twice; if you couldn't send one, omit it and we'll email them a plain confirmation as a backup. Pass quoteId, visitId (from propose_visit), and confirmedAt (ISO-8601).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"quoteId": "<quoteId>",
"visitId": "<visitId>",
"confirmedAt": "<confirmedAt>",
"proAccessToken": "<proAccessToken>"
},
"name": "confirm_visit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes | The accepted lead / thread id. | |
| visitId | Yes | The visit id returned by propose_visit. | |
| confirmedAt | Yes | The agreed time, ISO-8601. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. | |
| calendarInviteSent | No | Set true if you already sent the customer a calendar invite from your connected calendar — suppresses the backup email so they aren’t confirmed twice. |