upload_translation_key_screenshot
Upload a base64-encoded screenshot (PNG/JPG/JPEG) to a translation key, replacing any existing one. Requires a valid key, with optional namespace.
Instructions
This tool will upload a screenshot for a translation key from a base64-encoded image.
Provide 'key' (required), optionally 'namespace', and 'base64' (required, PNG/JPG/JPEG, max 2MB).
Replaces the existing screenshot if one exists. Throws an error if the translation key does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The translation key name. | |
| base64 | Yes | Screenshot image encoded in base64 (PNG/JPG/JPEG, max 2MB). Replaces any existing screenshot. | |
| namespace | No | The namespace for the translation key (optional). |