본문으로 건너뛰기
모든 도구

delete_calendar_event

캘린더 · macOS

효과: 삭제. 상태: 조건부 제공.

‘조건부 제공’은 도구가 버전, 플랫폼, 권한, 계정 또는 설정에 따라 달라질 수 있음을 뜻하며 모든 설치에서 활성화되었다는 의미는 아닙니다.

macOS

목적

Mac의 캘린더 앱(Calendar.app)에서 ID로 일정을 삭제합니다. confirm=true가 필요합니다. 반복 일정은 span='future'를 전달하면 전체 시리즈(이번 및 이후 모든 반복)를 삭제하며, 기본값은 event_id가 가리키는 단일 반복만 삭제합니다. Microsoft 365에는 대신 m365_delete_event를 사용하세요.

필수 입력

입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.

권한 및 확인

스키마에 명시적 확인 매개변수가 있습니다. 미리보기를 검토하고 플랫폼 계약에 따라 실제 작업을 승인하세요.

영문 정식 기술 스키마 — 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"
}