PutGlobalSettingTool

settings put global <key> <value> — write a Settings.Global value (e.g. airplane_mode_on, wifi_on). Idempotent. Delegates to putSetting; treated as failure on non-zero exit or non-empty stderr.

Privilege: requires a working ShellBackend.

Params: key (required), value (required).

On success the result map carries success (true), namespace ("global"), key, and value.

Constructors

Link copied to clipboard
constructor(shell: ShellBackend)

Properties

Link copied to clipboard
open override val annotations: ToolAnnotations
Link copied to clipboard
open override val description: String
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val parameters: List<ToolParameter>

Functions

Link copied to clipboard
open suspend override fun execute(params: Map<String, Any>): ToolResult