optimize_for_platform
Optimize an existing image for YouTube, Instagram, Twitter, Facebook, or blog by adjusting to platform-specific requirements and content type.
Instructions
Optimize an existing image for a specific platform.
Args: image_data: Base64 encoded image data target_platform: Target platform (youtube, instagram, twitter, facebook, blog) content_type: Type of content (e.g., tutorial, entertainment, news) optimization_focus: Areas to focus optimization on
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": {
"image_data": "<image_data>",
"target_platform": "<target_platform>"
},
"name": "optimize_for_platform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_data | Yes | ||
| content_type | No | ||
| target_platform | Yes | ||
| optimization_focus | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |