DownloadsTools

Provider for the Downloads-directory tools (ListDownloadsTool, SearchDownloadsTool).

Functions

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

All downloads tools, bound to context.

Link copied to clipboard

Whether requiredPermissions are currently granted.

Link copied to clipboard

READ_EXTERNAL_STORAGE on API ≤32; empty on API 33+ where File API access needs no media permission.