apollo-code / tools/src / GlobTool
Class: GlobTool
Implements
Tool<{path?:string;pattern:string; }>
Constructors
Constructor
new GlobTool():
GlobTool
Returns
GlobTool
Properties
description
readonlydescription:"Find files using a glob"='Find files using a glob'
Implementation of
inputSchema
readonlyinputSchema:never
Implementation of
name
readonlyname:"Glob"='Glob'
Implementation of
readonly
readonlyreadonly:true=true
Implementation of
Methods
invoke()
invoke(
i,c):Promise<ToolResult>
Parameters
i
path?
string
pattern
string
c
Returns
Promise<ToolResult>
Implementation of
permissionSpec()
permissionSpec(
i):PermissionSpec
Parameters
i
path?
string