List School Programs
list_school_programsReturns the active before/after-school, enrichment, and camp programs for the user's active school: name, description, type, dates, price, capacity, and how many seats are already enrolled. The program ids returned feed register_for_program and the program administration tools. Optionally filter by program_type.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_school_programs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| school_slug | No | School slug (defaults to the active school) | |
| program_type | No | Filter to one program type |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| programs | No | Active programs at the school |