Book a session
book_sessionBook a client into a service at a start time, the same way the dashboard books. Returns a preview first and only acts when confirm=true. A past start is saved as completed with no email. A future start emails the usual confirmation. No money moves through the assistant. Any pay link is only a request the client pays on Appty.
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": {
"client_id": "<client_id>",
"service_id": "<service_id>",
"start": "<start>"
},
"name": "book_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | Session start, ISO 8601. Does not have to be an open public slot. | |
| confirm | No | Set true only after the caller has seen a preview and wants it done. Anything else, including the string "true", is a preview and changes nothing. | |
| client_id | Yes | Client id from list_clients. | |
| service_id | Yes | Service id. One-off shells are refused. |