Start a photo
photo_newStart editing a photo your user gave you: a canvas people watch while you adjust it, one named adjustment at a time. Give src (an https URL, or a data: URL); or, for a file you can send with curl (you run commands), upload: true: the reply has an address to send its bytes to; or neither, for a photo attached in a chat: the reply has both an upload address, for when your code tool has the file and can reach this site (Claude's keeps attachments in /mnt/user-data/uploads), and a link where your user drops it if you can't. JPEG, PNG or WebP; HEIC is not read yet (ask for JPEG). Its limits are your user's plan's (megapixels, MB). The original is never changed: location data is removed when it is taken in, and edits are a list you change, switch off or reorder (photo_edit). Give the watch link to your user right away. Nothing is generated: you can crop, straighten, correct exposure and color, blur, sharpen, vignette and add grain, through shapes that limit where each applies, cover a small spot or blemish with clone, heal or spot, which copy pixels from elsewhere in the same photo, and build layers: adjustment layers, colour and gradient fills, text and shapes, and other photos your user gives you placed on it (photo_place); there is no generative fill and no extending the picture. Only photos your user may use; never edit a real person to sexualize, humiliate or impersonate them.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "photo_new"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src | No | an https URL or a data: URL of the photo | |
| name | No | the file's own name (IMG_2041.jpg), kept with the photo so photo_look can say which it is | |
| title | No | ||
| upload | No | true: reply with an upload address for a file you have (send it with curl --data-binary). Leave out src and upload for a photo attached in a chat: an upload address and a link where your user drops it | |
| private | No | true (default while your user's plan has room): only people invited can open it |