upload_translation_key_screenshot_file
Upload a local screenshot to a translation key, replacing any existing image. Provide the key and file path to attach visual context.
Instructions
This tool will upload a screenshot for a translation key from a local file.
Provide 'key' (required), optionally 'namespace', and 'filePath' (required, absolute local path to a PNG/JPG/JPEG file, max 4MB).
Replaces the existing screenshot if one exists. Throws an error if the translation key does not exist.
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": {
"key": "<key>",
"filePath": "<filePath>"
},
"name": "upload_translation_key_screenshot_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The translation key name. | |
| filePath | Yes | Absolute local path to a PNG/JPG/JPEG screenshot file (max 4MB) to upload. Replaces any existing screenshot. | |
| namespace | No | The namespace for the translation key (optional). |