Fit a slide
fit_slideA copy of a picture made to fit a TikTok photo post whole: 1080x1920, the picture scaled to sit below TikTok's top tabs (the top 14%), centred, on its own edge colour. It fixes what check_post reports as a slide's text under the tabs, or a slide that is not 9:16. Returns the new media_id, which replaces the original in media_ids (create_post or update_post), and its url. A slide made with its text between 14% and 65% of the height needs no fitting.
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": {
"media_id": "<media_id>"
},
"name": "fit_slide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | Yes | The slide (an image media_id). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| media_id | Yes |