add_frame
Insert a new frame into an ASCII animation at a specified index, with options to set duration and copy content from another frame.
Instructions
Add a new frame to the animation
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atIndex | No | Index to insert at (defaults to end) | |
| duration | No | Frame duration in ms (default: 100) | |
| copyFromIndex | No | Copy content from this frame index | |
| name | No | Frame name |