Set Preference
system_preferences_setSet a writable AutoCAD system preference by key and value. Returns old, new, and changed status, rejecting invalid keys, types, or out-of-range values.
Instructions
Write one preference and report old, new and changed.
Refusals, all before any write: a read-only key (Files.*), an unknown
key, a value of the wrong type, an int outside the authored range
(AutoSaveInterval 0–600 min, CursorSize 1–100, PickBoxSize 0–50, …),
an unknown SaveAsType name; headless, capability: "preferences".
Pack: settings · lean: no.
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": {
"key": "<key>",
"value": "<value>"
},
"name": "system_preferences_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | A writable key from system_preferences_get | |
| value | Yes | New value: bool, int within the key's range, string, or an enum name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||