capcut_add_shape
Add PNG shapes, backgrounds, gradients, grids, shadows, letterboxes, waves, or curved lines to a CapCut draft timeline at a specified time.
Instructions
Generate a crisp PNG shape/background/gradient/grid/shadow/letterbox/wave/curved_line into the draft and place it on the timeline.
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>",
"shape": "<shape>",
"atSec": "<atSec>"
},
"name": "capcut_add_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posX | No | ||
| posY | No | ||
| atSec | Yes | ||
| color | No | hex e.g. #FFFFFF or #333333 | |
| draft | Yes | ||
| scale | No | ||
| shape | Yes | ||
| width | No | ||
| durSec | No | ||
| height | No | ||
| points | No | control points [[x,y], ...] for curved_line/line (2=line, 3=quadratic, 4=cubic Bezier) | |
| opacity | No | ||
| colorEnd | No | gradient end hex e.g. #0033AA | |
| rotation | No | ||
| fillAlpha | No | 0..1 fill alpha | |
| trackIndex | No | ||
| gridSpacing | No | grid cell spacing in px | |
| strokeColor | No | hex stroke/line color | |
| strokeWidth | No | stroke/line thickness in px | |
| cornerRadius | No | rounded rectangle corner radius in px | |
| gradientAngle | No | gradient angle in degrees (default 135) | |
| trackRenderIndex | No |