Act on a team's client portal
client_portal_actionFor the person, at a team they are a client of. book: a time from the portal's booking page (start or slot_id, with service and resource when the page names them). add: a product_id to the basket. checkout: the basket. join: become the team's client. order: an offer_id from the home, with options.slot for a booking and method_id from its quote. action: an action on one of their own home rows (type, item, action). Every request except add first returns a preview with preview_id and a summary and changes nothing; after the person says yes, call again with the same arguments, confirm true and that preview_id. Paying is on the team's own payment page. Every answer names who acted.
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": {
"team": "<team>",
"request": "<request>"
},
"name": "client_portal_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | For action: one of the person's home rows. | |
| team | Yes | The team's name, as the person says it. | |
| type | No | For order and action: a home service type id. | |
| model | No | For book: the booking list, when the portal has more than one. | |
| start | No | For book: the time, from the booking page. | |
| action | No | For action: an action id on that row. | |
| confirm | No | Omitted returns a preview. True runs it once. | |
| options | No | For order: {slot} from its quote. | |
| request | Yes | ||
| service | No | For book: the service, when the page names one. | |
| slot_id | No | For book: a slot id from the booking page. | |
| offer_id | No | For order. | |
| quantity | No | For add. Defaults to 1. | |
| resource | No | For book: the person or room, when the page names one. | |
| method_id | No | For order: a method id from its quote. | |
| preview_id | No | From the preview, when confirming. | |
| product_id | No | For add. |