Skip to content

PromptScript API


Interface: StructuredMergeOperation

Defined in: formatters/src/structured-output.ts:22

A single merge operation to apply to a structured settings file.

Properties

path

path: string

Defined in: formatters/src/structured-output.ts:27

Dotted path to the target key (e.g. 'hooks.PreToolUse'). Intermediate objects are created if they do not exist.


value

value: unknown

Defined in: formatters/src/structured-output.ts:32

The value to set at the target path. When undefined, the key is removed (only if it was previously owned by PromptScript).