Upload image
preview_upload_image- Group
- Preview
- Turned on by
- Its own switch on the Tools page of Conversation settings.
- Approval
- Reviewed: writes and open-ended actions ask for approval unless the security level or an earlier “Always allow” covers them.
- Profile key
tool.preview_upload_image.description
Puts an image from this conversation into a file input on the conversation's preview page, as a real file.
Only models with the Vision capability get this tool (see model properties).
When it asks you
Asks at Manual and Accept edits, because the image leaves the conversation; Always allow is not offered. If you have been using the page yourself, the pane asks you to give it back. If the page is signed in to a site, Mewrk first asks you to approve the takeover, at every security level. See Browser and preview.
Good to know
selectoris optional. Without it, the image goes into the file chooser the page has open, or else into the first file input on the page. A hidden file input works.- While a file chooser is open, the model's other page tools are refused until this tool fills it.
Parameters
| Parameter | Type | Details |
|---|---|---|
image_id requiredImage number | string | Image number (3, #3, [Image #3]) or 64-char hex digest. |
filenameFile name | string | The file name the page sees. Defaults to the attachment's own name. |
selectorCSS selector | string | Default: open file chooser, else first file input. |
serverIdServer ID | string | Server ID |