Skip to content

API Reference


API Reference / isWriteTool

Function: isWriteTool()

isWriteTool(tool): boolean

Defined in: src/agent/Tool.ts:38

True when calling this tool changes account state.

Parameters

tool

Pick<Tool, "risk">

Returns

boolean

Community project — not affiliated with Dhan. MIT License.