previewSopFile
Preview the image of an abnormal annotation point from an SOP file. Provide the record ID obtained from queryAbnormalDrawingList.
Instructions
预览 SOP 文件异常标注点图片。调用本工具前应先调用 queryAbnormalDrawingList 查询 SOP 异常图纸/异常标注点列表,并让用户选择要查看的记录 id。本工具会访问 /attachment/getMapById,根据返回实体中的文件路径字段拼接前端可访问的图片 URL。
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": {
"id": "<id>"
},
"name": "previewSopFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 异常图纸/异常标注点记录ID,必须来自 queryAbnormalDrawingList 返回记录的 id。 |