Upload a wiki asset
wiki_upload_assetUpload a local file to the wiki as an asset and retrieve its ID, URL, and ready-to-paste markdown reference. Specify the file path, optional alt text, and folder.
Instructions
Upload a local file to the wiki as an asset and return its id, URL, and a ready-to-paste markdown reference. The file is read from the machine running this server, subject to WIKI_MAX_UPLOAD and WIKI_UPLOAD_ALLOWLIST. The returned url and markdown assume the root folder; for a non-root folderId, prefix the folder path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| altText | No | Alt text for the returned markdown snippet. Defaults to empty. | |
| filePath | Yes | Absolute path to a file on the machine running this server. | |
| folderId | No | Asset folder id. 0 is the root folder (the default) — never null. |