execute_python_script
Run custom Python scripts to automate 3D modeling and CAD operations in FreeCAD. Execute geometry creation, boolean operations, and document management programmatically.
Instructions
Execute a custom Python script in FreeCAD
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": "execute_python_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | Python script to execute in FreeCAD context |