Upload files to DeepSeek
upload_filesUpload local files to a DeepSeek account and get file IDs for attaching them to chat prompts via refFileIds.
Instructions
Upload one or more local files (images, PDFs, documents, code, archives) to the DeepSeek account. Returns a file id per upload; pass those ids as refFileIds to the chat tool to attach them to a prompt. Max 104857600 bytes per file.
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": {
"filePaths": "<filePaths>"
},
"name": "upload_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePaths | Yes | Absolute or relative local paths to upload. |