uploadAndAttachFile
Upload a file to RSpace and attach it directly to a document as a file attachment, supporting all file types including images, PDFs, and data files.
Instructions
Uploads a file to RSpace and attaches it to a document as a proper file attachment
Usage: One-step process to upload any file and attach it to an RSpace document File types: Supports all file types (images, PDFs, data files, protocols, etc.) Attachment: Creates proper RSpace file attachment, not just a link
Parameters:
document_id: RSpace document ID (numeric or global ID like "SD12345")
file_path: Path to the file to upload (e.g., "data/results.pdf")
caption: Optional caption that appears with the attachment
description: Optional description for the uploaded file
Returns: Upload confirmation and document update information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
caption | No | ||
description | No | ||
document_id | Yes | ||
file_path | Yes |