Convert pictures with Rapier
convertConvert pictures and video to JPEG XL and back in the converter in this app's view, on the person's device, JPEG carried byte-exact and other JXL to PNG, omitting files for the picker or linking https://rapier.website/jxl without a view. quality: high, veryhigh, lossless, or 1-100 (100 is lossless). Fresh view: high. Omitted quality/effort retain view choices. effort 1-10 (7 on a fresh view), higher is smaller and slower, 9 and 10 take a while, 10 can take 20 to 30 minutes for a 12 MP photo. Animation, video, longer_side and max_bytes cap effort at 9. max_bytes is per file and carries JPEG exactly when it fits. longer_side never enlarges. remove_location removes GPS only.
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": "convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Display only, grants no authority. | |
| files | No | ||
| effort | No | ||
| quality | No | ||
| max_bytes | No | ||
| longer_side | No | ||
| operation_id | No | ||
| remove_location | No |