set_expression
Change an expression parameter and update the NX model by supplying either a numeric value or a formula string.
Instructions
Change an expression (parameter) and update the model. Give either a numeric value or a formula string.
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": {
"name": "<name>"
},
"name": "set_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Expression name, e.g. "p0". | |
| value | No | New numeric value (mm or degrees). | |
| formula | No | New right-hand side, e.g. "p1*2". |