Flip Image
flip_imageNeed to mirror an image? Flip it horizontally or vertically by providing the image file path and chosen orientation. Optionally set output name and directory.
Instructions
Flip an image horizontally or vertically via PDF4me /api/v2/FlipImage. Inputs: image_file_path and orientation ('horizontal' or 'vertical'); optional request_doc_name and output path.
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": {
"image_file_path": "<image_file_path>"
},
"name": "flip_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | ||
| orientation | No | horizontal | |
| image_file_path | Yes | ||
| output_file_name | No | ||
| request_doc_name | No |