CancelVibrationTool

Stops any ongoing vibration started by this app (e.g. a looping vibrate_pattern with repeat >= 0) via android.os.Vibrator.cancel, and clears the pending auto-cancel from RepeatingVibrationWatchdog. Only affects this app's own vibrations. Requires VIBRATE.

Output key on success: success (true). Errors if the device has no vibrator.

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 outputSchema: Map<String, Any>
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