Get Merit Function
zemax_get_merit_functionRetrieve merit-function operands and optional calculated values to inspect optimization targets in Ansys Zemax OpticStudio.
Instructions
Retrieve merit-function operands and optional calculated values.
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_get_merit_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endRow | No | Last row; 0 means all | |
| startRow | No | First row | |
| includeValues | No | Calculate operand values |