List Items
list_itemsLists library items in a compact shape (id, title, url, saved_at, tags - no body text) with sorting, filters and pagination. Use sort=saved for newest first, sort=oldest for oldest first, sort=opened for most recently opened, sort=title for alphabetical. Filters: since/until (saved date range in UTC; date-only and zoneless values are UTC, pass offset like -08:00 for local days), domain (host), pinned, type (note|url). For full-text search use search_library; for reading history use reading_history.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter by tag. | |
| sort | No | Sort order. | saved |
| tags | No | Filter by multiple tags (AND). | |
| type | No | Only notes or only saved urls. | |
| limit | No | Number of items to return. | |
| since | No | ISO datetime (inclusive): only items saved at/after it. saved_at is UTC; date-only (YYYY-MM-DD) and zoneless values are read as UTC (date-only starts at 00:00:00 UTC). Callers should pass an offset (e.g. -08:00) for local days. | |
| until | No | ISO datetime (inclusive): only items saved at/before it. saved_at is UTC; date-only (YYYY-MM-DD) and zoneless values are read as UTC (date-only covers through 23:59:59 UTC). Callers should pass an offset (e.g. -08:00) for local days. | |
| cursor | No | Opaque cursor for pagination (alt. to offset). | |
| domain | No | Only items from this host (e.g. example.com). | |
| fields | No | Projection: fields to include. Default: id, title, url, saved_at, tags. | |
| offset | No | Pagination offset. | |
| pinned | No | Only pinned (true) or only unpinned (false). | |
| tags_all | No | Only items carrying ALL of these tags. Child tags linked via parent count ('/' is disallowed in tag names). | |
| tags_any | No | Only items carrying ANY of these tags. Child tags linked via parent count ('/' is disallowed in tag names). | |
| untagged | No | Only items without any tag. | |
| tags_none | No | Exclude items carrying any of these tags. Child tags linked via parent count ('/' is disallowed in tag names). | |
| read_state | No | Only items in this read state. |