Delete note
bm_deleteDelete a Basic Memory note or directory permanently, optionally only if its checksum still matches the revision you read; directory removal requires recursive=true.
Instructions
Delete a Basic Memory note (identifier) or a directory (path). A directory delete removes every file under it and needs recursive=true. Pass expected_checksum (from bm_read) to delete a note only if it is still the revision you read. A note that does not exist is an error. This cannot be undone.
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": {
"project": "<project>"
},
"name": "bm_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The directory to delete, with everything in it. | |
| project | Yes | Required project name, 'workspace/project', or project external id. Discover projects with bm_project(command='list'). Paths are relative to this project; a qualified path must agree with it. | |
| recursive | No | Required true to delete a directory and everything under it. | |
| identifier | No | The note to delete: a path, permalink, memory:// URL or exact title. | |
| output_format | No | text | |
| expected_checksum | No | Delete the note only while it is still this revision (from bm_read). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |