freecad mcp

MIT License
39
  • Apple
  • Linux

execute_code

Execute arbitrary Python code in FreeCAD.

Args: code: The Python code to execute. Returns: A message indicating the success or failure of the code execution and a screenshot of the object.

Input Schema

NameRequiredDescriptionDefault
codeYes

Input Schema (JSON Schema)

{ "properties": { "code": { "title": "Code", "type": "string" } }, "required": [ "code" ], "title": "execute_codeArguments", "type": "object" }