Create a bookable offering
create_booking_unitAdds something people can book — appointments on a weekly schedule ("slots"), or stays ("nights"). It is not on the page until a booking block places it there with put_page. The two modes take different config fields and mixing them is refused; if a field is wrong the error says exactly which, so read it and try again. Show the name, the mode, the price and currency, and the TIMEZONE — a wrong timezone moves every slot. Before calling, show the person exactly what will be saved and get their explicit yes in the conversation. Never assume a currency.
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": {
"business": "<business>",
"name": "<name>",
"mode": "<mode>",
"config": "<config>"
},
"name": "create_booking_unit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | "slots" for appointments of a fixed length on a weekly schedule; "nights" for stays. They take different config fields and mixing them is refused. | |
| name | Yes | What the offering is called. | |
| config | Yes | timezone and pricing are always required. The rest depends on the mode. | |
| status | No | Defaults to active. | |
| business | Yes | The page handle, as it appears in keepp.link/<handle>. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| created | Yes | False when the person declined, and nothing was created. | |
| bookingUnitId | No |