Rename a file
tarkle_rename_fileRename one file. The same rules as the app apply: a name already used in that folder is refused (NAME_TAKEN), and the file extension is part of the name. 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>",
"fileId": "<fileId>",
"name": "<name>"
},
"name": "tarkle_rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The new full name, including the extension. | |
| fileId | Yes | A fileId from tarkle_list_files or 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 |
|---|---|---|---|
| file | No |