Package-level declarations
Types
Provider for the Downloads-directory tools (ListDownloadsTool, SearchDownloadsTool).
Lists files (directories excluded) in the public Downloads directory, sortable by date (default), name, or size via the sort_by param. Requires READ_EXTERNAL_STORAGE on API ≤32; uses File API access on API 33+. Output: files (each {name, size_bytes, last_modified, extension}) capped at the limit param, plus count, sort_by, and directory.
Searches the public Downloads directory (top level only, files excluding directories) for filenames containing a case-insensitive substring, sorted newest-first. Requires READ_EXTERNAL_STORAGE on API ≤32; uses File API access on API 33+. Output: files (each {name, size_bytes, last_modified, extension}) capped at the limit param, plus count and query.