Add calendar entry
hortusfox_add_calendar_entryAdd a calendar entry by providing a name and start date, with optional end date and class. Returns the new item ID.
Instructions
Add a calendar entry with a name, start date and optional end date and class. Returns the new item ID. Endpoint: /api/calendar/add.
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": {
"name": "<name>",
"date_from": "<date_from>"
},
"name": "hortusfox_add_calendar_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Entry name/title. | |
| class | No | Optional calendar class identifier. | |
| date_from | Yes | Start date (YYYY-MM-DD). | |
| date_till | No | End date (YYYY-MM-DD). Defaults to the day after date_from. |