ds_upload_file
Upload files to Apache DolphinScheduler's resource area from a local path or base64 content, specifying the target directory and FILE or UDF type.
Instructions
Upload a file to the resource area (supports binary, e.g. jar / zip).
Two ways to provide file content: Method 1: local_path — path to a file accessible by the MCP server process Method 2: file_name + file_content_base64 — base64-encoded content
Args: local_path: Local file path (Method 1) file_name: Filename with extension (Method 2) file_content_base64: Base64-encoded file content (Method 2) current_dir: Parent directory path, default root "/" resource_type: FILE or UDF
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ds_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No | ||
| local_path | No | ||
| current_dir | No | / | |
| resource_type | No | FILE | |
| file_content_base64 | No |