manus_file_upload
Upload files from local path, base64 bytes, or public URL to get a file_id for task references. Handles presigned URL creation, byte upload, and optional wait for processing.
Instructions
Upload a file end-to-end: create presigned URL, PUT bytes, and (by default) wait until status=uploaded. Accepts one of: local path, base64-encoded bytes, or a public URL to fetch first. Returns the final file record ready to reference as file_id in tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| filename | No | Target filename (extension determines type). Derived from path/url if omitted. | |
| content_type | No | MIME type for the presigned PUT. Auto-detected from filename if omitted. | |
| wait_for_processing | No | Poll file.detail until status=uploaded (or fail). If false, return immediately after PUT. | |
| wait_timeout_sec | No | ||
| poll_interval_sec | No |