Check a photo or video
check_mediaCheck one public photo or video link against each platform's limits before posting or sending it: format, file size, dimensions, aspect ratio and video length. targets: instagram, instagram_story, linkedin, facebook, facebook_reel, tiktok, whatsapp, instagram_dm, messenger, linkedin_dm. For each target the answer says ok, will_be_changed (Spaces fits photos it sends itself: compressed, converted to JPEG or padded, never cropped) or refused, with the error code (media_too_large, bad_aspect_ratio, unsupported_format, video_too_long, video_too_short, image_too_small), the limit and the actual value. Videos are never changed. Posts nothing and counts nothing.
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": {
"url": "<url>",
"targets": "<targets>"
},
"name": "check_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| targets | Yes |