media_upload
Uploads a local file from the configured upload directory to LibreDesk media storage, optionally as inline media or linked to a model such as messages.
Instructions
Media Upload POST /api/v1/media Tags: Media
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | (body, file) File to upload. Only the first file is used. Size and extension limits come from the upload settings. — pass a file path inside the directory set by LIBREDESK_MCP_UPLOAD_DIR (uploads are refused while it is unset); the server will upload its contents. | |
| inline | No | (body) Set to 'true' to store the file with an inline disposition (e.g. an inline image) instead of as an attachment. | |
| linked_model | No | (body) Name of the model the uploaded media is linked to, e.g. `messages`. `help_articles` stores the file as publicly served media and requires the `help_center:manage` permission. |