Hammer
zemax_hammerRun native Hammer optimization to automatically refine optical systems in Ansys Zemax OpticStudio.
Instructions
Run native Hammer optimization.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "zemax_hammer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cores | No | 0 uses all cores | |
| algorithm | No | DLS or Orthogonal | DLS |
| automatic | No | Use automatic mode | |
| timeoutSeconds | No | Hard timeout | |
| targetRuntimeMinutes | No | Automatic target runtime |