Get System Variable
system_get_variableGet the current value of an AutoCAD system variable by name, enabling scripts to read drawing settings like DIMSCALE or LTSCALE for precise automation.
Instructions
Get an AutoCAD system variable value.
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": "system_get_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | System variable name (e.g. DIMSCALE, LTSCALE, INSUNITS, CLAYER, MEASUREMENT) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||