Skip to content

API Reference


API Reference / PolicyOptions

Interface: PolicyOptions

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

Properties

scopes?

optional scopes?: AgentScope[]

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


writesEnabled?

optional writesEnabled?: boolean

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

Overrides the DHANHQ_MCP_ENABLE_WRITES / LIVE_TRADING env gate. Set explicitly only where the caller owns the confirmation flow itself.

Community project — not affiliated with Dhan. MIT License.