freecad_set_expression
Bind an object property to a spreadsheet cell or expression to enable parametric control, so model dimensions update from formulas.
Instructions
Bind an object property to a spreadsheet cell or expression for parametric control (e.g., Box.Length = Spreadsheet.Width)
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": {
"objectName": "<objectName>",
"property": "<property>",
"expression": "<expression>"
},
"name": "freecad_set_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property | Yes | Property name (e.g., "Length", "Height", "Radius") | |
| expression | Yes | Expression string (e.g., "Spreadsheet.Width", "Spreadsheet.Width * 2") | |
| objectName | Yes | Name of the target object |