strapi_update_media_info
Update Strapi Media Library file metadata like name, alternative text, or caption by providing the file ID and updated information.
Instructions
Update Strapi Media Library file metadata such as name, alternativeText, or caption.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileId": "<fileId>",
"fileInfo": "<fileInfo>"
},
"name": "strapi_update_media_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | Numeric Strapi upload file id. | |
| fileInfo | Yes | Media metadata object, for example {"name":"Hero","alternativeText":"Hero image"}. |