PutSystemSettingTool

settings put system <key> <value> — write a Settings.System value (e.g. screen_brightness, screen_off_timeout). 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 ("system"), 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