delete_calendar_event
カレンダー · macOS
効果: 削除. 状態: 条件付き提供.
「条件付き提供」は、バージョン、プラットフォーム、権限、アカウント、設定に依存する可能性を示し、すべての環境で有効という意味ではありません。
macOS
目的
Mac のカレンダーアプリ(Calendar.app)から、ID を指定してイベントを削除します。confirm=true が必要です。繰り返しイベントでは span='future' を渡すとシリーズ全体(この回以降のすべての回)を削除し、既定では event_id が指す 1 回分のみを削除します。Microsoft 365 の場合は代わりに m365_delete_event を使ってください。
必須入力
event_id
入力名はツールが要求する正確な形式のままです。英語の正規技術定義は下の展開可能なスキーマにあります。
権限と確認
スキーマには明示的な確認パラメータがあります。プレビューを確認し、プラットフォーム契約に従って実操作を承認してください。
- このプラットフォームでは、ユーザーが許可したアプリ、アカウント、リソースだけを使用してください。接続と権限の要件については、このツールのプラットフォーム固有の説明を参照してください。このカタログは、追加の OAuth スコープや OS 権限があるとは主張しません。
英語の正規技術スキーマ — macOS
{
"properties": {
"confirm": {
"description": "Must be true to delete",
"type": "boolean"
},
"event_id": {
"description": "Event (or occurrence) identifier from list_calendar_events. For a recurring event this addresses exactly the occurrence that id came from — the preview names the date and scope so you can confirm before deleting.",
"type": "string"
},
"span": {
"description": "For a recurring event: 'this' (default — only this occurrence) or 'future' (this and all following occurrences; 'all'/'series' mean the same). Any other value is refused. Ignored for non-recurring events.",
"type": "string"
}
},
"required": [
"event_id"
],
"type": "object"
}ドキュメント例
delete_calendar_event のドキュメント例です。この例は実行しないでください。表示される引数は架空のデータセットに属します。実際に呼び出す前に実在する識別子を確認し、承認を得てください。
{
"confirm": false,
"event_id": "demo-event-001"
}