native_create_variable
Create a native length, angle, or number variable with units for parametric Shapr3D modeling and scripted edits.
Instructions
Create a native length, angle, or number variable. Include units, e.g. 3 mm or 12 deg. Evaluated lengths are meters and angles are radians.
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>",
"expression": "<expression>"
},
"name": "native_create_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | length | |
| name | Yes | ||
| expression | Yes |