Read Database Cells
read_database_cellsRetrieve row titles and cell values from an AFFiNE database block by specifying document and database block IDs. Optionally filter by columns or row blocks.
Instructions
Read row titles and database cell values from an AFFiNE database block.
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": {
"docId": "<docId>",
"databaseBlockId": "<databaseBlockId>"
},
"name": "read_database_cells"
}
}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 |