create-event
Utilize AppleScript integration to create new events in macOS Calendar with specified title, start and end times, location, and description.
Instructions
在macOS日历中创建新事件
Input Schema
Name | Required | Description | Default |
---|---|---|---|
calendar | No | 日历名称 | 个人 |
description | No | 事件描述 | |
endDate | Yes | 结束时间,格式:YYYY-MM-DD HH:MM | |
location | No | 事件地点 | |
startDate | Yes | 开始时间,格式:YYYY-MM-DD HH:MM | |
title | Yes | 事件标题 |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"calendar": {
"default": "个人",
"description": "日历名称",
"type": "string"
},
"description": {
"default": "",
"description": "事件描述",
"type": "string"
},
"endDate": {
"description": "结束时间,格式:YYYY-MM-DD HH:MM",
"type": "string"
},
"location": {
"default": "",
"description": "事件地点",
"type": "string"
},
"startDate": {
"description": "开始时间,格式:YYYY-MM-DD HH:MM",
"type": "string"
},
"title": {
"description": "事件标题",
"type": "string"
}
},
"required": [
"title",
"startDate",
"endDate"
],
"type": "object"
}