media_svg_backfill
Adds missing width and height attributes to SVG media attachments, processing up to a set limit per call and reporting updated and remaining files.
Instructions
Write width and height into SVG attachments that have none, up to limit per call; returns { updated, remaining }.
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": {
"site": "<site>"
},
"name": "media_svg_backfill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| limit | No | Most SVG attachments handled in this call, 1..500 |