run_mechanical_script
Runs custom Python scripts inside the ANSYS Mechanical ACT API to automate geometry, mesh, boundary conditions, analysis solving, and report generation.
Instructions
Run custom Python script inside Mechanical ACT API. Args: script
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": {
"script": "<script>"
},
"name": "run_mechanical_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |