spine_preview_set_session
Sets the preview session state for WinForms or browser layers, enabling automatic awareness of current JSON, atlas, animation, and operation instructions for agent-driven workflows.
Instructions
设置 Agent 驱动的预览会话状态,让 WinForms 或浏览器预览层自动知道当前 JSON、atlas、动画和操作说明。只写会话状态,不写 Spine JSON。
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": "spine_preview_set_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | 工作区根目录内的 Spine JSON 文件路径。 | |
| atlasPath | No | 工作区根目录内的 Spine atlas 文件路径。 | |
| animation | No | ||
| skin | No | ||
| speed | No | ||
| premultipliedAlpha | No | ||
| mipmaps | No | ||
| autoload | No | ||
| operation | No | 当前 Agent 操作说明,例如 title/status/detail/toolName/dryRun。 | |
| log | No | 可选追加一条控制台日志,字段为 level/message/toolName。 |