set_frame_duration
Set how long selected frames display in milliseconds in a sprite file, controlling animation timing.
Instructions
Set how long frames are shown, 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": {
"path": "<path>",
"duration_ms": "<duration_ms>"
},
"name": "set_frame_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Sprite file. Relative paths resolve against the server root. | |
| frames | No | Frames: a number, "1-4", "1-4,7" or "all" (1-based) | all |
| duration_ms | Yes | Frame duration in milliseconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||