Cancel a lesson
cancel_lessonCancel a student's lesson under the coach's rules; the outcome says whether it was refunded, covered by a free pass, or counted. Say the rule to the person before cancelling late.
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": {
"lessonId": "<lessonId>",
"token": "<token>"
},
"name": "cancel_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The student's personal token. | |
| lessonId | Yes | The lesson id from book_lesson. |