Connect To Aedt
connect_to_aedtConnects to an existing Ansys Electronics Desktop (AEDT) instance via gRPC, letting you specify port, machine, version, project, or design for automation.
Instructions
Connect to an existing AEDT instance via gRPC.
This tool establishes a connection to a running AEDT instance using gRPC.
The AEDT instance must be started with a gRPC server enabled:
ansysedt.exe -grpcsrv <port>
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": "connect_to_aedt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | gRPC port where AEDT is listening. If ``None``, the tool can auto-select a discovered local gRPC session or fall back to 50051. | |
| machine | No | Machine hostname or IP address where AEDT is running. | localhost |
| version | No | AEDT version to connect to. If ``None``, the tool automatically detects the version. | |
| design_name | No | Design name to attach directly to a PyAEDT application session. If ``None``, the connection remains at the AEDT level. | |
| project_name | No | Project name to activate when connecting directly to a design. | |
| non_graphical | No | Whether AEDT is running in non-graphical mode. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |