capcut_add_mask
Add a shape mask to a CapCut draft segment using split/linear, filmstrip/mirror, circle, rectangle, heart, or stars, with feather, invert/reverse, rotation, and corner options.
Instructions
Add a shape mask (split/linear, filmstrip/mirror, circle, rectangle, heart, stars) with feather, invert/reverse, and roundCorner.
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>",
"slug": "<slug>"
},
"name": "capcut_add_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | fraction of canvas height e.g. 0.5 | |
| slug | Yes | split, filmstrip, circle, rectangle, heart, stars (or aliases linear, mirror, star) | |
| draft | Yes | ||
| invert | No | reverse mask | |
| centerX | No | -1..1 | |
| centerY | No | -1..1 | |
| feather | No | 0..100 | |
| rotation | No | degrees | |
| rectWidth | No | rectangle width fraction 0..1 | |
| segmentId | Yes | ||
| roundCorner | No | rectangle corner radius 0..100 |