add_preference
Adds a new user preference with specified name, value, and type to an Android app via the Android Preference Editor MCP Server. Requires device ID, app package name, and filename for precise configuration during development.
Instructions
Adds a new preference given the name, value and type.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
appId | Yes | The application's package name. | |
deviceId | Yes | The device's serial number. | |
filename | Yes | The filename with or without the extension. | |
name | Yes | The name/key of the user preference | |
type | Yes | The type of the preference value: integer, boolean, float, double, long or string | |
value | Yes | The value of user preference |