check_app_availability
Check if a specific Lanis app is enabled at your school before using it. Pass the app name to confirm availability and avoid API errors.
Instructions
Check whether a specific Lanis app is available at the user's school.
Checks one of the four LanisAPI-supported apps to see if it is enabled at the authenticated user's school.
Args: app_name: The app to check. Must be one of: - "Kalender" - "Mein Unterricht" - "Nachrichten - Beta-Version" - "Vertretungsplan"
Returns: A plain-text message indicating whether the app is available.
Error Handling: - Returns "Error: ..." on API or auth failure - Returns "Error: Unknown app ..." for invalid app names
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": {
"app_name": "<app_name>"
},
"name": "check_app_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |