DeleteFileTool

Deletes a file or directory under external storage, sandboxed via PathValidator. The storage root, its top-level folders (DCIM, Download, …) and anything under Android/ are refused. A non-empty directory is only removed with recursive, and then at most MAX_RECURSIVE_ENTRIES entries. Output: path, deleted_count (files and directories removed).

Constructors

Link copied to clipboard
constructor()

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