Copy a file
tarkle_copy_fileCopy one file inside Tarkle (nothing is downloaded or uploaded again). folderId: the destination folder, null for the library root, left out for the same folder. name: the copy's full name with its extension, left out for the same name; a name already used there is refused (NAME_TAKEN), a copy is never renamed silently, so copying into the same folder needs a new name. The copy counts toward storage and the plan's file size limit (FILE_TOO_LARGE, STORAGE_LIMIT_EXCEEDED). Folders cannot be copied.
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>",
"fileId": "<fileId>"
},
"name": "tarkle_copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The copy's full name, including the extension. | |
| fileId | Yes | The file's fileId, from tarkle_list_files or tarkle_list_bin. | |
| folderId | No | The destination folder, null for the library root, or leave out for the same folder. | |
| 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 |
|---|---|---|---|
| file | No |