Set card cover
set_coverSet or replace a Yoto card's cover using a design cover value or an uploaded image; confirm replacement when a cover already exists.
Instructions
Set the card's cover in the Yoto app: either cover (a "cover:…" value from design_cover) or an image to upload (portrait, about 638x1011 for most cards; Yoto crops to fit). If the card already has a cover, the parent is asked to confirm replacing it; the old one stays in the backup.
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": {
"card_id": "<card_id>"
},
"name": "set_cover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cover | No | A "cover:…" value from design_cover. | |
| card_id | Yes | The card ID from list_cards (5 characters, e.g. "a1B2c"). | |
| confirm | No | Only set true after the parent explicitly agreed to replace the existing cover. | |
| image_url | No | Link to a PNG, JPEG, GIF or WebP image. | |
| cover_type | No | Shapes the crop: "default" (portrait), "podcast"/"radio" (square), "myo". | |
| image_path | No | Absolute path to an image on the computer running this server (local use only). |