CommitKeystrokeTool

Sends one named key event (down+up) to the currently bound InputConnection via InputMethodServiceHolder. Requires the droid-mcp IME to be active with an editor focused, else imeNotActiveError. key is looked up case-insensitively in KEY_MAP; unknown keys return an error listing the valid set. Output on success: success (true) and the echoed key.

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard
object Companion

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