Validate Platform Publish Package
validate_platform_publish_packageValidate rendered video package against a platform's publish limits before posting; returns hard violations, soft warnings, normalized hashtags, character counts, and runs locally without uploads.
Instructions
Validate a rendered file plus title, description, hashtags, and content flags against one platform's approximate 2026 publish limits. Returns hard violations, soft warnings, normalized hashtags, and character counts. Local-only; never uploads or changes Premiere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Post or video title. | |
| width | Yes | Rendered frame width in pixels. | |
| height | Yes | Rendered frame height in pixels. | |
| hashtags | No | Hashtags to publish with the post. | |
| platform | Yes | Target platform id. | |
| container | No | Container extension such as mp4 or mov. | |
| frame_rate | Yes | Rendered frame rate in frames per second. | |
| audio_codec | No | Audio codec name such as AAC. | |
| description | No | Post caption or description body. | |
| video_codec | No | Video codec name such as H.264. | |
| has_captions | No | Whether captions are burned in or attached. | |
| content_flags | No | Disclosure flags that trigger platform label reminders. | |
| file_size_bytes | No | Rendered file size in bytes. | |
| duration_seconds | Yes | Rendered file duration in seconds. | |
| 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. |