resize_image_for_platform
Resize and crop an image to specific social media aspect ratios for Instagram, LinkedIn, TikTok, and Twitter, ensuring correctly formatted posts and banners.
Instructions
Resize and re-crop an image for specific social media aspect ratios.
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": {
"imageUrl": "<imageUrl>",
"platform": "<platform>"
},
"name": "resize_image_for_platform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageUrl | Yes | Source image URL. | |
| platform | Yes | Target platform aspect ratio. |