Read Database Cells
read_database_cellsRetrieve row titles and database cell values from an AFFiNE database block, including plain text and formatting-preserving rich-text data, with optional row and column filters.
Instructions
Read row titles and database cell values from an AFFiNE database block. Rich-text titles and cells include both plain values and formatting-preserving deltas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document ID containing the database | |
| columns | No | Optional column name or ID filter. | |
| rowBlockIds | No | Optional row block ID filter. Omit to return all rows. | |
| workspaceId | No | Workspace ID (optional if default set) | |
| databaseBlockId | Yes | Block ID of the affine:database block |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| rows | No | ||
| error | No | ||
| details | No | ||
| causeCode | No | ||
| retryable | No | ||
| recoveryGuidance | No |