Skip to main content

TenantToolset

@forge/monorepo


@forge/monorepo / backend/src / TenantToolset

Type Alias: TenantToolset

TenantToolset = object

Defined in: backend/src/tools/registry.ts:123

What a tenant has switched on — REQ-045 (#204), task #210, AC-4.

Authorization answers may this principal use this tool. Nothing answered does this tenant want it at all, and without the second question a catalogue is only ever as small as its largest customer: every tenant pays the context cost of every integration anybody wired.

Categories rather than names, deliberately. A tenant switching off communication should not have to name five Slack tools and then miss the sixth when it ships.

Properties

disabledCategories?

readonly optional disabledCategories?: readonly string[]

Defined in: backend/src/tools/registry.ts:127

A deny-list, applied after any allow-list.


enabledCategories?

readonly optional enabledCategories?: readonly string[]

Defined in: backend/src/tools/registry.ts:125

An allow-list. Present means only these categories, which is the safer shape for a tenant opting in.