safari_paste_image
Paste a local image file into the focused browser element using JS DataTransfer, avoiding clipboard use and focus changes on sites like Medium and dev.to.
Instructions
Paste an image from a local file into the focused element via JS DataTransfer (no clipboard, no focus steal). Works on Medium, dev.to, HackerNoon, TOI, etc.
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": "safari_paste_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | No | Tab receipt from safari_new_tab — pins this call to that tab (survives reconnects/subagents) | |
| filePath | Yes | Absolute path to the image file (PNG, JPG, WebP) |