vision_upload
Upload a local image to DeepSeek's Files API and receive a reusable file_id for later vision analysis. Specify an expiration time or store permanently to enable subsequent image processing.
Instructions
Upload a local image to DeepSeek Files API and return its reusable file_id.
Local paths must be inside DEEPSEEK_VISION_ALLOWED_ROOTS. expires_seconds: 3600..2592000 (1h..30d), or null for permanent storage.
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": {
"local_path": "<local_path>"
},
"name": "vision_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | Yes | ||
| expires_seconds | No |