Type Alias: PreviewGenerator
type PreviewGenerator = (toolName, input) => string | undefined;
Defined in: permissions/types.ts:157
Preview generator for permission requests
Parameters
| Parameter | Type | Description |
|---|---|---|
toolName | string | Name of the tool |
input | Record<string, unknown> | Tool input arguments |
Returns
string | undefined
Human-readable preview of the operation