foundry_upload_file
Upload a base64-encoded file or data URL to a Foundry file source. Specify destination path, source, and optional user permissions.
Instructions
Upload a base64-encoded file or data URL to a Foundry file source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Destination directory relative to the selected file source. | |
| source | No | Foundry file source, such as data, systems, or modules. | |
| userId | No | Optional Foundry user ID or username for permission-scoped access. | |
| clientId | No | Foundry client ID; defaults to FOUNDRY_CLIENT_ID. | |
| fileData | Yes | Base64-encoded file content, optionally as a data URL. | |
| filename | Yes | ||
| mimeType | No | ||
| overwrite | No |