Register for Event
register_for_eventRegister for a school event and receive tickets. Pays from wallet for paid events; fails if sold out, closed, or insufficient balance.
Instructions
Registers the authenticated user for a school event and issues tickets to the caller (quantity is the number of tickets bought for the caller, minimum 1 - there is no per-student split). For paid events quantity times the ticket price is charged to the user's wallet - the call fails on insufficient balance or when the event is sold out or registration is closed. To volunteer at an event rather than attend, use sign_up_for_volunteer_shift. FINANCIAL for paid events - confirm before registering.
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": {
"event_id": "<event_id>"
},
"name": "register_for_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | Event ID from list_school_events - registration must still be open (check the closed flag) | |
| quantity | No | Number of tickets |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Registration ID | |
| status | No | Registration status | |
| eventId | No | Event the user registered for | |
| quantity | No | Tickets issued |