crosspad_settings_set
Updates a single CrossPad simulator setting by key/value and returns its new value; use it for targeted configuration changes while the simulator is running.
Instructions
[PC sim] Write one setting on the running PC simulator by key and return the key and the value it now holds. The key is a flat name or a dotted category.field; use crosspad_settings_get to discover valid keys. It fails when the simulator is not running.
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": "crosspad_settings_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Setting key. Either a flat name ('lcd_brightness') or dotted category.field ('keypad.eco_mode', 'vibration.enable'). Use crosspad_settings_get to discover valid keys. | |
| port | No | Simulator control port (default: CROSSPAD_REMOTE_PORT of this server, else 19840). Needed to address a second instance. | |
| value | Yes | The value, matching the field's type in the CrosspadSettings schema: a number, or true/false for a bool field (encoded as 1/0 on the wire for you). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| docs | No | ||
| next | No | ||
| error | No | ||
| value | No | ||
| notice | No | ||
| success | Yes |