blogger_media_to_base64
Convert local images to Base64 Data URI and generate a Blogger tag snippet. Embeds images permanently in posts without external hosting.
Instructions
Convert a local image file (.png, .jpg, .jpeg, .webp, .gif, .svg) into an embedded Base64 Data URI and generate a ready-to-use Blogger tag snippet. Guaranteed permanent embedding inside Blogger post bodies without external host dependencies.
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": {
"filePath": "<filePath>"
},
"name": "blogger_media_to_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | Alt text description for the <img> tag | |
| style | No | Custom CSS inline style string for the <img> tag (defaults to responsive container with rounded corners and shadow) | |
| filePath | Yes | Absolute local path to the image file (e.g. '/home/user/pictures/hero.png') |