FilesTools

object FilesTools

Provider for the sandboxed file tools (BrowseFilesTool, ReadFileTool, SearchFilesTool). All paths are confined to external storage by PathValidator.

Functions

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

All file 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.