Delete Database Row
delete_database_rowRemove a row from an AFFiNE database block by specifying document ID, database block ID, and row block ID.
Instructions
Delete a row 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>",
"rowBlockId": "<rowBlockId>"
},
"name": "delete_database_row"
}
}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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | ||
| rowBlockId | Yes | ||
| databaseBlockId | Yes |