apple-notes-mcp 2.6.15 → 2.6.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +44 -36
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -42168,7 +42168,15 @@ var folderNameSchema = {
|
|
|
42168
42168
|
name: external_exports.string().min(1, "Folder name is required").max(MAX.FOLDER),
|
|
42169
42169
|
account: external_exports.string().max(MAX.ACCOUNT).optional().describe("Account name (defaults to iCloud)")
|
|
42170
42170
|
};
|
|
42171
|
-
|
|
42171
|
+
function registerTool(name, config2, cb) {
|
|
42172
|
+
const { outputSchema, ...rest } = config2;
|
|
42173
|
+
return server.registerTool(
|
|
42174
|
+
name,
|
|
42175
|
+
outputSchema ? { ...rest, outputSchema: external_exports.object(outputSchema).passthrough() } : rest,
|
|
42176
|
+
cb
|
|
42177
|
+
);
|
|
42178
|
+
}
|
|
42179
|
+
registerTool(
|
|
42172
42180
|
"create-note",
|
|
42173
42181
|
{
|
|
42174
42182
|
description: "Use when: the user wants to create a brand-new Apple Note.\nReturns: the new note's title and id \u2014 reuse the id for follow-up reads/edits.\nDo not use when: editing an existing note (use update-note).\nNote: the title is prepended as an <h1>; true Apple Notes checklists cannot be created via AppleScript (see the content field). A 'folder' must already exist \u2014 create-folder first (it is idempotent), since this tool does not create it.",
|
|
@@ -42214,7 +42222,7 @@ server.registerTool(
|
|
|
42214
42222
|
});
|
|
42215
42223
|
}, "Error creating note")
|
|
42216
42224
|
);
|
|
42217
|
-
|
|
42225
|
+
registerTool(
|
|
42218
42226
|
"search-notes",
|
|
42219
42227
|
{
|
|
42220
42228
|
description: "Use when: finding notes by a keyword in the title (or body with searchContent=true) and you need their ids.\nReturns: matching notes with title, folder, and id.\nDo not use when: you already have a note id (use get-note-content) or want every note (use list-notes).\nPrefer this first to obtain ids for subsequent read/update/delete/move calls.",
|
|
@@ -42287,7 +42295,7 @@ ${noteList}${truncationNote}${syncNote}`,
|
|
|
42287
42295
|
);
|
|
42288
42296
|
}, "Error searching notes")
|
|
42289
42297
|
);
|
|
42290
|
-
|
|
42298
|
+
registerTool(
|
|
42291
42299
|
"get-note-content",
|
|
42292
42300
|
{
|
|
42293
42301
|
description: "Use when: reading the full body text of one known note, by id (preferred) or title.\nReturns: the note's content plus parsed hashtags, and strippedImages/truncated when the body was capped.\nDo not use when: you only need metadata (get-note-details) or Markdown with checklist state (get-note-markdown).\nNote: password-protected notes must be unlocked in Notes.app first.\nSafety: inline images larger than APPLE_NOTES_MCP_MAX_INLINE_IMAGE_BYTES (default 256 KB) are replaced with '[inline image omitted: ...]' text placeholders, so the returned body is lossy whenever truncated is true \u2014 do NOT write it back with update-note or the real images are replaced by that text. Use append-to-note to add content, or export the images with save-attachment / fetch-attachment first.",
|
|
@@ -42362,7 +42370,7 @@ server.registerTool(
|
|
|
42362
42370
|
});
|
|
42363
42371
|
}, "Error retrieving note content")
|
|
42364
42372
|
);
|
|
42365
|
-
|
|
42373
|
+
registerTool(
|
|
42366
42374
|
"get-note-plaintext",
|
|
42367
42375
|
{
|
|
42368
42376
|
description: "Use when: reading one note's body as plain text with no HTML, by id (preferred) or title.\nReturns: the note's plaintext exactly as Notes exposes it.\nDo not use when: you need the HTML body (get-note-content) or Markdown with checklist state (get-note-markdown).\nNote: this reads the note's native plaintext property, so it skips the HTML-to-text conversion; password-protected notes must be unlocked in Notes.app first.",
|
|
@@ -42412,7 +42420,7 @@ server.registerTool(
|
|
|
42412
42420
|
return successResponse(plaintext, { title, plaintext });
|
|
42413
42421
|
}, "Error retrieving note plaintext")
|
|
42414
42422
|
);
|
|
42415
|
-
|
|
42423
|
+
registerTool(
|
|
42416
42424
|
"get-note-by-id",
|
|
42417
42425
|
{
|
|
42418
42426
|
description: "Use when: you have a note id and need its metadata only.\nReturns: id, title, created, modified, shared, passwordProtected.\nDo not use when: you need the body text (get-note-content) or only have a title (get-note-details).",
|
|
@@ -42444,7 +42452,7 @@ server.registerTool(
|
|
|
42444
42452
|
return successResponse(JSON.stringify(metadata, null, 2), metadata);
|
|
42445
42453
|
}, "Error retrieving note")
|
|
42446
42454
|
);
|
|
42447
|
-
|
|
42455
|
+
registerTool(
|
|
42448
42456
|
"get-note-details",
|
|
42449
42457
|
{
|
|
42450
42458
|
description: "Use when: you have a note title (not an id) and need its metadata.\nReturns: id, title, created, modified, shared, passwordProtected, account.\nDo not use when: you have an id (get-note-by-id) or need the body text (get-note-content).\nUse the returned id for reliable follow-up operations.",
|
|
@@ -42476,7 +42484,7 @@ server.registerTool(
|
|
|
42476
42484
|
return successResponse(JSON.stringify(metadata, null, 2), metadata);
|
|
42477
42485
|
}, "Error retrieving note details")
|
|
42478
42486
|
);
|
|
42479
|
-
|
|
42487
|
+
registerTool(
|
|
42480
42488
|
"show-note",
|
|
42481
42489
|
{
|
|
42482
42490
|
description: "Use when: the user wants to reveal a known note in Notes.app by id.\nReturns: confirmation that Notes.app accepted the show command.\nDo not use when: you only need note content (get-note-content) or metadata (get-note-by-id).\nNote: this opens or focuses the Notes UI.",
|
|
@@ -42497,7 +42505,7 @@ server.registerTool(
|
|
|
42497
42505
|
return successResponse(`Shown note with ID "${id}" in Notes.app`, { id, separately });
|
|
42498
42506
|
}, "Error showing note")
|
|
42499
42507
|
);
|
|
42500
|
-
|
|
42508
|
+
registerTool(
|
|
42501
42509
|
"get-note-link",
|
|
42502
42510
|
{
|
|
42503
42511
|
description: "Use when: you need the notes:// deep-link URL for a note so it can be stored in a Reminders task, shared, or opened directly.\nReturns: a notes://showNote?identifier=<uuid> URL that opens the note in Notes.app on iOS and macOS.\nDo not use when: you only need the note's CoreData id (get-note-by-id) or want to reveal the note on screen (show-note).\nNote: the primary path reads the note's identifier from the Notes database, so it needs Full Disk Access for the app that launches this server; macOS 12-15 can fall back to the AppleScript 'note link' property, which macOS 26+ no longer exposes. Password-protected notes cannot be linked.",
|
|
@@ -42552,7 +42560,7 @@ server.registerTool(
|
|
|
42552
42560
|
return successResponse(`Note link: ${url}`, { title, url });
|
|
42553
42561
|
}, "Error getting note link")
|
|
42554
42562
|
);
|
|
42555
|
-
|
|
42563
|
+
registerTool(
|
|
42556
42564
|
"show-folder",
|
|
42557
42565
|
{
|
|
42558
42566
|
description: "Use when: the user wants to reveal a known folder in Notes.app by id.\nReturns: confirmation that Notes.app accepted the show command.\nDo not use when: you only need the folder list (list-folders).\nNote: this opens or focuses the Notes UI. Get the id from list-folders.",
|
|
@@ -42573,7 +42581,7 @@ server.registerTool(
|
|
|
42573
42581
|
return successResponse(`Shown folder with ID "${id}" in Notes.app`, { id, separately });
|
|
42574
42582
|
}, "Error showing folder")
|
|
42575
42583
|
);
|
|
42576
|
-
|
|
42584
|
+
registerTool(
|
|
42577
42585
|
"show-account",
|
|
42578
42586
|
{
|
|
42579
42587
|
description: "Use when: the user wants to reveal a known account in Notes.app by id.\nReturns: confirmation that Notes.app accepted the show command.\nDo not use when: you only need the account list (list-accounts).\nNote: this opens or focuses the Notes UI. Get the id from list-accounts.",
|
|
@@ -42594,7 +42602,7 @@ server.registerTool(
|
|
|
42594
42602
|
return successResponse(`Shown account with ID "${id}" in Notes.app`, { id, separately });
|
|
42595
42603
|
}, "Error showing account")
|
|
42596
42604
|
);
|
|
42597
|
-
|
|
42605
|
+
registerTool(
|
|
42598
42606
|
"update-note",
|
|
42599
42607
|
{
|
|
42600
42608
|
description: "Use when: changing the title and/or replacing the body of an existing note, by id (preferred) or title.\nReturns: confirmation; warns when the note is shared.\nDo not use when: creating a new note (create-note).\nSafety: newContent REPLACES the entire body \u2014 it does not append. Read the note first if you need to preserve existing text, and run list-attachments first when the note may hold files, images, scans, PDFs, or audio, since a full-body replace can drop embedded attachments. Edits to shared notes are immediately visible to all collaborators.",
|
|
@@ -42670,7 +42678,7 @@ server.registerTool(
|
|
|
42670
42678
|
});
|
|
42671
42679
|
}, "Error updating note")
|
|
42672
42680
|
);
|
|
42673
|
-
|
|
42681
|
+
registerTool(
|
|
42674
42682
|
"append-to-note",
|
|
42675
42683
|
{
|
|
42676
42684
|
description: "Use when: adding content to an existing note without replacing it, by id (preferred) or title.\nReturns: confirmation with the note id and title.\nDo not use when: creating a new note (create-note) or replacing the entire body (update-note).\nSafety: reads the existing body first, concatenates, then writes back. Run list-attachments first if the note may hold embedded files \u2014 a full-body rewrite can drop attachments.",
|
|
@@ -42785,7 +42793,7 @@ server.registerTool(
|
|
|
42785
42793
|
"Error appending to note"
|
|
42786
42794
|
)
|
|
42787
42795
|
);
|
|
42788
|
-
|
|
42796
|
+
registerTool(
|
|
42789
42797
|
"delete-note",
|
|
42790
42798
|
{
|
|
42791
42799
|
description: "Use when: permanently deleting a single note, by id (preferred) or title.\nReturns: confirmation; warns when the note was shared.\nDo not use when: deleting many notes (batch-delete-notes) or just relocating one (move-note).\nSafety: requires explicit user confirmation before deleting. Prefer search-notes/list-notes first to show the affected note id and title. Deleting a shared note removes collaborator access.",
|
|
@@ -42840,7 +42848,7 @@ server.registerTool(
|
|
|
42840
42848
|
});
|
|
42841
42849
|
}, "Error deleting note")
|
|
42842
42850
|
);
|
|
42843
|
-
|
|
42851
|
+
registerTool(
|
|
42844
42852
|
"move-note",
|
|
42845
42853
|
{
|
|
42846
42854
|
description: "Use when: moving one note to a different folder, by id (preferred) or title.\nReturns: confirmation of the note and destination folder.\nDo not use when: moving many notes (batch-move-notes).\nNote: the note is relocated in place via Notes.app's native move, preserving its id, creation date, and all attachments. The destination folder must already exist (create-folder).",
|
|
@@ -42898,7 +42906,7 @@ server.registerTool(
|
|
|
42898
42906
|
});
|
|
42899
42907
|
}, "Error moving note")
|
|
42900
42908
|
);
|
|
42901
|
-
|
|
42909
|
+
registerTool(
|
|
42902
42910
|
"list-notes",
|
|
42903
42911
|
{
|
|
42904
42912
|
description: "Use when: enumerating notes in an account or folder; supports modifiedSince and limit for large collections.\nReturns: note titles only (no content or ids).\nDo not use when: you need content (get-note-content) or ids for follow-up edits (use search-notes).\nNote: warns if iCloud sync is active and results may be partial.",
|
|
@@ -42952,7 +42960,7 @@ ${noteList}${syncNote}`,
|
|
|
42952
42960
|
);
|
|
42953
42961
|
}, "Error listing notes")
|
|
42954
42962
|
);
|
|
42955
|
-
|
|
42963
|
+
registerTool(
|
|
42956
42964
|
"get-selected-notes",
|
|
42957
42965
|
{
|
|
42958
42966
|
description: "Use when: the user asks what note(s) are currently selected in Notes.app.\nReturns: selected note metadata with ids for follow-up operations.\nDo not use when: searching all notes (search-notes) or listing a folder (list-notes).\nNote: reads Notes.app UI selection; it may be empty if Notes is closed or no note is selected.",
|
|
@@ -42975,7 +42983,7 @@ server.registerTool(
|
|
|
42975
42983
|
${noteList}`, { notes, count: notes.length });
|
|
42976
42984
|
}, "Error getting selected notes")
|
|
42977
42985
|
);
|
|
42978
|
-
|
|
42986
|
+
registerTool(
|
|
42979
42987
|
"list-folders",
|
|
42980
42988
|
{
|
|
42981
42989
|
description: "Use when: listing all folders, with full nested paths, for an account.\nReturns: folder names/paths.\nDo not use when: listing notes (list-notes).\nNote: warns if iCloud sync is active.",
|
|
@@ -43015,7 +43023,7 @@ ${folderList}${syncNote}`, {
|
|
|
43015
43023
|
});
|
|
43016
43024
|
}, "Error listing folders")
|
|
43017
43025
|
);
|
|
43018
|
-
|
|
43026
|
+
registerTool(
|
|
43019
43027
|
"create-folder",
|
|
43020
43028
|
{
|
|
43021
43029
|
description: "Use when: creating a folder, including nested paths like 'Work/Clients' (intermediate folders are created, existing ones skipped).\nReturns: confirmation.\nDo not use when: creating a note (create-note).",
|
|
@@ -43041,7 +43049,7 @@ server.registerTool(
|
|
|
43041
43049
|
});
|
|
43042
43050
|
}, "Error creating folder")
|
|
43043
43051
|
);
|
|
43044
|
-
|
|
43052
|
+
registerTool(
|
|
43045
43053
|
"delete-folder",
|
|
43046
43054
|
{
|
|
43047
43055
|
description: "Use when: deleting an existing folder by name or nested path.\nReturns: confirmation.\nDo not use when: deleting a note (delete-note).\nSafety: requires explicit user confirmation. Deletion fails if the folder still contains notes \u2014 list or move those notes first.",
|
|
@@ -43061,7 +43069,7 @@ server.registerTool(
|
|
|
43061
43069
|
return successResponse(`Folder deleted: "${name}"`, { ok: true, folder: name });
|
|
43062
43070
|
}, "Error deleting folder")
|
|
43063
43071
|
);
|
|
43064
|
-
|
|
43072
|
+
registerTool(
|
|
43065
43073
|
"list-accounts",
|
|
43066
43074
|
{
|
|
43067
43075
|
description: "Use when: discovering which Notes accounts exist (iCloud, Gmail, Exchange, etc.) before targeting one.\nReturns: account names.\nDo not use when: you already know the account, or are working by note id (ids are account-independent).",
|
|
@@ -43088,7 +43096,7 @@ ${accountList}`, {
|
|
|
43088
43096
|
});
|
|
43089
43097
|
}, "Error listing accounts")
|
|
43090
43098
|
);
|
|
43091
|
-
|
|
43099
|
+
registerTool(
|
|
43092
43100
|
"get-default-location",
|
|
43093
43101
|
{
|
|
43094
43102
|
description: "Use when: discovering where Notes.app will create new notes by default.\nReturns: default account and default folder metadata.\nDo not use when: you already have an explicit account/folder target.",
|
|
@@ -43105,7 +43113,7 @@ Default folder: ${location.folder.name} [id: ${location.folder.id}]`;
|
|
|
43105
43113
|
return successResponse(message, { ...location });
|
|
43106
43114
|
}, "Error getting default Notes location")
|
|
43107
43115
|
);
|
|
43108
|
-
|
|
43116
|
+
registerTool(
|
|
43109
43117
|
"list-shared-notes",
|
|
43110
43118
|
{
|
|
43111
43119
|
description: "Use when: finding notes shared with collaborators.\nReturns: shared notes with title, account, and id.\nDo not use when: searching all notes (search-notes).\nNote: edits or deletes to these notes affect all collaborators.",
|
|
@@ -43136,7 +43144,7 @@ ${noteList}
|
|
|
43136
43144
|
);
|
|
43137
43145
|
}, "Error listing shared notes")
|
|
43138
43146
|
);
|
|
43139
|
-
|
|
43147
|
+
registerTool(
|
|
43140
43148
|
"get-sync-status",
|
|
43141
43149
|
{
|
|
43142
43150
|
description: "Use when: checking whether iCloud sync is in progress before trusting read results.\nReturns: sync active/idle, pending upload count, and seconds since last change.\nDo not use when: you need note data \u2014 this is a read-only diagnostics tool.",
|
|
@@ -43175,7 +43183,7 @@ server.registerTool(
|
|
|
43175
43183
|
return successResponse(lines.join("\n"), { ...status });
|
|
43176
43184
|
}, "Error checking sync status")
|
|
43177
43185
|
);
|
|
43178
|
-
|
|
43186
|
+
registerTool(
|
|
43179
43187
|
"health-check",
|
|
43180
43188
|
{
|
|
43181
43189
|
description: "Use when: a quick check that Notes.app is reachable and (optionally) Full Disk Access is granted for checklist features.\nReturns: pass/fail per check.\nDo not use when: you need detailed, actionable setup diagnostics (use doctor).\nRead-only.",
|
|
@@ -43206,7 +43214,7 @@ ${fdaLine}`, {
|
|
|
43206
43214
|
});
|
|
43207
43215
|
}, "Error running health check")
|
|
43208
43216
|
);
|
|
43209
|
-
|
|
43217
|
+
registerTool(
|
|
43210
43218
|
"doctor",
|
|
43211
43219
|
{
|
|
43212
43220
|
description: "Use when: diagnosing setup problems (Notes.app automation permission, account state, Full Disk Access) with actionable guidance.\nReturns: a detailed report plus structured fields.\nDo not use when: you just need a quick pass/fail (health-check).\nRead-only.",
|
|
@@ -43221,7 +43229,7 @@ server.registerTool(
|
|
|
43221
43229
|
return successResponse(formatDoctorReport(report), { ...report });
|
|
43222
43230
|
}, "Error running doctor")
|
|
43223
43231
|
);
|
|
43224
|
-
|
|
43232
|
+
registerTool(
|
|
43225
43233
|
"get-notes-stats",
|
|
43226
43234
|
{
|
|
43227
43235
|
description: "Use when: summarizing the library \u2014 total notes, per-account/folder counts, and recent activity.\nReturns: aggregate statistics; flags partial coverage when some scopes were unreadable.\nDo not use when: you need individual notes (list-notes/search-notes).\nRead-only.",
|
|
@@ -43266,7 +43274,7 @@ server.registerTool(
|
|
|
43266
43274
|
return successResponse(lines.join("\n"), { ...stats });
|
|
43267
43275
|
}, "Error getting notes statistics")
|
|
43268
43276
|
);
|
|
43269
|
-
|
|
43277
|
+
registerTool(
|
|
43270
43278
|
"list-attachments",
|
|
43271
43279
|
{
|
|
43272
43280
|
description: "Use when: listing the attachments of one note, by id (preferred) or title.\nReturns: each attachment's name, content type, and id (use with save-attachment/fetch-attachment).\nDo not use when: you want the attachment bytes (fetch-attachment) or a file on disk (save-attachment).",
|
|
@@ -43321,7 +43329,7 @@ ${attachmentList}`,
|
|
|
43321
43329
|
);
|
|
43322
43330
|
}, "Error listing attachments")
|
|
43323
43331
|
);
|
|
43324
|
-
|
|
43332
|
+
registerTool(
|
|
43325
43333
|
"batch-delete-notes",
|
|
43326
43334
|
{
|
|
43327
43335
|
description: "Use when: permanently deleting multiple notes by id in one call.\nReturns: per-id success/failure counts.\nDo not use when: deleting a single note (delete-note).\nSafety: requires explicit user confirmation; this is destructive and not undoable. Prefer search-notes/list-notes first to confirm the exact ids being deleted.",
|
|
@@ -43357,7 +43365,7 @@ server.registerTool(
|
|
|
43357
43365
|
}) : errorResponse(lines.join("\n"));
|
|
43358
43366
|
}, "Error performing batch delete")
|
|
43359
43367
|
);
|
|
43360
|
-
|
|
43368
|
+
registerTool(
|
|
43361
43369
|
"batch-move-notes",
|
|
43362
43370
|
{
|
|
43363
43371
|
description: "Use when: moving multiple notes by id into one destination folder.\nReturns: per-id success/failure counts.\nDo not use when: moving a single note (move-note).\nNote: the destination folder must already exist (create-folder).",
|
|
@@ -43399,7 +43407,7 @@ server.registerTool(
|
|
|
43399
43407
|
}) : errorResponse(lines.join("\n"));
|
|
43400
43408
|
}, "Error performing batch move")
|
|
43401
43409
|
);
|
|
43402
|
-
|
|
43410
|
+
registerTool(
|
|
43403
43411
|
"save-attachment",
|
|
43404
43412
|
{
|
|
43405
43413
|
description: "Use when: writing one note attachment to a file on disk.\nReturns: the saved path.\nDo not use when: you want the bytes in-memory as base64 (fetch-attachment).\nSafety: writes a file; savePath must be absolute and under the home directory, a temp dir, or /Volumes. Get the ids from list-attachments first.",
|
|
@@ -43426,7 +43434,7 @@ server.registerTool(
|
|
|
43426
43434
|
});
|
|
43427
43435
|
}, "Error saving attachment")
|
|
43428
43436
|
);
|
|
43429
|
-
|
|
43437
|
+
registerTool(
|
|
43430
43438
|
"fetch-attachment",
|
|
43431
43439
|
{
|
|
43432
43440
|
description: "Use when: retrieving one note attachment's bytes inline as base64 (no file written).\nReturns: name, content type, byte count, and base64 data.\nDo not use when: you want it saved to disk (save-attachment).\nNote: get the ids from list-attachments first.",
|
|
@@ -43452,7 +43460,7 @@ server.registerTool(
|
|
|
43452
43460
|
);
|
|
43453
43461
|
}, "Error fetching attachment")
|
|
43454
43462
|
);
|
|
43455
|
-
|
|
43463
|
+
registerTool(
|
|
43456
43464
|
"show-attachment",
|
|
43457
43465
|
{
|
|
43458
43466
|
description: "Use when: the user wants to reveal one note attachment in Notes.app.\nReturns: confirmation that Notes.app revealed the attachment.\nDo not use when: you want the bytes (fetch-attachment) or a file on disk (save-attachment).\nNote: this opens or focuses the Notes UI. Get the ids from list-attachments first.",
|
|
@@ -43479,7 +43487,7 @@ server.registerTool(
|
|
|
43479
43487
|
});
|
|
43480
43488
|
}, "Error showing attachment")
|
|
43481
43489
|
);
|
|
43482
|
-
|
|
43490
|
+
registerTool(
|
|
43483
43491
|
"export-notes-json",
|
|
43484
43492
|
{
|
|
43485
43493
|
description: "Use when: exporting the entire notes library as structured JSON for backup or bulk processing.\nReturns: a summary plus the full JSON of all notes, folders, and accounts.\nDo not use when: you need a single note (get-note-content) \u2014 this reads everything and can be large.\nRead-only.",
|
|
@@ -43511,7 +43519,7 @@ Full JSON export:`
|
|
|
43511
43519
|
};
|
|
43512
43520
|
}, "Error exporting notes")
|
|
43513
43521
|
);
|
|
43514
|
-
|
|
43522
|
+
registerTool(
|
|
43515
43523
|
"get-note-markdown",
|
|
43516
43524
|
{
|
|
43517
43525
|
description: "Use when: reading a note as Markdown, with checklist items annotated [x]/[ ] when Full Disk Access is granted.\nReturns: the note's Markdown.\nDo not use when: you need the raw HTML/plaintext body (get-note-content) or only metadata (get-note-details).\nNote: falls back to plain lists (no checkmarks) without Full Disk Access.",
|
|
@@ -43544,7 +43552,7 @@ server.registerTool(
|
|
|
43544
43552
|
return successResponse(markdown, { markdown });
|
|
43545
43553
|
}, "Error getting note as markdown")
|
|
43546
43554
|
);
|
|
43547
|
-
|
|
43555
|
+
registerTool(
|
|
43548
43556
|
"get-checklist-state",
|
|
43549
43557
|
{
|
|
43550
43558
|
description: "Use when: reading the checked/unchecked state of a note's checklist items, by id.\nReturns: each item's text and done state plus checked/total counts.\nDo not use when: you only have a title (get the id via search-notes first) or want the full body text (get-note-content).\nNote: requires Full Disk Access; reads the NoteStore database directly.",
|
|
@@ -43580,7 +43588,7 @@ ${summary}`,
|
|
|
43580
43588
|
);
|
|
43581
43589
|
}, "Error reading checklist state")
|
|
43582
43590
|
);
|
|
43583
|
-
|
|
43591
|
+
registerTool(
|
|
43584
43592
|
"get-note-metadata",
|
|
43585
43593
|
{
|
|
43586
43594
|
description: "[BETA] Use when: reading note metadata AppleScript cannot expose \u2014 pinned state, checklist flags, trash/recovery state, preview snippet, password hint \u2014 by id.\nReturns: a metadata object; fields vary by macOS version and are omitted when unavailable.\nDo not use when: you need the body (get-note-content) or per-item checklist state (get-checklist-state).\nNote: reads the NoteStore SQLite database read-only and requires Full Disk Access. BETA \u2014 the database schema changes between macOS releases, so some fields may be absent. Works on trashed notes that AppleScript can no longer resolve.",
|
package/package.json
CHANGED