Read note
get_noteRetrieve a TriliumNext note by ID with its metadata, HTML or Markdown body, and embedded images. Use paging and metadata-only mode to read or navigate large notes.
Instructions
Read a note. Returns a metadata JSON block (title, type, attributes, parent/child IDs, and contentInfo with the total size and returned character range), then the body (stored HTML by default), then any images embedded in the body. Bodies over 50000 characters are paged via content_start/content_max_chars. Pass include_content=false for metadata only, include_path=true for breadcrumbs of where the note lives, include_backlinks=true for notes linking to it (a slow scan of all note bodies).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"noteId": "<noteId>"
},
"name": "get_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | "html" (default) returns the stored HTML — use it before write_note edits. "markdown" is a lossy, more compact view for reading only. Ignored when include_content=false. | html |
| noteId | Yes | ID of the note to retrieve | |
| include_path | No | Add "paths" to the metadata: for every place the note sits in the tree (one per parent, clones included), the noteId path and a human-readable title breadcrumb like "root > Projects > Plan". Use it to tell the user WHERE a note lives. At most 10 paths; pathsTruncated:true marks a note with more placements. | |
| content_start | No | Character offset into the (format-converted) content to start from — for paging through large notes. Defaults to 0. The metadata block reports the returned range and total size. | |
| includeImages | No | Return images embedded in the note body as image blocks — only on the first page (content_start=0), at most ~1 MB each and ~4 MB total; larger ones are listed for get_attachment. Also controls whether an image NOTE (type image) returns its picture. Costly; pass false when you only need text. | |
| include_content | No | Include the note body (default true). Pass false for metadata-only navigation (title, type, attributes, parent/child IDs). | |
| content_max_chars | No | Maximum content characters to return (default 50000). When the note is larger, the content is truncated with a notice explaining how to fetch the rest. | |
| include_backlinks | No | Add "backlinks" to the metadata: notes whose content links to (or mentions the ID of) this note, with noteId and title (max 50; backlinksTruncated:true when there are more). Relations without a link in the content (e.g. ~author) are not included. This is a slow full-text scan of every note body; if Trilium is busy or it times out, the note is still returned, with backlinksError instead of backlinks. |