Skip to content

DynamicRegistrationBindingOptions

Defined in: packages/next/src/index.ts:113

optional tenantId?: string | ((req) => string | Promise<string>)

Defined in: packages/next/src/index.ts:124

Optional multi-tenant owner key to persist with the platform (e.g. an org id), static or derived from the request — e.g. read + verify a signed query param. Throwing from the function rejects the registration with a 400.


tool: RegistrationTool | ((req) => RegistrationTool)

Defined in: packages/next/src/index.ts:118

The tool descriptor to register — either static, or derived from the incoming request (e.g. to build absolute URLs from the request host).