contentrain_register_asset
Register a new asset in Contentrain CMS by adding it to assets.json with its path, MIME type, and alt text for structured content management.
Instructions
Register a new asset in assets.json. The file must already exist at the specified path in the repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path to the asset file (e.g., "contentrain/static/hero.png") | |
| mimetype | Yes | MIME type (e.g., "image/png", "image/jpeg", "application/pdf") | |
| alt | No | Alt text for the asset |