build_selection_page
Generate an offline, single-file photo selection webpage from scan records with inline data and relative thumbnails, so users can review and pick experiment photos.
Instructions
根据扫描记录生成单文件勾选网页(数据内联,缩略图走相对 thumbs/ 路径)。
:param records: scan_photos 返回的 records 列表。
:param html_path: 输出 HTML 路径;缩略图需放在同目录 thumbs/ 下。
:param experiment: 实验名,预填到网页并随清单导出。
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": {
"records": "<records>",
"html_path": "<html_path>"
},
"name": "build_selection_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | 实验照片挑选台 | |
| records | Yes | ||
| html_path | Yes | ||
| experiment | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |