Book a Visit or Search My Service History
open_customer_portalUse this when the customer wants to book Johnson Bros. service or search their own past visits. Opens a compact card that expands into a customer form without sending a message or creating a booking. History requires SMS verification and the customer card’s private, short-lived proof. Booking requires reviewing details and the customer-supplied SMS code.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "open_customer_portal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Choose booking for a new service visit, or history for the customer’s own previous and upcoming visits. | booking |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | ||
| message | Yes | ||
| success | Yes | ||
| business_phone | Yes | ||
| review_sandbox | No |