Delete Database Row
delete_database_rowDeletes a specific row from an AFFiNE database block using document, database block, and row block IDs.
Instructions
Delete a row from an AFFiNE database block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document ID containing the database | |
| rowBlockId | Yes | Row paragraph block ID to delete | |
| workspaceId | No | Workspace ID (optional if default set) | |
| databaseBlockId | Yes | Block ID of the affine:database block | |
| expectedRevision | No | Optional read_doc revision of this primary document. Reject stale content before writing. Covers document content, not workspace metadata; requires all writers to share one MCP server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| error | No | ||
| deleted | No | ||
| details | No | ||
| causeCode | No | ||
| retryable | No | ||
| rowBlockId | No | ||
| databaseBlockId | No | ||
| recoveryGuidance | No |