get-note-tables
Reads native tables from one exact note as GitHub-flavored Markdown and JSON rows with stable IDs; page large results using offset and maxBytes.
Instructions
Use when: reading the native tables in one exact note as data or Markdown. Returns: one page of whole tables in body order as GitHub-flavored Markdown (first row as header) plus JSON rows with stable row/column ids, tableCellsComplete, and page info. Default limit 500 and maxBytes 4 MiB; while page.hasMore is true, call again with offset set to page.nextOffset. The byte budget includes the full serialized tool response, including repeated Markdown. Do not use when: you need the whole note (get-note-markdown / get-note-content) or native object ranges and checklist ids (get-native-objects). Safety: read-only; reads the NoteStore database and requires Full Disk Access. A cell that cannot be decoded is null in rows, listed in incompleteCells, and marked [undecoded cell] in Markdown; it is never guessed. A table larger than an empty page returns metadata only with complete: false and contentOmitted: true; increase maxBytes (max 8 MiB) or export the note to a file. Cell text only: links and styling inside cells are not rendered.
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": {
"id": "<id>"
},
"name": "get-note-tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Exact note ID returned by search-notes, list-notes, or create-note: x-coredata id, Notes UUID, or numeric key | |
| limit | No | Maximum tables to return (default and max 500) | |
| offset | No | Zero-based position of the first table (default 0); use page.nextOffset | |
| maxBytes | No | Maximum UTF-8 bytes of the serialized tool response (default 4194304, max 8388608) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| page | No | ||
| tables | No | ||
| markdown | No | ||
| tableCount | No | ||
| tableCellsComplete | No |