pcb_generate_em_simulation
Generate a standalone OpenEMS FDTD simulation script for a selected simulation candidate from the PCB design, enabling electromagnetic field analysis.
Instructions
Generate a standalone OpenEMS FDTD simulation script for a specific simulation candidate extracted from the design. Use pcb_extract_simulation_candidates first to get available candidates.
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": {
"session_id": "<session_id>"
},
"name": "pcb_generate_em_simulation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID from pcb_parse_layout | |
| candidate_index | No | Index of candidate from pcb_extract_simulation_candidates (default 0) |