Skip to content

API Reference


API Reference / ToolRisk

Type Alias: ToolRisk

ToolRisk = "read_only" | "trade_adjacent_read" | "live_write" | "destructive_write"

Defined in: src/agent/Policy.ts:28

How much damage a tool can do.

Anything ending in write goes through Policy.requireWrite and so needs the live-trading gate open, not just the scope.

Community project — not affiliated with Dhan. MIT License.