ds_upload_file
Upload a local file or directory to a specified iRODS path by retrieving instructions for WebDAV, GoCommands, and iCommands.
Instructions
Returns how to upload the full contgent of a file (data-object) to the specified path. The specified path must be an iRODS path. Returns how to upload the file using WebDAV, GoCommands (gocmd), and iCommands.
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>",
"irods_path": "<irods_path>"
},
"name": "ds_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_dir | No | Set to true if uploading a directory (collection). Default is false. | |
| irods_path | Yes | The target iRODS path to upload the file (data-object) to. | |
| local_path | Yes | The local path to the file (data-object) to upload. |