Optics Lens Design
optics_lens_designRun first-order and spot analysis on sequential optical systems to compute EFL, BFL, F-number, and RMS spot size, with clear degradation when the optics extra is unavailable.
Instructions
First-order + spot analysis of a SEQUENTIAL optical system with optiland
(MIT, in-process). Requires the optics extra; degrades to {ok:false, reason,
install} otherwise. For a single lens optiland is gated against the analytic
thick-lens oracle (oracle_dev_pct).
surfaces: list (object->image) of {radius, thickness, material, stop?} — exactly
one surface must set stop:true (the aperture stop). epd (entrance-pupil dia)
OR fno. wavelengths_um (first is primary, default [0.5876]). field_angles_deg
(default [0.0]). image_solve solves the last gap to paraxial focus.
Returns the degradation dict, or {ok, backend:'optiland', optiland_version, efl_mm, bfl_mm, fno, n_surfaces, rms_spot_um:[per field], oracle_efl_mm, oracle_dev_pct}.
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": {
"surfaces": "<surfaces>"
},
"name": "optics_lens_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epd | No | ||
| fno | No | ||
| surfaces | Yes | ||
| want_spot | No | ||
| workspace | No | Run this call in this named workspace | |
| image_solve | No | ||
| wavelengths_um | No | ||
| field_angles_deg | No |