Upload File
lexware_upload_fileUpload files to Lexware by supplying an absolute file path or base64-encoded content. The tool derives the file name from the path and auto-detects MIME types for common image formats.
Instructions
Upload a file to Lexware. Provide either filePath (absolute path on the MCP server host) or contentBase64 (base64-encoded content) — not both. When using filePath, fileName is optional (derived from the file name) and contentType is auto-detected for common image extensions. When using contentBase64, fileName is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | File name for the upload. Required when using contentBase64; derived from filePath when omitted. | |
| filePath | No | Absolute path to the file on the MCP server host. Must be readable by the MCP server process. | |
| contentType | No | MIME type, defaults to application/pdf | |
| contentBase64 | No | Base64-encoded file content. Required when filePath is not provided. |