Create the calendar subscription
calendar_subscription_createCreate a flat calendar feed that calendar apps can subscribe to; use it when no active subscription exists so members can view events.
Instructions
Create the caller's own calendar feed for the flat, so a calendar app can subscribe to the flat's events. Use it when calendar_subscription_get returns subscription null; to read an existing feed use calendar_subscription_get, to replace a leaked URL use calendar_subscription_rotate. Safe to repeat: if a feed is already active it is returned unchanged; after calendar_subscription_revoke it creates a fresh feed with a new URL. Any member may call it; it notifies nobody. Returns subscription { feedUrl, createdAt, updatedAt }. feedUrl contains a secret token that grants read access to the flat's events, so show it only to the user and never post it in chat, notes or logs.
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": "calendar_subscription_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wgCode | No | Share code of the flat (code from wg_list). Leave it out when the account belongs to one flat. |