GrepTool
Generated by TypeDoc. Do not edit this page directly.
Class: GrepTool
Section titled “Class: GrepTool”Defined in: packages/tools-node/src/files.ts:197
Extends
Section titled “Extends”HarnessTool<GrepInput, {matches:string[]; }>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new GrepTool(): GrepTool;Returns
Section titled “Returns”GrepTool
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”Accessors
Section titled “Accessors”inputSchema
Section titled “inputSchema”Get Signature
Section titled “Get Signature”get inputSchema(): unknown;Defined in: packages/core/src/runtime/types/tools.ts:61
Returns
Section titled “Returns”unknown
Inherited from
Section titled “Inherited from”Get Signature
Section titled “Get Signature”get type(): string;Defined in: packages/core/src/runtime/types/tools.ts:57
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”execute()
Section titled “execute()”execute(args, session): Promise<AgentToolResult<{ matches: string[];}>>;Defined in: packages/tools-node/src/files.ts:204
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | ObjectInput |
session | AgentActionSession |
Returns
Section titled “Returns”Promise<AgentToolResult<{
matches: string[];
}>>