Check a file against platform specs
check_platform_specGrades a local video against platform upload specs for Instagram, TikTok, YouTube, X, and LinkedIn, then reports failures with concrete fixes.
Instructions
Grade a video against one or more platforms' upload guidelines (Instagram Reels/feed, TikTok, YouTube Shorts/long-form, X, LinkedIn). Checks container, codec, pixel format, HDR, aspect ratio, resolution, frame rate, duration, size, bitrate, audio, fast start and GPS metadata, and gives a fix for anything that fails.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "check_platform_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a local media file. ~ is expanded. | |
| platforms | No | Platforms to check: instagram_reels, instagram_feed, tiktok, youtube_shorts, youtube, x, linkedin | |
| custom_spec | No | Override parts of the platform spec, e.g. { max_duration_seconds: 900 } if your account allows longer uploads. |