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.
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": {
"alias": "<alias>",
"url": "<url>",
"username": "<username>",
"password": "<password>"
},
"name": "add_account"
}
}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 | |||