library_images
Retrieve indexed image references for an AI image card template, enabling preview with image_view and selection by image_index for application.
Instructions
一张 AI 图片卡片(kind=ai_image)的整组结果图 image_ref,按 image_index 编号;用 image_view 看图,应用时用 library_apply 的 image_index 选择。template_id 须来自本会话的 library_list / library_search。
返回里的图片、视频、音频给的是短引用(*_ref / *_refs,如 img:12、video:3),交给 image_view:图片直接显示,视频和音频返回原地址;引用在 MCP 服务这次运行期间有效。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | No | 官方 list_instances 返回的 instance_id,与 project_path 二选一。 | |
| template_id | Yes | library_list / library_search 返回的 template_id。 | |
| project_path | No | 目标工程的绝对路径。与 instance_id 二选一;只开了一个工程窗口时都可省略。 |