Recent notes
get_recentRetrieve recently modified notes in newest-first order, filtered by folder, tags, frontmatter, or time range, with optional content-change ordering.
Instructions
Get recently modified notes, newest first.
Each line shows the note's modification time in UTC, as "YYYY-MM-DD HH:MM UTC".
Notes whose content changed since a point in time:
order_by="content_changed" with since. File mtime (the default order)
also moves when a file is touched or re-synced without a content change;
content_changed moves only when the indexed content hash changes, and each
line is then labelled changed. For an exact list of creations, edits,
moves and deletions since a stored cursor, see get_changes.
Args:
limit: Number of recent notes to return (default 20).
folder: Optional folder prefix to filter (e.g. "Projects/").
tags: Optional list of tag names; only notes carrying ALL listed tags match
(e.g. ["meeting"]).
frontmatter: Optional dict of frontmatter key/value pairs; strict type match
(e.g. {"status": "active"}).
since: Optional UTC lower bound, inclusive: YYYY-MM-DD (that whole UTC
day) or an ISO 8601 datetime with Z or ±HH:MM (no offset is refused).
until: Optional UTC upper bound, exclusive; a date includes that whole day.
order_by: "mtime" (default) or "content_changed"; the bounds apply to it.
cursor: The more: cursor=… value from the previous page of the same call.
When any of since/until/order_by/cursor is given, a full page ends with
that footer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| limit | No | ||
| since | No | ||
| until | No | ||
| cursor | No | ||
| folder | No | ||
| order_by | No | ||
| frontmatter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |