Summary
Retrieve table structure and dimensions by locator.- Operation ID:
tables.get - API member path:
editor.doc.tables.get(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a TablesGetOutput with the table row count, column count, and structural metadata.Input fields
Variant 1 (target.nodeType=“table”)
| Field | Type | Required | Description |
|---|---|---|---|
target | TableAddress | yes | TableAddress |
target.kind | "block" | yes | Constant: "block" |
target.nodeId | string | yes | |
target.nodeType | "table" | yes | Constant: "table" |
Variant 2 (required: nodeId)
| Field | Type | Required | Description |
|---|---|---|---|
nodeId | string | yes |
Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
address | TableAddress | yes | TableAddress |
address.kind | "block" | yes | Constant: "block" |
address.nodeId | string | yes | |
address.nodeType | "table" | yes | Constant: "table" |
columns | integer | yes | |
nodeId | string | yes | |
rows | integer | yes |
Example response
Pre-apply throws
TARGET_NOT_FOUND
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema

