dspace_upload_bitstream
Upload a local file as a bitstream attachment to a DSpace item, adding it to the target bundle (default ORIGINAL) and creating the bundle if it does not exist. Admin only.
Instructions
Upload a local file as a bitstream (attachment) to a DSpace item (admin only). The file is added to the item's bundle (default "ORIGINAL", where DSpace stores primary files); the bundle is created automatically if it does not exist.
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": {
"itemUuid": "<itemUuid>",
"filePath": "<filePath>"
},
"name": "dspace_upload_bitstream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Bitstream name shown in DSpace (defaults to the file name) | |
| filePath | Yes | Absolute path to the local file to upload | |
| itemUuid | Yes | UUID of the item to attach the file to | |
| mimeType | No | MIME type of the file (auto-detected from the extension if omitted) | |
| bundleName | No | Target bundle name (default: "ORIGINAL"). Use "LICENSE" or "THUMBNAIL" for special bundles. | |
| description | No | Optional description stored as dc.description on the bitstream |