PinMark

v0.3.0
space.pinmark/pinmark Checked 1 day ago Published 28 days ago

Create, 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.

ParameterTypeDescription
colorstringPreset color name (yellow, blue, green, pink, purple, gray, white) or hex; custom colors require Pro. Overrides the template's color.
contentstringMarkdown body of the note.
openbooleanAlso put the new note on the desktop and bring it to the foreground (activates PinMark). Default false.
paperstringPaper for text notes: plain, lined, dotted, microgrid, grain (free); rice, linen, watercolor, recycled, plum, sakura, constellation, topographic, geometric, fireworks, snowflakes (Pro). Overrides the…
templatestringTemplate id from list_templates. Its variables are filled in by PinMark.
titlestringOptional 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.

ParameterTypeDescription
path *stringAbsolute path to the image file (~/ is expanded).
openbooleanAlso put the new note on the desktop and bring it to the foreground (activates PinMark). Default false.
titlestringOptional 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.

ParameterTypeDescription
content *stringMarkdown text to append.
noteId *stringThe note's UUID, as returned by list_notes / search_notes / create_note.
openbooleanBring the note to the foreground after appending.
separatorstringSeparator 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.

ParameterTypeDescription
noteId *stringThe note's UUID, as returned by list_notes / search_notes / create_note.
captionstringSet the caption (image notes only).
colorstringPreset color name (yellow, blue, green, pink, purple, gray, white) or hex; custom colors require Pro. Text notes only.
contentstringReplace the body (text notes only).
paperstringPaper for text notes: plain, lined, dotted, microgrid, grain (free); rice, linen, watercolor, recycled, plum, sakura, constellation, topographic, geometric, fireworks, snowflakes (Pro).
titlestringSet 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.

ParameterTypeDescription
noteId *stringThe note's UUID, as returned by list_notes / search_notes / create_note.
imageOffsetintegerFirst tile to return for a long image (from imageInfo.nextOffset). Default 0.
includeImageReturn the image of an image note: auto (default) when this PinMark supports it, true to require it, false to skip it.
includeTrashbooleanAlso 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.

ParameterTypeDescription
includeTrashbooleanInclude notes in the trash.
limitintegerMax results (1-200, default 20).
offsetintegerSkip this many results (default 0). Use page.offset + page.returned for the next page.
onDesktopbooleanOnly notes pinned to the desktop.
sincestringOnly notes last edited at or after this ISO 8601 time, e.g. 2026-10-01T00:00:00Z.
typestringFilter 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.

ParameterTypeDescription
query *stringSearch query.
includeTrashbooleanInclude notes in the trash.
limitintegerMax results (1-200, default 20).
offsetintegerSkip this many results (default 0). Use page.offset + page.returned for the next page.
onDesktopbooleanOnly notes pinned to the desktop.
sincestringOnly notes last edited at or after this ISO 8601 time, e.g. 2026-10-01T00:00:00Z.
typestringFilter 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.

ParameterTypeDescription
noteId *stringThe note's UUID, as returned by list_notes / search_notes / create_note.

restore_note Restore note

Restore a note from the trash.

ParameterTypeDescription
noteId *stringThe 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.

ParameterTypeDescription
noteId *stringThe 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.

ParameterTypeDescription
noteId *stringThe 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).

ParameterTypeDescription
noteId *stringThe note's UUID, as returned by list_notes / search_notes / create_note.