capcut_set_text_style
Update font, size, color, alignment, spacing, stroke, shadow, or background box on an existing CapCut text segment by specifying its draft and segment ID.
Instructions
Update rich styling (text, font, size, color, bold, italic, stroke, shadow, bg box, curve, alignment, spacing) on an existing text segment.
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": {
"draft": "<draft>",
"segmentId": "<segmentId>"
},
"name": "capcut_set_text_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | ||
| text | No | ||
| alpha | No | ||
| color | No | ||
| curve | No | curved text angle (-360..360, 0=off) | |
| draft | Yes | ||
| italic | No | ||
| bgAlpha | No | ||
| bgColor | No | ||
| opacity | No | ||
| fontName | No | ||
| fontSize | No | ||
| alignment | No | ||
| hasShadow | No | ||
| segmentId | Yes | ||
| underline | No | ||
| borderColor | No | ||
| borderWidth | No | ||
| lineSpacing | No | ||
| shadowAlpha | No | ||
| shadowColor | No | ||
| bgRoundRadius | No | ||
| letterSpacing | No | ||
| shadowDistance | No |