Toolporten

Image · 1 credit

Image resize

Give agents deterministic image geometry — width, height, crop, rotate — without handing them your whole image suite.

Use in a toolbox

What it does

Call this tool (id: image_resize) for geometry export on a product still: fit, pad to aspect/square, max-edge resize, social presets, expand/fill background. Example: "letterbox still to 9:16" → mode=pad, aspect=9:16.

Example use cases

How it works in Toolporten

Compose image_resize with image_filters in one toolbox when the job is visual. Social presets are mode=preset on image_resize (former image_social_size). Your MCP client lists only enabled tools, so the model stays focused and credit use stays predictable.

MCP call example

{
  "name": "image_resize",
  "arguments": {
    "image": "<base64-png>",
    "width": 512,
    "height": 512,
    "mode": "crop"
  }
}

Related tools

Create a toolbox