Move files to the recovery bin
tarkle_delete_filesMove up to 20 files to the recovery bin of a workspace. This is the app's delete: nothing is erased, and tarkle_restore_from_bin brings a file back within the plan's bin retention. Asks for confirmation first: the first call changes nothing and lists the files and the workspace; show them to the user, then call again with the same inputs and the confirmationCode. A file held by a share link is NOT deleted (that would also delete the link); tell the user to remove the link in Tarkle. Owners and Admins; other members only for files they uploaded themselves. A file that is protected (team folder, file request, system folder), sold, or held by a share link is refused with the reason.
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>",
"fileIds": "<fileIds>"
},
"name": "tarkle_delete_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileIds | Yes | The files to move to the bin, each a fileId from tarkle_list_files. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| workspaceId | Yes | The workspace's id from tarkle_list_workspaces. | |
| confirmationCode | No | The confirmationCode from the first answer of this tool for the same inputs. Send it only after the user approved moving these files to the bin. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | No | ||
| notDeleted | No | ||
| recoverable | No |