set_page_orientation
Change page orientation to Portrait or Landscape by swapping dimensions when needed. Ensures the PDF or report page matches the requested orientation.
Instructions
Set page orientation by swapping PageHeight and PageWidth when the current orientation doesn't match the requested one. Idempotent. Accepts 'Portrait' or 'Landscape'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| orientation | Yes |