Start a file upload
tarkle_start_uploadStart uploading one file to a Tarkle workspace. Returns signed URLs for sending the bytes directly to storage with HTTP PUT (no Authorization header). Up to 1 GB is one URL; larger files are split into 512 MB parts (a 10 GB file is 20 URLs; ask for more with tarkle_get_upload_parts). The result includes the exact shell command. Size limit: your plan's per-file limit when the client runs on the person's computer (Claude Code, Droid, Cursor); 5 GB in web chat apps (ChatGPT, Claude.ai), which should use tarkle_get_upload_page for larger files. If you cannot run shell commands or reach the network, do not use this tool: use tarkle_upload_text (text you hold), tarkle_upload_from_url (a public https address) or tarkle_get_upload_page. Then poll tarkle_get_upload_status.
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>",
"fileName": "<fileName>",
"sizeBytes": "<sizeBytes>"
},
"name": "tarkle_start_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | Name to save the file under. | |
| folderId | No | Folder to save the file in (from tarkle_list_folders or tarkle_create_folder). Omit for the library root. | |
| 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. | |
| sizeBytes | Yes | The file's exact size in bytes. The upload fails if the bytes sent do not add up to this. | |
| contentType | No | MIME type of the file. | |
| workspaceId | Yes | The workspace's id from tarkle_list_workspaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| status | No | ||
| uploads | No | ||
| fileName | No | ||
| partSize | No | ||
| expiresAt | No | ||
| partCount | No | ||
| sessionId | No | ||
| sizeBytes | No | ||
| contentType | No | ||
| instructions | No |