Delete data store entries
delete_workspace_dataPermanently deletes selected entries from a workspace key-value store by single key, named keys, or prefix, and previews the effect unless confirmation is set.
Instructions
Permanently deletes from the per-workspace key-value store. Pass exactly ONE of: key (one entry), keys (a NAMED list — up to 100 in a single call, and the right tool for cleaning up your own entries while leaving everything else alone), or prefix (EVERY entry under it, e.g. prefix:"chunk:" clears chunk:0…chunk:99 — for a dataset you own outright). Prefer keys over prefix whenever the store also holds entries you did not create: a prefix that looks like yours can match somebody else's. An empty prefix is refused. Requires confirm=true — call without confirm first to preview.
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>"
},
"name": "delete_workspace_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Delete this one entry. | |
| keys | No | Delete exactly these entries and nothing else. Up to 100 per call. | |
| prefix | No | Delete every entry whose key starts with this. | |
| confirm | No | Must be true to delete. Omit/false returns a preview only. | |
| workspaceId | Yes |