upload-files
Upload files to a syntx.ai account. Accepts local paths or base64-encoded content, automatically detects MIME type, and detects duplicates to avoid re-uploading.
Instructions
Upload one or more files to the syntx.ai account. Each file entry accepts either path (server-side file path, e.g. "C:\photo.jpg") OR content_base64 (inline base64, with optional data:<mime>;base64, prefix). For base64 entries, filename is required; mime_type is auto-guessed from extension if omitted. Max 10 files per call, 100 MB each. Returns { files: [{ url, filename, size, mime_type }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files to upload. | |
| model_type | No | Model identifier to scope the upload to (mirrors the SPA's `settings.model_type` field). Defaults to the server default model, or empty string when none is configured. | |
| check_duplicates | No | Ask the server to detect duplicates and skip them. |