Cleanup Deleted Blobs
cleanup_blobsPermanently releases deleted blobs in an AFFiNE workspace after you confirm the workspace ID, removing them from storage once they are no longer needed.
Instructions
Permanently release blobs that were already marked deleted in a workspace. This is destructive cleanup and should be used only after confirming deleted blobs are no longer needed.
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": {
"workspaceId": "<workspaceId>",
"confirmWorkspaceId": "<confirmWorkspaceId>"
},
"name": "cleanup_blobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | AFFiNE workspace id whose deleted blobs should be released. | |
| confirmWorkspaceId | Yes | Must exactly match workspaceId to confirm permanent blob cleanup. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| kind | No | ||
| error | No | ||
| status | No | ||
| details | No | ||
| success | No | ||
| causeCode | No | ||
| retryable | No | ||
| workspaceId | No | ||
| blobsReleased | No | ||
| recoveryGuidance | No |