photoshop_ping
Verify the Photoshop scripting engine can run a script. Use once at session start or after a timeout until it succeeds.
Instructions
Verify that the Photoshop scripting engine can run a script.
Use when: once at session start, and after extendscript_timeout until this call succeeds. Do NOT use when: on every tool call — after a successful ping, use photoshop_get_state. Do not call get_state or get_layers while this ping is still failing.
Returns: "Successfully connected to Photoshop" only after a short script runs inside Photoshop. While a previous script is still running, returns extendscript_timeout — retry photoshop_ping. If that timeout happens while the OS drive has under 10 GB free, returns scratch_disk_full instead: free space on the scratch disk and restart Photoshop. If Photoshop is not installed or not running, returns "Failed to connect to Photoshop" plus a second text block saying which, and does not launch the app. On macOS, Apple-event failures return photoshop_unreachable, automation_permission_denied or photoshop_app_not_resolved with the osascript error and a fix. May append a FEEDBACK_NUDGE block 15 minutes after the first successful ping, then at most once per 7 days (disabled with PSMCP_FEEDBACK=0). May append an UPDATE_AVAILABLE block when a newer photoshop-mcp release is on npm, at most once per 7 days (disabled with PSMCP_UPDATE_CHECK=0). A single ping carries at most one of these blocks. Preconditions: none. Side effects: may trigger Photoshop detection. Does not launch Photoshop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||