upload-file
Upload a file to a wiki by providing base64-encoded content, target filename, and description.
Instructions
Upload a file to the wiki from base64-encoded data. Provide the file content as a base64 string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Base64-encoded file content | |
| user | No | Name of the person requesting this upload (for attribution). Ask the user if not known | |
| wiki | No | Wiki name (uses default if omitted) | |
| comment | No | Upload comment | |
| filename | Yes | Target filename on the wiki | |
| description | Yes | File description (wikitext) |