GetSettingsTool

class GetSettingsTool(context: Context) : McpTool

Reads a snapshot of common device settings. No permissions required.

Output keys: screen_brightness (0-255, -1 if unreadable), volume_ring, volume_media, volume_alarm, wifi_enabled, bluetooth_enabled, airplane_mode, auto_rotate.

Constructors

Link copied to clipboard
constructor(context: Context)

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