Get DSBmobile Substitution Plans
get_timetablesRetrieve all available DSBmobile substitution plan entries with titles, last-updated timestamps, and links to each plan's HTML table and preview image.
Instructions
Retrieves all available substitution plan (Vertretungsplan) entries from DSBmobile.
Returns a list of substitution plan entries, each with:
id: Unique identifier for the plan entry
title: Plan name (e.g., "Vertretungen-heute" for today's substitutions)
date: Last updated timestamp in DD.MM.YYYY HH:MM format
url: URL to the HTML page containing the actual substitution plan table
previewUrl: URL to a preview image of the plan (optional)
The substitution plan HTML pages contain the detailed schedule showing which classes have substitutions, which teachers are replaced, which rooms are used, etc. The HTML format varies by school, so the URL is returned for further processing.
Use this tool when:
A user wants to know which plans are published and when they were last updated
A user wants the link to a plan or its preview image
For questions about the substitutions themselves ("Do I have any substitutions today?", teacher absences, cancelled lessons, room changes), use get_substitutions, which reads the plans and returns the entries.
Returns "No substitution plans available" if no plans are currently published.
Error handling:
Returns an error message if authentication fails (check DSB_USERNAME and DSB_PASSWORD)
Returns an error message if the DSBmobile service is unavailable
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": "get_timetables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||