Skip to content

Type Alias: ApprovalGate

ApprovalGate = boolean | OneOrMany<string> | string

A URL-pattern gate for per-tool approval. true gates every call; a pattern (or list of patterns, in the OneOrMany shape used across the repo) gates only calls whose URL matches. Patterns use the same glob syntax as the allow-list (see allowlist.ts). Omit / false for no approval. Normalized to an ApprovalPolicy before use.