open_lens
Open a .len lens file as a working copy to return its surfaces, materials, units, wavelengths, and fields for optical data review and editing in CODE V MCP.
Instructions
打开一个 .len 镜头文件的工作副本,并返回其表面、材料、单位、波长与视场。
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": {
"path": "<path>"
},
"name": "open_lens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File the working copy was opened from. | |
| title | No | ||
| units | Yes | ||
| fields | No | ||
| source | Yes | ||
| aperture | No | ||
| surfaces | Yes | ||
| warnings | No | ||
| raw_listing | No | Verbatim surface listing the values were parsed from. | |
| wavelengths | No | ||
| stop_surface | Yes | ||
| zoom_position | No | ||
| aperture_usage | No | unknown | |
| dimension_code | Yes | Raw CODE V GetDimension value: 0 inch, 1 cm, 2 mm. | |
| zoom_positions | No |