adjust_crop_position
Reposition an existing crop area in a RAW photo profile to a new position using named coordinates or pixel offsets, updating the profile in-place.
Instructions
Reposition an existing crop within the source image bounds.
Moves the crop area defined in a PP3 profile to a new position. Accepts named positions ('left', 'center', 'right' for horizontal; 'top', 'center', 'bottom' for vertical) or pixel offsets as strings. The profile is updated in-place. Params: profile_path, file_path, horizontal, vertical, include_preview, preview_max_width
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": {
"profile_path": "<profile_path>",
"file_path": "<file_path>"
},
"name": "adjust_crop_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_path | Yes | ||
| file_path | Yes | ||
| horizontal | No | center | |
| vertical | No | center | |
| include_preview | No | ||
| preview_max_width | No |