ScreenshotTools

Provider for the screenshot tool (CaptureScreenTool).

Screen capture relies on MediaProjection consent obtained by the host Activity and registered via MediaProjectionHolder, not on runtime permissions.

Functions

Link copied to clipboard
fun all(context: Context): List<McpTool>

Instantiates the screenshot tool bound to context.

Link copied to clipboard

Always true; capture readiness depends on MediaProjectionHolder, not permissions.

Link copied to clipboard

No runtime permissions: MediaProjection consent is handled by the host Activity (see MediaProjectionHolder).