add_account
Add a CalDAV account to sync calendars. Provide alias, server URL, and credentials. Optionally set display name and allow localhost connections for testing.
Instructions
Add a new CalDAV account to Chronos
By default, this function blocks URLs pointing to localhost and private IP addresses for security (SSRF protection). For local development or testing, set allow_local=True to explicitly allow these addresses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | CalDAV server URL | |
| alias | Yes | Unique alias for the account | |
| password | Yes | Password for authentication | |
| username | Yes | Username for authentication | |
| request_id | No | ||
| allow_local | No | Allow localhost/private IPs (WARNING: only for development/testing) | |
| display_name | No | Display name for the account |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||