İçeriğe geç
Tüm araçlar

update_note

Notlar · macOS

Etki: yazma. Durum: koşullu kullanılabilir.

“Koşullu kullanılabilirlik”, aracın sürüme, platforma, izinlere, hesaba veya yapılandırmaya bağlı olabileceğini belirtir. Her kurulumda etkin olduğu anlamına gelmez.

macOS

Amaç

Apple Notes içindeki var olan bir notu günceller. Başlığı ve/veya gövdeyi değiştirin (gövde Markdown kabul eder ve Apple Notes'un yerel biçimine dönüştürülür). note_id değerini list_notes veya search_notes ile bulun. confirm=true gerektirir.

Zorunlu girdiler

Bu platformun şeması zorunlu girdi bildirmiyor. İsteğe bağlı seçiciler veya çalışma zamanı gereksinimleri yine de olabilir.

İzinler ve onay

Şema açık bir onay parametresi bildirir. Önizlemeyi inceleyin ve gerçek işlemi platform sözleşmesine göre yetkilendirin.

İngilizce kanonik teknik şema — macOS
{
  "properties": {
    "body": {
      "description": "New body, replacing the current one. Accepts Markdown, converted to Apple Notes' native formatting. Check body_format from read_note before writing a body back.",
      "type": "string"
    },
    "confirm": {
      "description": "Set to true to actually apply the change. Defaults to false.",
      "type": "boolean"
    },
    "note_id": {
      "description": "Id of the note to change, from list_notes or search_notes. Use this or note_name.",
      "type": "string"
    },
    "note_name": {
      "description": "Title of the note to change, when you do not have its id. Use this or note_id.",
      "type": "string"
    },
    "title": {
      "description": "New title. Leave it out to keep the current one.",
      "type": "string"
    }
  },
  "type": "object"
}

Belge örneği

update_note için örnek belge. Bu örneği çalıştırmayın. Gösterilen bağımsız değişkenler kurgusal bir veri kümesine aittir; gerçek bir çağrıdan önce gerçek tanıtıcıları bulun ve izin alın.

{
  "body": "Meeting agenda: review the launch checklist.",
  "confirm": false,
  "note_id": "demo-note-001"
}