Skip to main content
Dotset CLI API Documentation / tollgate / PolicyAction

Type Alias: PolicyAction

type PolicyAction = "allow" | "deny" | "prompt" | "smart";
Defined in: src/tollgate/policy/types.ts:46 Available policy actions for tool access control.
  • allow: Permit the tool call without user approval
  • deny: Block the tool call entirely
  • prompt: Ask the user for approval before proceeding
  • smart: Use content analysis to determine the appropriate action