set_setting
Change one system setting, as a person would in the phone's Settings screen. The app sees it through Appearance (dark_mode), PixelRatio.getFontScale (font_size), AccessibilityInfo (bold_text, reduce_motion), I18nManager (rtl) and Intl (language). Setting language to ar turns rtl on; en and fr turn it off. Fails with unknown_setting for a key that does not exist and bad_value for a value it does not take. Logged in device_log as simulated.
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": {
"session": "<session>",
"key": "<key>",
"value": "<value>"
},
"name": "set_setting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | dark_mode, font_size, bold_text, reduce_motion, language or rtl | |
| value | Yes | true or false for switches; small, default, large or largest for font_size; en, fr or ar for language | |
| session | Yes | Session from open_app |