Function: createPrefixGroupBuilder()
ts
function createPrefixGroupBuilder(id, options?): PrefixGroupBuilder;Defined in: builders/create-prefix-group-builder.ts:21
Creates a fluent PrefixGroupBuilder for P.prefixGroup(id).
Defaults toolsMode to 'role-scoped' and accumulates sharedGrounding, sharedInstructions, and sharedRules in declaration order.
Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | Unique identifier of the prefix group. |
options? | CreatePrefixGroupBuilderState | Optional internal copy-on-write state. |
Returns
Frozen PrefixGroupBuilder instance.