fusion_create_mask
Creates rectangle, ellipse, polygon, or bspline masks and optionally attaches the result as an EffectMask on a Fusion node.
Instructions
Create a mask (rectangle, ellipse, polygon, bspline) and optionally attach it as EffectMask of a node.
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": {
"shape": "<shape>"
},
"name": "fusion_create_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | MCP_Mask | |
| shape | Yes | ||
| width | No | ||
| center | No | ||
| height | No | ||
| invert | No | ||
| itemId | No | Timeline item unique id (from timeline_get_clips) | |
| source | No | item | |
| applyTo | No | ||
| softEdge | No | ||
| timeline | No | Timeline name or id (default: current timeline) | |
| compIndex | No | ||
| itemIndex | No | 1-based position of the clip on the track (transitions are not counted) | |
| trackType | No | video | |
| trackIndex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True only when DaVinci Resolve confirmed the operation. | |
| data | No | ||
| tool | Yes | ||
| error | No | ||
| source | No | Where the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone. | |
| status | Yes | ||
| message | Yes | ||
| warnings | Yes |