Check Caption Safe Zone
check_caption_safe_zoneChecks caption, title, logo, and graphic rectangles against platform UI overlay zones for TikTok, Reels, Shorts, and other platforms, then suggests the nearest clear position.
Instructions
Check caption, title, logo, and graphic rectangles against approximate platform UI overlay zones (TikTok, Reels, Shorts, feed, YouTube, LinkedIn, X) and suggest the nearest clear position. Local-only geometry on caller-supplied normalized rects; it never reads or changes Premiere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | Yes | Output frame size in pixels; used for orientation checks and pixel readback. | |
| elements | Yes | On-screen rectangles normalized to the frame (0..1), with x,y at the top-left corner. | |
| platform | Yes | Target platform whose UI overlays are checked. | |
| expected_cep_target | No | Optional reviewed CEP sequence/clip identity and exact tick ranges. Checked before every generated command; UXP refuses this CEP-only guard. | |
| expected_project_path | No | Optional absolute saved-project path. Every generated CEP command refuses before its body when the active project differs or is unsaved. UXP commands refuse this CEP-only guard; local-only tools do not inspect Premiere. Omit to keep existing behavior. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. | |
| receipt | No | Versioned common mutation receipt; success never implies rendered verification. | |
| idempotency | No | Present when idempotency_key deduplicated this call: replayed is true when the original outcome was returned instead of running again. |