capcut_add_text
Add a text overlay to a CapCut draft using a template with a text layer. Specify text, position, color, duration, and timing.
Instructions
Add a text overlay. Requires a text template (a draft with a text layer; see CAPCUT_TEMPLATE_DRAFT).
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>",
"text": "<text>"
},
"name": "capcut_add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posX | No | ||
| posY | No | ||
| text | Yes | ||
| atSec | No | omit to append right after the last text on the target track | |
| color | No | hex e.g. #ffffff | |
| draft | Yes | ||
| durSec | No | ||
| fontSize | No | ||
| trackIndex | No |