Restore files and folders from the recovery bin
tarkle_restore_from_binBring up to 20 files and folders back from the bin (ids from tarkle_list_bin). Each returns to the folder it was in, if that folder still exists (otherwise restore the folder first: PARENT_UNAVAILABLE), and only within the plan's bin retention (EXPIRED). A name that is now taken is refused. Owners and Admins; other members only for files they uploaded themselves (folders: Owners and Admins). 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>"
},
"name": "tarkle_restore_from_bin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileIds | No | Files to restore, each a fileId from tarkle_list_bin. | |
| folderIds | No | Folders to restore, each a folderId from tarkle_list_bin. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| restored | No | ||
| notRestored | No |