fbf_manage
Manage frame-by-frame animation on SwitchLayers by listing timelines, adding, duplicating, cloning, or deleting frames, and shifting exposure timing.
Instructions
Author Frame-by-Frame (FBF) animation on a SwitchLayer: list_timeline, add_blank_frame, duplicate_frame (new copy), clone_frame (reuse existing drawing), delete_frame, and push_frames (shift exposure timing).
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": {
"operation": "<operation>"
},
"name": "fbf_manage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional child layer name for add_blank_frame / duplicate_frame | |
| delta | No | For push_frames: positive or negative frame shift | |
| frame | No | Target frame for add/duplicate/clone/delete (defaults to current frame) | |
| layerId | No | Numeric depth-first layer ID (from layer_list) | |
| layerName | No | Exact layer name | |
| layerUuid | No | Layer UUID | |
| operation | Yes | ||
| startFrame | No | For push_frames: first frame to shift | |
| deleteLayer | No | For delete_frame: also delete child layer if no other keys reference it (default: false) | |
| sourceFrame | No | Source frame for duplicate_frame / clone_frame | |
| autoEnableFbf | No | Automatically enable IsFBFLayer flag on mutating ops (default: true) | |
| sourceChildName | No | Source child layer name for duplicate_frame / clone_frame |