capcut_apply_mask
Apply circle, rectangle, linear, mirror, heart, or star masks to CapCut video clips; set feather, rotation, size, and invert to control visible areas and create targeted edits.
Instructions
Apply a video shape mask (circle, rectangle, linear, mirror, heart, star) with feather and inversion.
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>",
"maskType": "<maskType>"
},
"name": "capcut_apply_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | ||
| width | No | mask width (0.0 to 1.0, default: 0.5) | |
| height | No | mask height (0.0 to 1.0, default: 0.5) | |
| invert | No | invert mask (cut out inside vs outside) | |
| centerX | No | center X position (-1.0 to 1.0, default: 0.0) | |
| centerY | No | center Y position (-1.0 to 1.0, default: 0.0) | |
| feather | No | edge feather/softness (0.0 to 1.0) | |
| maskType | Yes | mask shape | |
| rotation | No | rotation degrees (0-360) | |
| segmentId | Yes | target clip segment ID | |
| roundCorner | No | corner roundness for rectangle (0.0 to 1.0) |