ReplyToNotificationTool

Sends text through a notification's RemoteInput reply action, looked up by key in NotificationStore.findRepliable (populate via ListRepliableNotificationsTool). Requires the listener service bound and notification listener access granted. The reply is delivered by firing the action's PendingIntent with the text packed via RemoteInput.addResultsToIntent — success means the PendingIntent fired without throwing, not that the receiving app confirmed delivery. Output on success: success (true), package_name, and the resolved action_label.

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