Run Analysis
zemax_run_analysisRun any ZOS-API analysis by name in Ansys Zemax OpticStudio and return sample results for inspection.
Instructions
Run an arbitrary AnalysisIDM by name and extract sample results.
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": {
"analysisType": "<analysisType>"
},
"name": "zemax_run_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysisType | Yes | ZOSAPI AnalysisIDM member |