PinMark
v0.3.0Create, search, read and organize PinMark sticky notes on your Mac.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_note Create note
Create a new text note in PinMark. Content is Markdown. Alternatively create it from a template (template id from list_templates); a template cannot be combined with content. The note is not put on the desktop unless open is true (or pin_note is called later); isPinned in the result tells. Returns the new note.
| Parameter | Type | Description |
|---|---|---|
color | string | Preset color name (yellow, blue, green, pink, purple, gray, white) or hex; custom colors require Pro. Overrides the template's color. |
content | string | Markdown body of the note. |
open | boolean | Also put the new note on the desktop and bring it to the foreground (activates PinMark). Default false. |
paper | string | Paper for text notes: plain, lined, dotted, microgrid, grain (free); rice, linen, watercolor, recycled, plum, sakura, constellation, topographic, geometric, fireworks, snowflakes (Pro). Overrides the… |
template | string | Template id from list_templates. Its variables are filled in by PinMark. |
title | string | Optional title; if omitted PinMark derives one from the content. |
create_image_note Create image note
Create an image note in PinMark from an image file on this Mac (PNG, JPEG, HEIC, GIF, …). The file is copied into PinMark; the original is not changed. The note is not put on the desktop unless open is true (or pin_note is called later); isPinned in the result tells.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the image file (~/ is expanded). |
open | boolean | Also put the new note on the desktop and bring it to the foreground (activates PinMark). Default false. |
title | string | Optional title; if omitted PinMark uses the file name. |
append_to_note Append to note
Append Markdown text to an existing text note (e.g. to maintain a running log). Does not act on notes in the trash.
| Parameter | Type | Description |
|---|---|---|
content * | string | Markdown text to append. |
noteId * | string | The note's UUID, as returned by list_notes / search_notes / create_note. |
open | boolean | Bring the note to the foreground after appending. |
separator | string | Separator inserted before the new text when the note is non-empty. Defaults to a blank line. |
update_note Update note
Update an existing note. Provide at least one of content, color, paper (text notes), title, or caption (image notes). content replaces the whole body: start from get_note's content (verbatim Markdown, including pinmark-asset:/// addresses), never from visibleText or preview. Does not act on notes in the trash.
| Parameter | Type | Description |
|---|---|---|
noteId * | string | The note's UUID, as returned by list_notes / search_notes / create_note. |
caption | string | Set the caption (image notes only). |
color | string | Preset color name (yellow, blue, green, pink, purple, gray, white) or hex; custom colors require Pro. Text notes only. |
content | string | Replace the body (text notes only). |
paper | string | Paper for text notes: plain, lined, dotted, microgrid, grain (free); rice, linen, watercolor, recycled, plum, sakura, constellation, topographic, geometric, fireworks, snowflakes (Pro). |
title | string | Set the title (text or image notes). |
get_note Get note
Fetch one note by id. Text notes return content (verbatim Markdown; base edits on it), visibleText (readable text for reading only) and assets (embedded images and drawings). Image notes return the caption and, by default, the image itself as image content; a long image comes in overlapping tiles, a few per call — continue with imageOffset = imageInfo.nextOffset.
| Parameter | Type | Description |
|---|---|---|
noteId * | string | The note's UUID, as returned by list_notes / search_notes / create_note. |
imageOffset | integer | First tile to return for a long image (from imageInfo.nextOffset). Default 0. |
includeImage | Return the image of an image note: auto (default) when this PinMark supports it, true to require it, false to skip it. | |
includeTrash | boolean | Also find the note if it is in the trash (read only). |
list_notes List notes
List notes. Excludes the trash unless includeTrash is set. Results are sorted by last edit time (newest first, ties by noteId) and paged with offset/limit; page tells whether more remain. Paging is not a snapshot: notes edited, added or deleted between calls can shift results, and since is a filter, not a sync cursor.
| Parameter | Type | Description |
|---|---|---|
includeTrash | boolean | Include notes in the trash. |
limit | integer | Max results (1-200, default 20). |
offset | integer | Skip this many results (default 0). Use page.offset + page.returned for the next page. |
onDesktop | boolean | Only notes pinned to the desktop. |
since | string | Only notes last edited at or after this ISO 8601 time, e.g. 2026-10-01T00:00:00Z. |
type | string | Filter by note type. |
search_notes Search notes
Search notes by title, content, caption, or image filename. Results are sorted by last edit time (newest first, ties by noteId) and paged with offset/limit; page tells whether more remain. Paging is not a snapshot: notes edited, added or deleted between calls can shift results, and since is a filter, not a sync cursor.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query. |
includeTrash | boolean | Include notes in the trash. |
limit | integer | Max results (1-200, default 20). |
offset | integer | Skip this many results (default 0). Use page.offset + page.returned for the next page. |
onDesktop | boolean | Only notes pinned to the desktop. |
since | string | Only notes last edited at or after this ISO 8601 time, e.g. 2026-10-01T00:00:00Z. |
type | string | Filter by note type. |
list_templates List templates
List the note templates in PinMark, for create_note's template parameter. usable tells whether the current plan allows a template.
delete_note Delete note
Move a note to the trash. Recoverable with restore_note; not a permanent delete. Idempotent.
| Parameter | Type | Description |
|---|---|---|
noteId * | string | The note's UUID, as returned by list_notes / search_notes / create_note. |
restore_note Restore note
Restore a note from the trash.
| Parameter | Type | Description |
|---|---|---|
noteId * | string | The note's UUID, as returned by list_notes / search_notes / create_note. |
pin_note Pin note to desktop
Pin a note to the desktop: show it as a note window on the desktop. Idempotent. This is not 'float on top' (a separate window setting in the app). The result's isPinned tells whether the note is on the desktop.
| Parameter | Type | Description |
|---|---|---|
noteId * | string | The note's UUID, as returned by list_notes / search_notes / create_note. |
unpin_note Unpin note from desktop
Unpin a note from the desktop: close its desktop window. The note stays in the workspace. Idempotent; fails with unpin_blocked if the note could not be saved and stays on the desktop.
| Parameter | Type | Description |
|---|---|---|
noteId * | string | The note's UUID, as returned by list_notes / search_notes / create_note. |
open_note Open note
Bring a note to the foreground on the desktop (this one intentionally activates PinMark).
| Parameter | Type | Description |
|---|---|---|
noteId * | string | The note's UUID, as returned by list_notes / search_notes / create_note. |