photoshop_select_subject
Create a precise pixel selection around the main subject in the active layer. Use to isolate people or objects for masking, fill, or further edits.
Instructions
Run Select Subject on the active layer (creates a pixel selection only, no mask).
Users often say: cut out, isolate subject, select person, select object.
Use when: you need a subject selection for masking, fill, or further edits. Do NOT use when: full background removal with mask — use photoshop_recipe_remove_background.
Returns: JSON { ok, summary, details: { selected, method } }. Preconditions: PS ≥ 23, active document, non-Background active layer with a recognizable subject. Side effects: replaces current selection.
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. | |
| sample_all_layers | No | Sample all layers for autoCutout fallback (default false) |