Skip to content

Sharpen

🤖 AI Drafted (Not reviewed)

An unsharp mask on the lightness, written as an enhanced rendition, without modifying source files.

Tool id sharpen_images
Category transform
Uses a language model no
Needs a generative model no
Runs over many items yes
Item handling batch
Structured output no
Human-verified not yet

What it reads

Port Type Required What it is
Files (files) files yes Image files to adjust.
Documents (documents) json no Document metadata for preview-editor edit-chain updates.

What it emits

Port Type Required What it is
Adjusted Files (output_files) files — Derived image files.

Options

Option Type Default What it does
amount number 1.5 Weight of the page; the blur is weighted 1 - amount.
compression_quality integer 90 JPEG/WebP compression quality.
output_dir string — Optional output directory. Defaults to a temp directory.
output_format string jpg Derived image format. One of: jpg, png, tiff, webp.
sigma number 3.0 Blur radius in pixels.

The prompt it sends

This tool does not send a prompt — it does its work in code.