copy_frame_and_modify
Duplicate a frame and apply cell modifications in one operation to build animation sequences efficiently.
Instructions
Duplicate a frame and apply modifications in a single operation. Efficient for creating animation sequences.
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": {
"sourceIndex": "<sourceIndex>",
"modifications": "<modifications>"
},
"name": "copy_frame_and_modify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceIndex | Yes | Index of frame to copy | |
| modifications | Yes | Cell modifications to apply to the new frame | |
| insertAtIndex | No | Where to insert the new frame (defaults to after source) | |
| name | No | Name for the new frame | |
| duration | No | Duration for the new frame |