Delete Blob
delete_blobRemove a stored blob from an AFFiNE workspace. Optionally bypass recoverable deletion for permanent removal.
Instructions
Delete a blob from AFFiNE workspace storage. Set permanently only when the blob should bypass recoverable deletion.
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>",
"key": "<key>"
},
"name": "delete_blob"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Blob key returned by upload_blob or AFFiNE document metadata. | |
| permanently | No | If true, permanently delete the blob instead of marking it deleted. | |
| workspaceId | Yes | AFFiNE workspace id that owns the blob. |