connect_to_mechanical
Connect to ANSYS Mechanical via gRPC using the port reported by Workbench for the current session, enabling AI-driven simulation tasks.
Instructions
Connect to ANSYS Mechanical via gRPC. Args: port: gRPC port reported by Workbench (changes every session)
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": {
"port": "<port>"
},
"name": "connect_to_mechanical"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |