set_gallery_cover
Assign a media item as the cover for a gallery item by updating its cover_media_id; use attach_gallery_media separately to add a cover-role gallery_item_media row.
Instructions
Set gallery_items.cover_media_id. Use attach_gallery_media separately if you also want a gallery_item_media row with role=cover.
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": {
"item_id": "<item_id>",
"media_id": "<media_id>"
},
"name": "set_gallery_cover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| media_id | Yes |