set_frame_duration
Set the duration of an animation frame in milliseconds to control playback timing, such as 125ms for walks or 80-200ms for attacks.
Instructions
Set the duration of a specific frame. Lentera walk=125ms (8fps), attack varies per frame.
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": {
"frame_number": "<frame_number>",
"duration_ms": "<duration_ms>"
},
"name": "set_frame_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration_ms | Yes | Duration in ms. Walk: 125ms. Attack strike: 150-200ms. Attack others: 80-100ms. | |
| frame_number | Yes | Frame number (1-based) |