set_image_sizing
Set the sizing behavior of an image in a paginated report: AutoSize, Fit, FitProportional, or Clip. Idempotent operation avoids unnecessary saves.
Instructions
Set / on a named Image. sizing ∈ AutoSize / Fit / FitProportional / Clip. AutoSize renders at native size (box grows to fit); Fit stretches to fill (ignores aspect ratio); FitProportional preserves aspect ratio; Clip renders at native size, clipped to the box. Idempotent: same value → {changed: false}, no save.
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": {
"path": "<path>",
"image_name": "<image_name>",
"sizing": "<sizing>"
},
"name": "set_image_sizing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| sizing | Yes | ||
| image_name | Yes |