Import a photo
import_photoUse this when the user wants a photo brought into RipClip to edit it: "edit my picture", "fix the colors on this image". Up to 24 MB, kept at its own size. Returns job_id; job_status's clip_ids then holds the photo's id for the edit tools. Not for: videos (import_video) or changing what is in the picture, such as removing a person. Free.
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": "import_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | https link to a .jpg, .png or .webp picture, or a Google Drive, Dropbox or OneDrive share link open to anyone with the link. Empty if file is given. | |
| file | No | A picture the user attached in the chat, passed by the assistant. Give this or url. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| note | Yes | ||
| job_id | Yes | ||
| status | Yes | ||
| editor_url | Yes | ||
| project_id | Yes |