set_frame
Sets the active animation frame in an Aseprite file by one-based index to preview or edit a specific frame.
Instructions
Set the active animation frame by one-based index.
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>"
},
"name": "set_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| frame_index | Yes |