upload_image
Upload an image file or URL to a LegendKeeper world's asset library, returning its asset ID and URL for wiki pages, resource banners, or map images.
Instructions
Upload an image to the world's asset library and return its asset id and URL. Use the URL in a page
image (), a resource banner (update_resource banner_url) or as a map image
(create_document / update_document map_image_asset_id).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Asset name (default: file name). | |
| source | Yes | Local file path (as seen by this server) or an http(s) URL of a JPEG/PNG/GIF/WebP. | |
| project | No | Configured project (world) name. Omit to use the default project; see list_projects. | |
| folder_id | No | Asset folder id (see list_assets). | |
| description | No |