ListNotificationWatchesTool

Lists currently-active watches from WatchRegistry.list, with each entry's TTL countdown (expires_in_seconds, floored at 0) and how many times it has fired so far. Expired watches are swept from the registry before the list is built, so this never returns a watch whose TTL has already elapsed. No preconditions — always succeeds, even with an empty registry.

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