photoshop_content_aware_fill
Fill a pixel selection with Content-Aware Fill to remove distractions or erase unwanted objects from the active document. Select the area first, then run this tool to replace it with matching content.
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 | No | Optional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool activates that document before running so a UI tab switch cannot retarget the edit. |