set_units
Configure the active document's linear unit system (mm, cm, m, in, ft) and verify the change to prevent measurement errors.
Instructions
Set the active document's linear unit system.
Accepts mm, cm, m, in or ft (plus common aliases
such as inch or millimeters). The setting is applied and then
read back from the document; if the readback disagrees the tool
reports an error rather than a false success.
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": {
"input_data": "<input_data>"
},
"name": "set_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The target unit system. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||