Register for Event
register_for_eventRegisters the authenticated user for a school event and issues 1–20 tickets, charging the wallet for paid events and failing if sold out, closed, or funds are insufficient.
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, 1 to 20 - 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 (the error includes the regional Paxaver top-up page for the user to add funds), when the event is sold out, or when registration is closed. To volunteer at an event rather than attend, use sign_up_for_volunteer_shift. FINANCIAL for paid events: before the charge the server asks the user to confirm the total in a form (MCP elicitation); clients that cannot show the form get an error and the user registers in the Paxaver app. Collect each required input one at a time and confirm the details with the user before calling.
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 | |
| school_slug | No | School slug (defaults to the active school) |
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 |