Attach Lingard Card Images
lingard_attach_card_imagesAttaches supplied images to existing Lingard cards. It does not generate images: each entry carries the image itself as imageBase64 or dataUri, or an imageUrl that the server downloads. PNG, JPEG, WebP, and SVG inputs are converted to WebP and uploaded as private custom card images; an image the card already has is replaced. commit=true writes.
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": {
"targetLang": "<targetLang>",
"images": "<images>"
},
"name": "lingard_attach_card_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | No | True uploads and attaches. Default false returns a dry-run preview without writing. | |
| images | Yes | One entry per card to illustrate. Each entry needs a card selector (`cardId` or `title`) and exactly one image source (`imageBase64`, `dataUri`, or `imageUrl`). | |
| targetLang | Yes | ||
| collectionUuid | No | ||
| collectionTitle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| images | Yes | ||
| skipped | Yes | ||
| summary | Yes | ||
| committed | Yes | ||
| targetLang | Yes | ||
| upsertResult | No |