Mojentic for Kotlin
Toggle table of contents
2.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Mojentic for Kotlin
mojentic-core
/
com.mojentic.llm.tools.files
/
ListFilesTool
List
Files
Tool
class
ListFilesTool
(
fs
:
FilesystemGateway
)
:
LlmTool
List files (non-recursive) in a sandbox-relative directory.
Members
Constructors
List
Files
Tool
Link copied to clipboard
constructor
(
fs
:
FilesystemGateway
)
Properties
description
Link copied to clipboard
open
val
description
:
String
descriptor
Link copied to clipboard
open
override
val
descriptor
:
ToolDescriptor
name
Link copied to clipboard
open
val
name
:
String
Functions
execute
Link copied to clipboard
open
suspend override
fun
execute
(
arguments
:
JsonObject
)
:
String
matches
Link copied to clipboard
open
fun
matches
(
toolName
:
String
)
:
Boolean