Genkit JS API reference
    Preparing search index...

    Interface JsonPatchOperation

    A single RFC 6902 (JSON Patch) operation.

    interface JsonPatchOperation {
        from?: string;
        op: "replace" | "add" | "remove" | "copy" | "move" | "test";
        path: string;
        value?: any;
    }
    Index

    Properties

    Properties

    from?: string

    Source pointer; required for move and copy.

    op: "replace" | "add" | "remove" | "copy" | "move" | "test"
    path: string

    A JSON Pointer (RFC 6901) to the target location, e.g. "/agentStatus".

    value?: any

    New value; required for add, replace, and test.