Samsung Notes

v0.1.6
io.github.Mhemd139/samsung-notes Checked 1 hour ago Published 1 day ago

Read Samsung Notes: typed text, tables, handwritten pages, photos and PDFs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

notes_overview Notes overview

Start here. Shows where notes are read from, every folder with its note count, totals, and any problems such as locked or unreadable notes.

list_notes List or search notes

Find notes: newest first, filtered by words, folder, modified dates, attachments or handwriting. Returns note ids for the other tools, and next_offset while more remain.

ParameterTypeDescription
folderstringFolder name from notes_overview, e.g. "Invoices". Includes subfolders. Use "(no folder)" for notes outside folders.
has_attachmentsbooleantrue: only notes with photos or PDFs. false: only notes without.
has_handwritingbooleantrue: only notes with handwriting or drawings. false: only notes without.
limitinteger
modified_afterstringOnly notes last edited on or after this day, YYYY-MM-DD. Not the date written on an invoice inside the note.
modified_beforestringOnly notes last edited on or before this day, YYYY-MM-DD. Not the date written on an invoice inside the note.
offsetinteger
querystringWords to find in titles and typed text. Every word must appear. Handwriting isn't searched.

read_note Read a note

Read one note: title, folder, dates, pages, attachment list, typed text with tables, and which pages hold handwriting or drawings.

ParameterTypeDescription
id *stringNote id from list_notes.

get_page_image See a page

See one page as an image. Use it for handwriting, drawings and layout, which read_note's text leaves out. Very tall pages come in overlapping parts: read them all, and count a repeated line once.

ParameterTypeDescription
id *stringNote id from list_notes.
page *integerPage number, starting at 1.
partintegerFor very tall pages: which part to show, starting at 1.

get_attachment Open an attachment

Open a photo or PDF attached to a note, such as an invoice, receipt or scan. Photos come back as images; PDFs as text, plus images of pages without a text layer. Very tall photos and pages come in overlapping parts: read them all before taking figures, and count a repeated line once.

ParameterTypeDescription
file *stringAttachment file name from read_note or list_notes.
id *stringNote id from list_notes.
as_imagesbooleanPDF only: also send images of pages that have text.
pagesarrayPDF only: page numbers to read, starting at 1. Default: the first 5.
partintegerFor very tall photos and PDF pages: which part to show, starting at 1. For a PDF, ask for one page at a time: pages=[N].

save_attachments Save attachments to a folder

Save copies of photos and PDFs attached to notes, such as invoices, receipts and scans, into a folder inside the user's Save folder, under names you choose. Use it only when the user asks to save, collect or organise files. Notes are never changed and no file is overwritten: a taken name gets “ (2)”, and a file whose contents are already in the folder is skipped, so repeating a call is safe. With check_only=true nothing is written: it says which files are already there, so a continued job skips them without opening them.

ParameterTypeDescription
folder *stringFolder inside the Save folder, e.g. “Invoices 2025” or “Invoices/2025”. A relative name, not a full path; created when the first file is saved.
items *arrayFiles to save, up to 50.
check_onlybooleanWrite nothing; only say which files are already in the folder. Use it before opening files to save, and when continuing an earlier job.