get_page
Get content of a workspace page or database row by its ID. Auto-detects the type — no flags needed. Pass mode: "outline" for a token-cheap skim (headings + first line of each section) before deciding whether to fetch the full content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "full" (default) returns the whole markdown body; "outline" returns only headings + the first line of each section — use it to skim long pages cheaply, then re-fetch with "full" if needed | full |
| pageId | Yes | The workspace item ID or database row ID | |
| includeComments | No | Include the page's comment thread (default false, so ordinary reads stay cheap) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| icon | No | ||
| mode | No | "outline" when collapsed | |
| type | Yes | page | database | |
| title | No | ||
| content | No | Markdown body (collapsed in outline mode) | |
| comments | No | Present only when includeComments is true | |
| databaseId | No | ||
| properties | No | Database-row properties (rows only) | |
| recurrence | No | Present when this row is one occurrence of a repeating series: seriesId, occurrenceDate, detached, rule, occurrences | |
| fullContentChars | No | Full body size in chars (outline mode) — gauge whether a "full" fetch is worth it |