photoshop_guard_cycle_auto
Execute a bounded Photoshop drawing or refinement pass with validation and review handling, keeping each painting cycle focused on one verifiable visual change.
Instructions
When the user requests PaintPilot Photoshop/MCP drawing or forbids imagegen/image_gen, use only the connected PaintPilot Photoshop MCP tools for that task. Start with photoshop_get_state to establish the document, or photoshop_guard_resume for an interrupted run; reuse an already confirmed target. Draw through photoshop_guard_cycle_auto. If the intended open document is inactive, discover photoshop_set_active_document via photoshop_guard_capabilities(tool_names) even when no standalone tool appears. With explicit authorization to switch focus, activate its exact document_id through photoshop_guard_cycle_auto, then verify photoshop_get_state before painting. Without focus permission ask permission to activate through MCP, not for a manual tab click. Never switch silently or remove document_id pinning. A decision-loop stall is advisory, not a mutation blocker: dispatch the next meaningful visual pass or one bounded diagnostic. Do not call built-in/external image generation, even for a reference, preview or fallback. If the selected tools are unavailable, report the exact blocker and stop; only an explicit later user change authorizes another execution mode. Run one bounded semantic pass, not an entire artistic stage, in local Photoshop; keep this route unless the user explicitly changes execution mode. After inspecting exact review images, send previous_operation_id + previous_observation (critic_review at its checkpoint) with optional next_pass; fetch missing images via photoshop_guard_review_image and poll returned job_id via photoshop_guard_job_poll.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next_pass | No | ||
| painting_intent | No | Compact artistic input for first construction and continuation. | |
| protocol_version | No | Compact Guard protocol revision. | photoshop.guard.compact.v2 |
| review_operation_id | No | Exact current visual operation already reviewed/closed. | |
| previous_observation | No | Compact visual closure. | |
| previous_operation_id | No |