set_frame_duration
Adjusts the display time of an animation frame by setting its duration in milliseconds. Specify the file, frame index, and duration to control playback timing.
Instructions
Set one animation frame duration in milliseconds.
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": {
"filename": "<filename>",
"frame_index": "<frame_index>",
"duration_ms": "<duration_ms>"
},
"name": "set_frame_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| duration_ms | Yes | ||
| frame_index | Yes |