photoshop_content_aware_fill
Remove distractions or erase objects by filling a pixel selection with Content-Aware Fill. Requires an active selection; deselects afterward.
Instructions
Fill the current pixel selection using Content-Aware Fill.
Users often say: remove distraction, erase object, content aware fill, inpaint selection.
Use when: a rectangular or other selection covers the area to remove/replace. Do NOT use when: no selection exists — use photoshop_select_rectangle first. Do NOT use when: generative remove is requested — not scriptable; use this fill or manual touch-up.
Returns: JSON { ok, summary, details: { filled } }. Preconditions: active document and active pixel selection. Side effects: modifies pixels inside selection; deselects afterward.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | Photoshop document id from photoshop_get_state / photoshop_list_documents. Send null or 0 to use the active document. A positive number activates that document before the tool runs. When no document is open, a stale id does not block the call. |