spine_make_loop
Copies keyframes from a source time to a target time to create a seamless loop in a Spine animation.
Instructions
把 sourceTime 的已有关键帧复制到 targetTime,用于让循环动画首尾闭合。
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": {
"filePath": "<filePath>",
"animation": "<animation>",
"sourceTime": "<sourceTime>",
"targetTime": "<targetTime>"
},
"name": "spine_make_loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | 工作区根目录内的 Spine JSON 文件路径。 | |
| animation | Yes | ||
| sourceTime | Yes | ||
| targetTime | Yes | ||
| targets | No | ||
| dryRun | No | ||
| expectedHash | No | ||
| allowUnsupportedVersion | No |