Get one social media placement spec
get_social_media_placementLook up a social media placement by ID to get its frame size, aspect ratio, safe-area insets, usable box, source, and a centre-crop or letterbox fit plan for your footage.
Instructions
Look up one social media placement by id and return its frame size, aspect ratio, first-party safe-area insets in px, usable box, and the official page the figures came from. Pass sourceWidth and sourceHeight together to also get the centre-crop and letterbox plan that fits your footage to this placement. Use this when you know the target placement; use list_social_media_placements to browse or compare placements, check_safe_area to test whether an element is clear of the platform UI, and calculate_aspect_ratio for a ratio that is not a platform placement. For TikTok the insets are null with a reason, because TikTok publishes no fixed safe area. Errors on an unknown id (the message lists valid ids) or on only one source dimension.
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": {
"id": "<id>"
},
"name": "get_social_media_placement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Placement id, e.g. instagram-reels, tiktok-video or youtube-shorts. | |
| sourceWidth | No | Width of your source footage in px. Requires sourceHeight. | |
| sourceHeight | No | Height of your source footage in px. Requires sourceWidth. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| fit | Yes | ||
| kind | Yes | ||
| size | Yes | ||
| label | Yes | ||
| ratio | Yes | ||
| platform | Yes | ||
| usableBoxPx | Yes | ||
| safeAreaKind | Yes | ||
| usableSharePct | Yes | ||
| referenceToolUrl | Yes | ||
| safeAreaInsetsPx | Yes | ||
| unpublishedReason | Yes | ||
| firstPartySourceUrl | Yes |