Create Volunteer Shift (Admin)
create_volunteer_shiftCreates a volunteer shift at the active school, optionally linked to an event, so parents can find and sign up for available slots. Confirm title, date, and times before calling.
Instructions
ADMIN: Creates a volunteer shift at the active school, optionally attached to an event (event_id must reference an event of the same school). Parents discover the new shift via the event's shifts in get_school_event or the volunteer views in the Paxaver panel, and sign up through sign_up_for_volunteer_shift. Requires pac_cordinator or pac_member role. WRITE - confirm title, date and times 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": {
"title": "<title>",
"shift_date": "<shift_date>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "create_volunteer_shift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slots | No | Number of volunteer slots (default 1) | |
| title | Yes | Shift title shown to parents (e.g. Setup crew) | |
| end_time | Yes | Shift end time, HH:MM | |
| event_id | No | Event the shift belongs to (from list_school_events); omit for a standalone school shift | |
| shift_date | Yes | Shift date, YYYY-MM-DD | |
| start_time | Yes | Shift start time, HH:MM | |
| description | No | Optional description of the work involved | |
| school_slug | No | School slug (defaults to the active school) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Volunteer shift ID | |
| slots | No | Number of volunteer slots | |
| title | No | Shift title | |
| status | No | Shift status ('open') | |
| endTime | No | Shift end time, HH:MM | |
| shiftDate | No | Shift date, YYYY-MM-DD | |
| startTime | No | Shift start time, HH:MM | |
| schoolSlug | No | School the shift belongs to |