create_calendar_event
カレンダー · macOS
効果: 書き込み. 状態: 条件付き提供.
「条件付き提供」は、バージョン、プラットフォーム、権限、アカウント、設定に依存する可能性を示し、すべての環境で有効という意味ではありません。
macOS
目的
Mac のカレンダーアプリ(Calendar.app)にイベントを作成します。title、start_date、end_date が必須です。必要に応じてメールで参加者を招待(CalDAV/Exchange カレンダーのみ)したり、`recurrence`(daily/weekly/monthly/yearly)で定期イベントにしたりできます。Microsoft 365 には m365_create_event を使用してください。
必須入力
titlestart_dateend_date
入力名はツールが要求する正確な形式のままです。英語の正規技術定義は下の展開可能なスキーマにあります。
権限と確認
スキーマには明示的な確認パラメータがあります。プレビューを確認し、プラットフォーム契約に従って実操作を承認してください。
- このプラットフォームでは、ユーザーが許可したアプリ、アカウント、リソースだけを使用してください。接続と権限の要件については、このツールのプラットフォーム固有の説明を参照してください。このカタログは、追加の OAuth スコープや OS 権限があるとは主張しません。
英語の正規技術スキーマ — macOS
{
"properties": {
"attendees": {
"description": "List of email addresses to invite (optional, CalDAV/Exchange only)",
"items": {
"type": "string"
},
"type": "array"
},
"calendar": {
"description": "Calendar name to match (optional, alternative to calendar_id)",
"type": "string"
},
"calendar_id": {
"description": "Calendar UUID from list_calendar_names (optional, defaults to default calendar)",
"type": "string"
},
"confirm": {
"description": "Must be true to create the event",
"type": "boolean"
},
"end_date": {
"description": "ISO 8601 date or datetime, same timezone rules as start_date. For an all-day event pass a bare date (end is inclusive: same date as start = a one-day all-day event; a later date spans through that day).",
"type": "string"
},
"location": {
"description": "Location (optional)",
"type": "string"
},
"notes": {
"description": "Event notes (optional)",
"type": "string"
},
"recurrence": {
"description": "Make it a repeating event: 'daily', 'weekly', 'monthly', or 'yearly' (optional; omit for a one-time event).",
"type": "string"
},
"recurrence_count": {
"description": "Total number of occurrences (optional). Mutually exclusive with recurrence_until; if neither is given the event repeats indefinitely.",
"type": "integer"
},
"recurrence_interval": {
"description": "Repeat every N periods (optional, default 1 — e.g. recurrence='weekly' + recurrence_interval=2 = every 2 weeks).",
"type": "integer"
},
"recurrence_until": {
"description": "ISO 8601 date the repetition stops on (optional; takes precedence over recurrence_count).",
"type": "string"
},
"start_date": {
"description": "ISO 8601 date or datetime. With a time (2026-06-27T09:00:00) the event is timed; a time with NO timezone is read in the Mac's LOCAL zone, append Z or an offset (2026-06-27T09:00:00Z, or +02:00) to pin it to UTC/another zone. Pass a bare DATE (YYYY-MM-DD) for BOTH start_date and end_date to create an ALL-DAY event.",
"type": "string"
},
"title": {
"description": "Event title",
"type": "string"
}
},
"required": [
"title",
"start_date",
"end_date"
],
"type": "object"
}ドキュメント例
create_calendar_event のドキュメント例です。この例は実行しないでください。表示される引数は架空のデータセットに属します。実際に呼び出す前に実在する識別子を確認し、承認を得てください。
{
"confirm": false,
"end_date": "2026-10-06T11:00:00",
"start_date": "2026-10-06T10:00:00",
"title": "Planning meeting"
}